CVE-2026-61450
Last modified
CVE-2026-61450 is a high-severity vulnerability rated 7.1/10 on the CVSS scale. Grav before 2.0.2 contains a Twig sandbox bypass that allows a page author (any admin.pages user, or anyone able to write to user/pages) to exfiltrate configuration secrets. Although the sandbox replaces the 'config' variable with a redacted facade and strips Config::get/toArray from the method allowlist, the raw container remains accessible via the allow-listed grav.offsetGet('config'), which returns the real Config object.
Description
Grav before 2.0.2 contains a Twig sandbox bypass that allows a page author (any admin.pages user, or anyone able to write to user/pages) to exfiltrate configuration secrets. Although the sandbox replaces the 'config' variable with a redacted facade and strips Config::get/toArray from the method allowlist, the raw container remains accessible via the allow-listed grav.offsetGet('config'), which returns the real Config object. Allow-listed object-dumping filters (json_encode, print_r, yaml_encode) then serialize that object at the PHP level without invoking the sandbox method gate, exposing the full config tree including plugin secrets such as SMTP credentials, API keys, and plugin DB credentials. This is an incomplete fix for GHSA-j274-39qw-32c9.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| getgrav | grav | < 2.0.2 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-61450?
How severe is CVE-2026-61450?
How do I fix CVE-2026-61450?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-61445PraisonAI before 4.6.78 contains arbitrary file write and co…9.9
- CVE-2026-61446PraisonAI (praisonaiagents) before 1.6.78 contains a remote …8.6
- CVE-2026-61447PraisonAI before 1.6.78 contains a remote code execution vul…10
- CVE-2026-61448Parse Server is affected by a stored cross-site scripting (X…2.1
- CVE-2026-61449Grav 2.0.1 contains a decompression-bomb size-cap bypass in …7.1
- CVE-2026-6145The User Registration & Membership plugin for WordPress is v…5.3
- CVE-2026-61451The Grav API plugin (grav-plugin-api) before 1.0.4 does not …9.6
- CVE-2026-61452The Grav API plugin (getgrav/grav-plugin-api) before 2.0.4 c…6.9
- CVE-2026-61453Grav v2.0.0 contains a cross-site scripting vulnerability (f…6.1
- CVE-2026-61454The Grav Admin2 plugin (getgrav/grav-plugin-admin2) before 2…8.7
- CVE-2026-61455Grav before 2.0.1 contains a decompression bomb vulnerabilit…7.1
- CVE-2026-61456The Grav API plugin (getgrav/grav-plugin-api) before 1.0.3 f…5.1
Are you affected by CVE-2026-61450?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
