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

High 8.2 Published Updated

Unauthenticated attackers can read files from sibling directories in Grav CMS due to improper path validation in the static asset server.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-74907?

CVE-2026-74907 is a high-severity path traversal vulnerability in getgrav grav, published on 18 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-22

Which versions are affected by CVE-2026-74907?

2 open source packages ship an affected version, including getgrav/grav.

PackageAffectedFixed in
getgrav/grav PackagistAll versions2.0.15
getgrav/grav PackagistAll versions2.0.15

How do I fix CVE-2026-74907?

Upgrade getgrav/grav to 2.0.15 or later.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2026-74907 being exploited?

There is no known exploitation of CVE-2026-74907 in the wild and no public exploit code.

Sources

Also known as GHSA-4v9q-p283-qc2m.

Is CVE-2026-74907 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free