Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-74907: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in getgrav grav

0
High
VulnerabilityCVE-2026-74907cvecve-2026-74907
Published: 08/18/2026 (08/18/2026, 11:19:38 UTC)
Source: CVE Database V5
Vendor/Project: getgrav
Product: 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

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Affected software

GitHub Actionsmore threats →ai
getgrav/grav
pkg:github/getgrav/grav
Affected versions
<2.0.15

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

AILast updated: 08/18/2026, 12:04:44 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses