File And Directory Information Exposure in Grav CMS - #VU171560

 

File And Directory Information Exposure in Grav CMS - #VU171560

Published: December 1, 2026


Vulnerability identifier: #VU171560
CSH Severity: Low
CVSS v4: 4.6 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-538
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to obtain a private key if it is inadvertently included in a published plugin release.

The vulnerability exists due to improper placement of a private key file in Grav's key initialization logic when a plugin's test suite runs against a Grav checkout. A remote attacker can download a plugin release containing the inadvertently committed user/config/security-private.php file to read the key.


Affected software

Grav CMS

Remediation

Install security update from vendor's website.

Grav CMS - update to 2.2.24

External References

Related Security Bulletins