CVE-2026-74907
Received Received - Intake

Path Traversal in Grav CMS Prior to 2.0.15

Vulnerability report for CVE-2026-74907, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-18

Last updated on: 2026-08-18

Assigner: VulnCheck

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 Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-18
Last Modified
2026-08-18
Generated
2026-08-18
AI Q&A
2026-08-18
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
getgrav grav to 2.0.15 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-22 The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-74907 is a path traversal vulnerability in Grav CMS versions 2.0.14 and earlier. It exists in the static asset server component, specifically in index.php. The vulnerability allows unauthenticated attackers to access files outside the intended directory by exploiting a missing directory-boundary check. The code uses string prefix matching instead of proper directory validation, enabling access to sibling directories with similar names.

Detection Guidance

Check Grav CMS versions for 2.0.14 or earlier. Inspect plugin-asset-map.php configurations for route-prefix mappings. Test for path traversal by attempting to access files in sibling directories like assets-secret when assets is the configured base path.

Impact Analysis

Unauthenticated attackers can remotely access sensitive files in directories adjacent to the intended asset directory. For example, if the intended directory is assets, attackers could access assets-secret or other sibling directories. This could lead to unauthorized disclosure of confidential data, configuration files, or other sensitive information stored on the server.

Compliance Impact

This vulnerability could lead to unauthorized access to personal or sensitive data, violating GDPR and HIPAA requirements for data protection and confidentiality. Organizations using affected Grav versions may face compliance violations, legal penalties, and reputational damage if exploited.

Mitigation Strategies

Upgrade Grav CMS to version 2.0.15 or later. Disable or remove the plugin-asset-map.php file if not needed. Ensure proper directory-boundary validation is implemented in static asset server configurations.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-74907. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart