{"id":"CVE-2026-74907","title":"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","summary":"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 direc…","severity":"medium","cvss":5.9,"cvssVector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","cwe":["CWE-22"],"published":"2026-08-18","updated":"2026-09-08","sourceUpdated":"2026-09-08T20:32:39.347","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-74907","references":[{"url":"https://github.com/getgrav/grav/security/advisories/GHSA-4v9q-p283-qc2m","label":"disclosure@vulncheck.com"},{"url":"https://www.vulncheck.com/advisories/grav-before-path-traversal-via-plugin-asset-map-php","label":"disclosure@vulncheck.com"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74907"},{"url":"https://github.com/advisories/GHSA-4v9q-p283-qc2m"}],"tags":["nvd","ghsa","composer"],"epss":0.00333,"epssPercentile":0.2681,"ingestedAt":"2026-09-08T21:11:12.279Z","aliases":["GHSA-4v9q-p283-qc2m"],"ecosystem":"composer","vendor":"getgrav","product":"getgrav/grav","affected":["getgrav/grav <= 2.0.14"],"patched":["getgrav/grav 2.0.15"],"slug":"CVE-2026-74907","body":"## Overview\n\nGrav 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.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Package advisory (CVE-2026-74907)\n\nAffected packages:\n\n- `getgrav/grav <= 2.0.14`\n\nPatched in:\n\n- `getgrav/grav 2.0.15`\n\nSource: https://github.com/advisories/GHSA-4v9q-p283-qc2m","depth":"sunlit","depthScore":33,"depthScoreParts":{"impact":32.5,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}