VULNERABILITY INTELLIGENCE

CVE-2026-72697

CVSS score6.5 MEDIUM
EPSS probability0.38%
CISA KEVNot currently listed
Published2026-08-25
Last modified2026-10-12
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

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.

Weakness classification

  • disclosure@vulncheck.com: CWE-22

Primary references