CVE-2026-44738
HIGH 7.7CVSS 3.1Grav: Twig sandbox allows editor-role users to exfiltrate all plugin secrets via Config::toArray()
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.
- Published
- 11 May 2026
- Last modified
- 26 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-200
- Also known as
- GHSA-j274-39qw-32c9
- Sources
- NVDJSONOSV GHSA-j274-39qw-32c9JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | getgrav | gravcpe:2.3:a:getgrav:grav:*:*:*:*:*:*:*:* |
< 2.0.0 | 2.0.0 |
| NVD | getgrav | gravcpe:2.3:a:getgrav:grav:2.0.0:beta1:*:*:*:*:*:* |
= 2.0.0 | |
| NVD | getgrav | gravcpe:2.3:a:getgrav:grav:2.0.0:beta2:*:*:*:*:*:* |
= 2.0.0 | |
| NVD | getgrav | gravcpe:2.3:a:getgrav:grav:2.0.0:beta3:*:*:*:*:*:* |
= 2.0.0 | |
| NVD | getgrav | gravcpe:2.3:a:getgrav:grav:2.0.0:beta4:*:*:*:*:*:* |
= 2.0.0 | |
| NVD | getgrav | gravcpe:2.3:a:getgrav:grav:2.0.0:rc1:*:*:*:*:*:* |
= 2.0.0 | |
| OSV | Packagist | getgrav/grav | < 2.0.0-rc.2 | 2.0.0-rc.2 |
References
- https://github.com/getgrav/grav/security/advisories/GHSA-j274-39qw-32c9 · Exploit, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-44738 · ADVISORY
- https://github.com/getgrav/grav · PACKAGE
- https://github.com/getgrav/grav/releases/tag/2.0.0-rc.2 · WEB
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 11 May 2026)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 13 May 2026)