CVE-2026-74907
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.
How to fix
- getgrav/grav2.0.15 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| getgrav/gravPackagist | v < 2.0.15 | 2.0.15 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.