{"id":"CVE-2026-72697","aliases":[],"url":"https://o3.security/vulnerability/CVE-2026-72697","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…","details":"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.","published":"2026-08-25T02:16:45.407","modified":"2026-08-25T02:16:45.407","cvss":{"score":6.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[],"fix":null,"references":[{"type":"WEB","url":"https://github.com/getgrav/grav/security/advisories/GHSA-47ch-6w46-6xm7"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/grav-cms-before-path-traversal-via-media-directory"}],"provenance":{"sources":["OSV.dev","NVD","FIRST.org (EPSS)"],"lastVerified":"2026-08-25T02:16:45.407"}}