CVE-2026-72695
Last modified
CVE-2026-72695 is a high-severity vulnerability rated 8.1/10 on the CVSS scale. Grav before 2.0.16 contains a path traversal vulnerability in MediaUploadTrait::deleteFile() that allows authenticated users with media management permissions to delete arbitrary files by supplying filenames with directory traversal sequences. The method validates only the basename portion of the filename while preserving unvalidated directory paths containing ../ sequences that are passed to unlink(), enabling deletion of files outside the intended media storage directory.. EPSS estimates a 0.57% chance of exploitation in the next 30 days.
Description
Grav before 2.0.16 contains a path traversal vulnerability in MediaUploadTrait::deleteFile() that allows authenticated users with media management permissions to delete arbitrary files by supplying filenames with directory traversal sequences. The method validates only the basename portion of the filename while preserving unvalidated directory paths containing ../ sequences that are passed to unlink(), enabling deletion of files outside the intended media storage directory.
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-72695?
How severe is CVE-2026-72695?
How do I fix CVE-2026-72695?
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-7269A vulnerability was found in SourceCodester Pharmacy Sales a…2.4
- CVE-2026-72690An improper authorization vulnerability in Attendize through…7.1
- 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-72696Grav CMS before 2.0.16 contains a symlink following vulnerab…8.4
- CVE-2026-72697Grav CMS before 2.0.16 contains a path traversal vulnerabili…6.5
- 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
Are you affected by CVE-2026-72695?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
