CVE-2026-44738
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.
How to fix
- getgrav grav2.0.0 or later
- getgrav/grav2.0.0-rc.2 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| getgrav grav | v < 2.0.0, 2.0.0 | 2.0.0 |
| getgrav/gravPackagist | v < 2.0.0-rc.2 | 2.0.0-rc.2 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.