CVE-2026-74907 PUBLISHED

Grav before 2.0.15 Path Traversal via plugin-asset-map.php

Assigner: VulnCheck
Reserved: 17.08.2026 Published: 18.08.2026 Updated: 18.08.2026

Grav before 2.0.15 contains a path traversal vulnerability in the static asset server within index.php that uses string prefix matching instead of directory-boundary validation. Unauthenticated attackers can access files in sibling directories by exploiting directory names that extend the base path string, such as requesting assets-secret when assets is the configured base.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
CVSS Score: 8.2

Product Status

Vendor getgrav
Product grav
Versions Default: unaffected
  • affected from 0 to 2.0.15 (excl.)
  • Version 2.0.15 is unaffected

Credits

  • alham-rizvi reporter

References

Problem Types

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