CVE-2026-130741
Dashboard / Vulnerabilities / CVE-2026-130741
Summary: Grav 2.0.0 before 2.2.18 Arbitrary File Read via Twig Sandbox Bypass
Details: Grav from 2.0.0 before 2.2.18 contains a Twig sandbox bypass vulnerability that allows publishers to read any server file by abusing allowlisted array_key_value() and page accessor setters such as filePath(). Attackers can repoint page objects or overwrite the assets collections to render private keys and the API signing secret, then forge a super-admin API token.
References: https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/130xxx/CVE-2026-130741.json, https://github.com/getgrav/grav/security/advisories/GHSA-8rhf-56h6-j77w, https://nvd.nist.gov/vuln/detail/CVE-2026-130741
Affected packages
Package
Name:
Purl:
Affected ranges
Type: GIT
Events:
Introduced- bb4022f44b882ca4615188f4da5a0d646cef02ce
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
