Vulnerability

CVE-2026-72695

highCVSS 4.0 7.1Published 25 Aug 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

Grav before 2.0.16 contains a path traversal vulnerability in MediaUploadTrait::deleteFile() that allows authenticated users with media management permissions to delete arbitrary files by supplying filenames with directory traversal sequences. The method validates only the basename portion of the filename while preserving unvalidated directory paths containing ../ sequences that are passed to unlink(), enabling deletion of files outside the intended media storage directory.

Affected products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /getgrav/grav/security/advisories/GHSA-jq29-c7v8-rg55
  • www.vulncheck.com /advisories/grav-before-path-traversal-via-mediauploadtrait…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning