What’s Vulnerable › Vulnerabilities

CVE-2026-74907: Grav before 2.0.15 Path Traversal via plugin-asset-map.php

Description

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.

Affected products

How to fix

Upgrade to a fixed version: getgrav grav 2.0.15. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-74907 or the next vulnerability affects your stack