CVE-2026-61842
MEDIUM 6.5CVSS 3.1Grav: Twig sandbox config exfiltration via grav.offsetGet + dump filter (CVE-2026-44738 bypass)
Grav is a file-based Web platform. Prior to 2.0.2, the Grav Twig content sandbox permits grav.offsetGet('config') to return the raw configuration object and permits json_encode, print_r, yaml_encode, and string filters to serialize that object without passing through GravSecurityPolicy::checkMethodAllowed. A user with page-author permissions can render sandboxed content that exposes plugins.* configuration secrets, including SMTP credentials, API keys, and plugin database credentials. This issue is fixed in version 2.0.2.
- Published
- 19 Aug 2026
- Last modified
- 9 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-200
- Also known as
- CVE-2026-61450GHSA-mc5q-6hpj-rp7j
- Sources
- NVDJSONOSV GHSA-mc5q-6hpj-rp7jJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Packagist | getgrav/grav | < 2.0.2 | 2.0.2 |
References
- https://github.com/getgrav/grav/commit/7efe70574e4cf01a251318478c13673029e93eb6 · WEB
- https://github.com/getgrav/grav/releases/tag/2.0.2 · WEB
- https://github.com/getgrav/grav/security/advisories/GHSA-mc5q-6hpj-rp7j · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-61842 · ADVISORY
- https://github.com/getgrav/grav · PACKAGE
History
- 25 Nov 2026 21:04 UTC · NVD: first stored (published 19 Aug 2026)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 2 Sep 2026)