High severity · published Aug 25, 2026
CVE-2026-72695
Grav before 2.0.16 Path Traversal via MediaUploadTrait deleteFile
8.1
CVSS
0.6%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
None
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.6% · higher than 50% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
GR
grav · getgrav
before 2.0.16 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-72695
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-72695
vendor-advisory
https://github.com/getgrav/grav/security/advisories/GHSA-jq29-c7v8-rg55
third-party-advisory
https://www.vulncheck.com/advisories/grav-before-path-traversal-via-mediauploadtrait-deletefile
More from grav
9.9
CVE-2024-34082
Grav is a file-based Web platform
9.8
CVE-2026-80203
Grav before 1.0.18 Authentication Bypass via Scoped API Key
9.8
CVE-2026-56710
Grav Login Plugin before 1.0.16 Privilege Escalation via Unlock
9.8
CVE-2026-65008
Grav before 2.0.7 Remote Code Execution via Blueprint dynamicData
9.8
CVE-2021-47812
GravCMS 1.10.7 contains an unauthenticated vulnerability that allows remote attackers to write arbitrary YAML configuration and execute PHP code through the scheduler endpoint
