SEPTEMBER 18, 2026
Live Feed
Back to database
Case File

CVE-2026-72697

MEDIUM · CVSS 6.5 EPSS 0.31% Public Exploit

Source: NVD + CISA KEV + EPSS · Published 2026-08-25 · Last synced 2026-09-18

CyberRota Analysis

AI-Generated

Grav CMS versions prior to 2.0.16 are vulnerable to a path traversal flaw in the media_directory() Twig function, which does not properly validate filesystem paths. This allows authenticated users with page authoring privileges to access and enumerate files outside the intended directory, potentially exposing sensitive information. Organizations using Grav CMS should prioritize patching this vulnerability to mitigate the risk of unauthorized file access.

Public Exploit Signal

A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.

GitHub PoC Links

Note: these links are listed for security research and verification purposes only.

CVE
CVE-2026-72697
Severity
MEDIUM
CVSS
6.5
EPSS
0.31%

Original NVD Description

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.