# Grav: Unauthenticated Path Traversal via Missing Directory-Boundary Check in `plugin-asset-map.php` Static Asset Server (`index.php`)

High severity, published 2026-09-17. Update getgrav/grav to 2.0.15 or later: composer update getgrav/grav.

Canonical URL: https://buzzphp.com/security/ghsa-4v9q-p283-qc2m · Data from GitHub as of 2026-11-25.

| | |
| --- | --- |
| Severity | high (CVSS 5.9) |
| Published | 2026-09-17 |
| Updated | 2026-09-17 |
| CVE | [CVE-2026-74907](https://nvd.nist.gov/vuln/detail/CVE-2026-74907) |
| GHSA | [GHSA-4v9q-p283-qc2m](https://github.com/advisories/GHSA-4v9q-p283-qc2m) |
| Weakness | CWE-22 |

| Package | Affected versions | Fixed in |
| --- | --- | --- |
| getgrav/grav | <= 2.0.14 | 2.0.15 |

## What to do

Update getgrav/grav to 2.0.15 or later: composer update getgrav/grav.

Check which version you run with `composer show getgrav/grav`, and every affected package with `composer audit`.

## About this advisory

Verified against: getgrav/grav devel branch, GRAVVERSION = "2.0.15", file index.php

Title Unauthenticated Path Traversal via Missing Directory-Boundary Check in plugin-asset-map.php Static Asset Server (index.php)

Product / Affected Versions - Product: getgrav/grav - File: index.php (top-level front controller, runs before Grav itself boots) - Confirmed present in: devel branch, 2.0.15 - Precondition: requires user/config/plugin-asset-map.php to exist and contain at least one route-prefix mapping ,this is an opt-in mechanism (per the code comment: "Fast static asset serving for plugins that bundle SPA apps").

## Links

- [GHSA-4v9q-p283-qc2m on GitHub](https://github.com/advisories/GHSA-4v9q-p283-qc2m)
- [CVE-2026-74907 on the National Vulnerability Database](https://nvd.nist.gov/vuln/detail/CVE-2026-74907)
- [All Composer security advisories](https://buzzphp.com/security)
