CVE-2026-44738 HIGH

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

Vendor Getgrav
Product grav
Weakness CWE-200 · Info exposure
Published May 11, 2026
Last update May 14, 2026

CVSS base score

7.7/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality High
Integrity None

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

May 11, 2026 CVE published
May 14, 2026 Record updated