CVE-2026-92917
Last modified
CVE-2026-92917 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. Grav is a flat-file CMS. In versions 2.0.0-rc.1 through 2.0.21, the Twig content sandbox fails to restrict the dump and serialize filters (print_r, vardump, json_encode, yaml_encode, string): GravExtension::assertSandboxDumpSafe() determines sandbox state by calling SandboxExtension::isSandboxed() without a Source argument, which reports only the global sandbox flag that Grav never enables, so the guard added in GHSA-mc5q-6hpj-rp7j never executes. EPSS estimates a 0.33% chance of exploitation in the next 30 days.
Description
Grav is a flat-file CMS. In versions 2.0.0-rc.1 through 2.0.21, the Twig content sandbox fails to restrict the dump and serialize filters (print_r, vardump, json_encode, yaml_encode, string): GravExtension::assertSandboxDumpSafe() determines sandbox state by calling SandboxExtension::isSandboxed() without a Source argument, which reports only the global sandbox flag that Grav never enables, so the guard added in GHSA-mc5q-6hpj-rp7j never executes. As a result, an authenticated user with page-edit rights can render {{ config|print_r }} in page content with Twig processing enabled and dump Grav's entire merged configuration — print_r reflects the real Config object held in a private property of the SandboxConfig facade, bypassing its path redaction — exposing plugin secrets such as SMTP credentials, API tokens, webhook secrets and cache backend passwords. Grav 1.7 is not affected because it ships no Twig content sandbox. The issue is fixed in 2.0.22, where the affected filters are registered with Twig's needs_is_sandboxed flag.
Metrics
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-92917?
How severe is CVE-2026-92917?
How do I fix CVE-2026-92917?
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-9291Insecure deserialization in the job results processing compo…7.5
- CVE-2026-92912AVideo through c3edcc274c389816d434acadac07ee78eaf330c1 uses…6.5
- CVE-2026-92913AVideo through commit c3edcc274c389816d434acadac07ee78eaf330…7.4
- CVE-2026-92914AVideo LoginControl contains an authentication bypass vulner…8.1
- CVE-2026-92915WWBN AVideo through commit e01e41ecc (no patched version ava…7.3
- CVE-2026-92916Grav is a flat-file CMS. In Grav 1.7.0 through 1.7.53.2 and …7.5
- CVE-2026-92918admin3 through 3.0.0 persists user session tokens in the aud…8.8
- CVE-2026-92919admin3 through 3.0.0 fails to sanitize client-supplied filen…8.1
- CVE-2026-9292A Stored Cross-Site Scripting security issue exists within F…8.4
- CVE-2026-92920admin3 through 3.0.0 fails to invalidate existing sessions w…5.4
- CVE-2026-92921admin3 through 3.0.0 stores account passwords using single-r…4.9
- CVE-2026-92925A flaw was found in Redis community. The cluster bus packet …7.1
Are you affected by CVE-2026-92917?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
