CVE-2026-130741
8.8HighPublished 18 Nov 2026 · NVD status: Deferred · AI triage by gemini-3.1-flash-lite
High
0CVSS v3.110
- Attack vector
- Network
- Complexity
- Low
- Privileges
- Low
- User action
- None
- Impact
- Full C/I/A compromise
- Weakness
- CWE-200
What an attacker gets
Authenticated attackers can read arbitrary server files, including private keys and API secrets, to forge super-admin tokens. This requires a low-privileged account on the Grav instance.
Root cause
The Twig sandbox fails to properly restrict access to specific page accessor setters and array functions.
Affected versions
Grav 2.0.0 through 2.2.17
CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Fix & remediation
Upgrade to Grav 2.2.18 or later. If you cannot patch immediately, disable the Twig sandbox or restrict administrative access to trusted users only.
$ composer update getgrav/gravAI-suggested. Run it in staging first and check it against the vendor advisory. Why?
NVD 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.