PoC Monitor
← All CVEs
CVE-2026-72695published 25 Aug 2026 01:30 UTCData: JSON · API

Grav

Grav before 2.0.16 Path Traversal via MediaUploadTrait deleteFile

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.1high · scored by CNA · CWE-22
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

getgrav grav
  • < 2.0.16

Fixed in 2.0.16

Mitigation

Upgrade grav to 2.0.16 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published25 Aug 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.