CVE-2026-72695

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.
Configurations

No configuration.

History

No history.

Information

Published : 2026-08-25 02:16

Updated : 2026-08-31 20:50


NVD link : CVE-2026-72695

Mitre link : CVE-2026-72695

CVE.ORG link : CVE-2026-72695


JSON object : View

Products Affected

No product.

CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')