CVE-2026-72697
Last modified
CVE-2026-72697 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. 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.. EPSS estimates a 0.31% chance of exploitation in the next 30 days.
Description
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| getgrav | grav | < 2.0.16 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-72697?
How severe is CVE-2026-72697?
How do I fix CVE-2026-72697?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-72691An authentication bypass vulnerability in OpenSignLabs opens…7.5
- CVE-2026-72692A missing authorization vulnerability in OpenSignLabs opensi…7.5
- CVE-2026-72693`openvt -u` is intended to identify the owner of the current…7.8
- CVE-2026-72694A flaw was found in MRTG. When the MRTG daemon is started as…7.1
- CVE-2026-72695Grav before 2.0.16 contains a path traversal vulnerability i…8.1
- CVE-2026-72696Grav CMS before 2.0.16 contains a symlink following vulnerab…8.4
- CVE-2026-72698Grav CMS before 2.0.16 fails to filter system, site, and the…6.5
- CVE-2026-72699The Grav Login plugin (getgrav/grav-plugin-login) before 3.9…5.3
- CVE-2026-7270An operator precedence bug in the kernel results in a scenar…7.8
- CVE-2026-72700The getgrav/grav-plugin-login Composer plugin before 3.9.1 (…7.5
- CVE-2026-72701Grav CMS before 2.0.16 contains a timing vulnerability in Ut…3.7
- CVE-2026-72702Grav CMS before 2.0.16 contains an origin validation bypass …5.4
Are you affected by CVE-2026-72697?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
