CVE-2026-130741 Details
Description
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.
A Twig sandbox bypass vulnerability has been identified in Grav versions 2.0.0 prior to 2.2.18. This vulnerability allows publishers to read any server file by exploiting allowlisted Twig functions that manipulate page objects or asset collections. By accessing sensitive files, such as private keys and API signing secrets, an attacker could forge a super-admin API token.
The vulnerability has been fixed in Grav version 2.2.18. Users should upgrade to this version and clear the `assets/` folder to remove any files bundled by an attack. Site configurations that re-add `path` or `filepath` through `allowed_methods` should be removed, as they reopen the vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Nov 18, 2026CISA-ADP
Assessed Nov 21, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/getgrav/grav/security/advisories/GHSA-8rhf-56h6-j77w | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-200 | Exposure of Sensitive Information to an Unauthorized Actor | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Grav | >= 2.0.0, <= 2.2.17 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 21, 2026 | CVE Modified | CISA-ADP |
| Nov 18, 2026 | New CVE Received | [email protected] |
Volerion