{"id":"CVE-2026-61842","aliases":["CVE-2026-61450","GHSA-mc5q-6hpj-rp7j"],"url":"https://o3.security/vulnerability/CVE-2026-61842","summary":"Grav: Twig sandbox config exfiltration via grav.offsetGet + dump filter (CVE-2026-44738 bypass)","details":"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":"2026-08-19T15:23:27.038Z","modified":"2026-08-21T03:46:54.138862121Z","cvss":{"score":6.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"Packagist","name":"getgrav/grav","fixedVersion":"2.0.2"}],"fix":{"url":"https://github.com/getgrav/grav/commit/7efe70574e4cf01a251318478c13673029e93eb6","label":"getgrav/grav@7efe705"},"references":[{"type":"WEB","url":"https://github.com/getgrav/grav/releases/tag/2.0.2"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/61xxx/CVE-2026-61842.json"},{"type":"ADVISORY","url":"https://github.com/getgrav/grav/security/advisories/GHSA-mc5q-6hpj-rp7j"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-61842"},{"type":"FIX","url":"https://github.com/getgrav/grav/commit/7efe70574e4cf01a251318478c13673029e93eb6"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-21T03:46:54.138862121Z"}}