Path Traversal in Getgrav Grav
CVE-2026-72695
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.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H.
EPSS exploit prediction
EPSS: 0.006 (48.7th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 49th percentile — 48.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.006 · newest: 0.006 · change: +0.001
Affected products
Weakness classification (CWE)
References
- github.com/getgrav/grav/security/advisories/GHSA-jq29-c7v8-rg55 (vendor-advisory)
- www.vulncheck.com/advisories/grav-before-path-traversal-via-mediauploadtrait-de… (third-party-advisory)
Frequently asked questions
- What is CVE-2026-72695?
- CVE-2026-72695 is a high-severity vulnerability in Getgrav Grav, classified under Path Traversal. CVSS score: 8.1/10. Published 2026-08-25.
- How severe is CVE-2026-72695?
- High severity. CVSS v3 base score is 8.1 out of 10.