CVE-2026-72695CWE-22path-traversal

CVE-2026-72695

High · published August 25, 2026

CVSS v3.1
8.1
EPSS
1%
Percentile
49.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.1 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
CVSS v4.0
7.1 · CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
EPSS
0.00631 · 49.6th percentile
Weakness
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2026-08-25T06:16Z
References (3)
EPSS history
Timeline
  • 26 AUG 08:25Z
    EPSS moved — → 1%
    epss
  • 25 AUG 01:30Z
    Grav before 2.0.16 Path Traversal via MediaUploadTrait deleteFile
    cvelistv5