๐Ÿ” CVE Alert

CVE-2026-72697

MEDIUM 6.5

Grav CMS before 2.0.16 Path Traversal via media_directory

CVSS Score
6.5
EPSS Score
0.0%
EPSS Percentile
0th

Grav CMS before 2.0.16 contains a path traversal vulnerability in the media_directory() Twig function that fails to validate filesystem paths, allowing authenticated users to enumerate and access files outside intended scope. Attackers with page authoring privileges can supply arbitrary filesystem paths to media_directory() and use the allow-listed filepath accessor on Medium objects to read file contents of any file matching configured media extensions that the web server process can access.

CWE CWE-22
Vendor getgrav
Product grav
Published Aug 25, 2026
Stay Ahead of the Next One

Get instant alerts for getgrav grav

Be the first to know when new medium vulnerabilities affecting getgrav grav are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Affected Versions

getgrav / grav
0 < 2.0.16

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/getgrav/grav/security/advisories/GHSA-47ch-6w46-6xm7 vulncheck.com: https://www.vulncheck.com/advisories/grav-cms-before-path-traversal-via-media-directory

Credits

๐Ÿ” alham-rizvi