CVE-2026-72697CWE-22path-traversal

CVE-2026-72697

Medium · published August 25, 2026

CVSS v3.1
6.5
EPSS
0%
Percentile
30.4
In the wild
Unconfirmed
What it is

Grav CMS before 2.0.16 contains a path traversal vulnerability in the media_directory() Twig function that fails to validate filesystem paths, allowing authenticated users to enumerate and access files outside intended scope. Attackers with page authoring privileges can supply arbitrary filesystem paths to media_directory() and use the allow-listed filepath accessor on Medium objects to read file contents of any file matching configured media extensions that the web server process can access.

The record
Technical detail
CVSS v3.1
6.5 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
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.00376 · 30.4th 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 — → 0%
    epss
  • 25 AUG 01:30Z
    Grav CMS before 2.0.16 Path Traversal via media_directory
    cvelistv5