CVE-2026-44738CWE-200

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

High · published May 11, 2026

CVSS v3.1
7.7
EPSS
0%
Percentile
32.1
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.7 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00392 · 32.1th percentile
Weakness
CWE-200 · Exposure of Sensitive Information to an Unauthorized Actor
Published
2026-05-11T15:47Z
EPSS history
Timeline
  • 11 MAY 15:47Z
    Grav: Twig sandbox allows editor-role users to exfiltrate all plugin secrets via Config::toArray()
    cvelistv5