CVE-2026-72695: Grav - Path Traversal
- Cve: CVE-2026-72695
- Name: Grav - Path Traversal
- 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.
- Impact: Authenticated users with media permissions can delete arbitrary files, potentially disrupting system integrity or availability.
- Remediation: Update to version 2.0.16 or later.
- Vulnerability type: path_traversal
- Vulnerability impact: file_system_write, denial_of_service
- Requirement type: logged_in
- Requirements: Attacker must be authenticated with media management permissions
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.1
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
- Epss score: 0.00631
- Epss percentile: 0.50963
- Assignee: [email protected]
- Published at: 2026-08-25T02:16:45Z
- Age in days: 91
- Modified at: 2026-10-12T15:10:00Z
- Patch available: yes
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-72695
- Nvd status: deferred
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/getgrav/grav/security/advisories/GHSA-jq29-c7v8-rg55 | nvd | |
| https://www.vulncheck.com/advisories/grav-before-path-traversal-via-mediauploadtrait-deletefile | nvd |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| getgrav:grav | < 2.0.16 | no | cna | /v1/products/getgrav/grav |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| getgrav/grav | package, security_advisory | yes | /v1/repositories/getgrav/grav |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Authentication required: yes
- Exposed hosts: 1971
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports