CVE-2026-44738

HIGH

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

Title source: cna
STIX 2.1

Description

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.

References (1)

Core 1
Core References

Scores

CVSS v3 7.7
EPSS 0.0028
EPSS Percentile 19.1%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact partial

Details

CWE
CWE-200
Status published
Products (4)
getgrav/grav 2.0.0 beta1 (5 CPE variants)
getgrav/grav < 2.0.0
getgrav/grav 0 - 2.0.0-rc.2Packagist
getgrav/grav < 2.0.0-rc.2
Published May 11, 2026
Tracked Since May 11, 2026