CVE Catalog

CVE-2026-72695

HighCVSS 8.1
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.57%

45th percentile - higher than 45% of all known CVEs

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.

Risk Assessment

The risk includes the ability to delete arbitrary files on the system, which could lead to data loss, application integrity compromise, or service disruption.

Recommendation

It is recommended to upgrade Grav to version 2.0.16 or later and restrict media management permissions to trusted users.

Other vulnerabilities in Grav

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS