Path Traversal in Getgrav Grav

CVE-2026-74907

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.

Vulnerability class: Path Traversal (Directory Traversal)

CVSS v3 metric

CVSS v3 base score 5.9 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-74907?
CVE-2026-74907 is a medium-severity vulnerability in Getgrav Grav, classified under Path Traversal. CVSS score: 5.9/10. Published 2026-08-18.
How severe is CVE-2026-74907?
Medium severity. CVSS v3 base score is 5.9 out of 10.