PatchSiren cyber security CVE debrief
CVE-2026-92917 getgrav CVE debrief
CVE-2026-92917 debrief: Authenticated users with page-edit rights can exploit a flaw in Grav's Twig content sandbox to dump the entire merged configuration, exposing sensitive information such as SMTP credentials and API tokens. This vulnerability allows attackers to access configuration values that may include SMTP credentials, API tokens, and cache backend passwords. The issue arises from the Twig content sandbox failing to restrict the dump and serialize filters, enabling an authenticated user with page-edit rights to render {{ config|print_r }} in page content with Twig processing enabled and dump Grav's entire merged configuration.
- Vendor
- getgrav
- Product
- grav
- CVSS
- HIGH 8.7
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-09-17
- Original CVE updated
- 2026-09-19
- Advisory published
- 2026-09-17
- Advisory updated
- 2026-09-19
Who should care
Grav administrators and users with page-edit rights should assess exposure and apply patches to prevent potential configuration disclosure. This includes reviewing the current Grav version, checking for Twig processing enablement, and restricting page-edit rights to trusted users.
Why it matters
CVE-2026-92917 allows authenticated users to bypass the Twig content sandbox and dump Grav's entire merged configuration, exposing sensitive information. Grav administrators and users with page-edit rights should assess exposure and apply patches.
- An authenticated user with page-edit rights can access sensitive configuration values.
- Exposed configuration values may include SMTP credentials, API tokens, and cache backend passwords.
- The vulnerability requires verification of Grav version and Twig processing enablement.
- Remediation priority is high for affected Grav installations.
Technical summary
The Twig content sandbox in Grav fails to restrict the dump and serialize filters, allowing an authenticated user with page-edit rights to dump Grav's entire merged configuration. This occurs because GravExtension::assertSandboxDumpSafe() determines sandbox state by calling SandboxExtension::isSandboxed() without a Source argument, which reports only the global sandbox flag that Grav never enables. As a result, the guard added in GHSA-mc5q-6hpj-rp7j never executes, enabling attackers to bypass the sandbox and access sensitive configuration.
Defensive priority
High priority for Grav administrators and users with page-edit rights to assess exposure and apply patches.
Recommended defensive actions
- Assess exposure by checking if the installed Grav version is within the affected range (2.0.0-rc.1 through 2.0.21) and if Twig processing is enabled.
- Apply the patch by upgrading to Grav version 2.0.22 or later.
- Restrict page-edit rights to trusted users and monitor for suspicious activity.
- Review and update sensitive configuration values, such as SMTP credentials and API tokens.
- Verify Grav version and Twig processing enablement.
- Review compensating controls for exposed systems while remediation is scheduled and verified.
- Track exceptions, retest remediated assets, and close the item only after evidence is documented.
Evidence notes
The CVE record and NVD entry provide details on the vulnerability, including its description, CVSS score, and affected versions. The vulnerability is fixed in Grav version 2.0.22, where the affected filters are registered with Twig's needs_is_sandboxed flag. The issue is confirmed in versions 2.0.0-rc.1 through 2.0.21. Grav 1.7 is not affected as it does not ship with a Twig content sandbox.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-92917 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-92917
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-92917 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-92917
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Source reference
Unverified legacy reference
URL: https://github.com/getgrav/grav/security/advisories/GHSA-rfr9-7h4p-gx2x
-
Source reference
Unverified legacy reference
URL: https://www.vulncheck.com/advisories/grav-2.0.0-rc.1-through-2.0.21-configuration-disclosure-via-print-r
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.