A AegiFlow
HIGHCVSS 7.1EPSS 0.6%

CVE-2026-72695

CVE-2026-72695 updated by NVD

Published
2026-09-17
Modified
2026-09-17
EPSS percentile
46%
Sources
github-advisory, nvd

Summary

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 packages

EcosystemPackageAffected versionsFixed versions
Packagistgetgrav/grav2.0.16

Remediation: Upgrade to 2.0.16 or later.

References

Includes data from the GitHub Advisory Database, licensed under CC-BY 4.0.

Includes data from the National Vulnerability Database (NIST). NVD data is in the public domain; this page is not endorsed by NIST.

CVE® is a registered trademark of The MITRE Corporation. CVE content reproduced under the CVE Terms of Use; copyright designation © MITRE.

EPSS scores provided by the FIRST.org Exploit Prediction Scoring System.