CVE-2026-74907: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in getgrav grav
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.
AI Analysis
Technical Summary
CVE-2026-74907 describes a path traversal vulnerability in Grav prior to version 2.0.15. The vulnerability exists in the static asset server implemented in index.php, where pathname validation relies on string prefix matching rather than enforcing directory boundaries. This allows unauthenticated attackers to bypass intended directory restrictions and access files outside the designated asset directory by exploiting directory names that extend the base path string. For example, if the base path is 'assets', an attacker can request 'assets-secret' to access sibling directories. The CVSS 4.0 score is 8.2, indicating high severity, with attack vector network, high attack complexity, and no privileges or user interaction required.
Potential Impact
An unauthenticated attacker can access files outside the intended restricted directory on the server hosting Grav. This may lead to unauthorized disclosure of sensitive files located in sibling directories to the configured asset directory. The vulnerability does not require user interaction or privileges but has high attack complexity.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since the vulnerability affects Grav before version 2.0.15, upgrading to version 2.0.15 or later is likely the intended remediation once officially released. Until then, restrict access to sensitive directories at the web server or network level as a temporary mitigation.
CVE-2026-74907: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in getgrav grav
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.
CVSS v4.0
Score 8.2high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-74907 describes a path traversal vulnerability in Grav prior to version 2.0.15. The vulnerability exists in the static asset server implemented in index.php, where pathname validation relies on string prefix matching rather than enforcing directory boundaries. This allows unauthenticated attackers to bypass intended directory restrictions and access files outside the designated asset directory by exploiting directory names that extend the base path string. For example, if the base path is 'assets', an attacker can request 'assets-secret' to access sibling directories. The CVSS 4.0 score is 8.2, indicating high severity, with attack vector network, high attack complexity, and no privileges or user interaction required.
Potential Impact
An unauthenticated attacker can access files outside the intended restricted directory on the server hosting Grav. This may lead to unauthorized disclosure of sensitive files located in sibling directories to the configured asset directory. The vulnerability does not require user interaction or privileges but has high attack complexity.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since the vulnerability affects Grav before version 2.0.15, upgrading to version 2.0.15 or later is likely the intended remediation once officially released. Until then, restrict access to sensitive directories at the web server or network level as a temporary mitigation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-08-17T10:48:45.738Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a844364c6e8be03322294a8
Added to database: 08/18/2026, 11:35:00 UTC
Last enriched: 08/18/2026, 12:04:44 UTC
Last updated: 08/19/2026, 01:31:40 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.