Skip to main content
← All vulnerabilities
CVE-2026-44738GHSA-J274-39QW-32C9

Grav: Twig sandbox allows editor-role users to exfiltrate all plugin secrets via Config::toArray()

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.0.0-rc.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

Grav is a file-based Web platform. Prior to 2.0.0-rc.2, the Twig sandbox allow-list permits any user with the admin.pages role to call config.toArray() from within a page body, dumping the entire merged site configuration — including all plugin secrets (SMTP passwords, AWS keys, OAuth client secrets, API tokens) — into the rendered HTML. No administrator privileges are required. This vulnerability is fixed in 2.0.0-rc.2.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • getgrav grav

    fixed in 2.0.0-rc.2

  • getgrav/gravPackagist

    fixed in 2.0.0-rc.2

References 1

GitHub · getgrav/grav