Skip to content
CORVASEC — Knowledge Defends
Vulnerability Explorer›CVE-2026-72697
VULNERABILITY

CVE-2026-72697

Common Vulnerabilities and Exposures record

HIGH

Summary

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.

Risk

CVSS
7.1
Severity
HIGH
Vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Timeline

Published
Aug 25, 2026 02:16
Modified
Oct 12, 2026 15:10
Last observed
Oct 13, 2026 17:03

CWE

CWE-22

References