{"id":"CVE-2026-44738","published":"2026-05-11T15:47:46Z","modified":"2026-05-14T18:06:17Z","title":"Grav: Twig sandbox allows editor-role users to exfiltrate all plugin secrets via Config::toArray()","vendor":"getgrav","product":"grav","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.7,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00276,"percentile":0.20431,"provenance":"source"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"references":[{"url":"https://github.com/getgrav/grav/security/advisories/GHSA-j274-39qw-32c9","tags":["x_refsource_CONFIRM"]}],"priority":{"score":9.5,"factors":[{"name":"EPSS percentile","points":4.09},{"name":"CVSS severity","points":5.39}]},"vendorSlug":"getgrav","affectedVersions":[{"vendor":"getgrav","product":"grav","versions":["< 2.0.0-rc.2"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-05-14T18:04:51.140656Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"getgrav/grav","vulnerableRanges":["<2.0.0-rc.2"],"patched":["2.0.0-rc.2"],"from":["GHSA-j274-39qw-32c9"],"provenance":"source"}],"summary":{"text":"The flaw is in Grav, a file-based web platform, where the Twig sandbox allow-list in its page rendering lets a user with the admin.pages role call config.toArray() from a page body and expose the full merged site configuration. An attacker with only the admin.pages role and network access to the admin interface can have the entire configuration, including plugin secrets such as SMTP passwords, AWS keys, OAuth client secrets and API tokens, rendered into the page HTML, requiring no administrator privileges and no user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:04:15Z"},"euvd":{"id":"EUVD-2026-29135","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-56701","published":"2026-06-23","fixed":"2.0.0-beta.2","kev":false},{"cve":"CVE-2026-7317","published":"2026-04-28","fixed":"2.0.0-beta.2","kev":false},{"cve":"CVE-2026-42844","published":"2026-05-12","fixed":"2.0.0-beta.4","kev":false,"link":{"from":"CVE-2026-42844","to":"CVE-2026-44738","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:getgrav/grav","fromFixed":"2.0.0-beta.4","toFixed":"2.0.0-rc.2","daysApart":-1}]}},{"cve":"CVE-2026-44738","published":"2026-05-11","fixed":"2.0.0-rc.2","kev":false},{"cve":"CVE-2026-53653","published":"2026-07-10","fixed":"2.0.0-rc.8","kev":false,"link":{"from":"CVE-2026-44738","to":"CVE-2026-53653","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:getgrav/grav","fromFixed":"2.0.0-rc.2","toFixed":"2.0.0-rc.8","daysApart":60}]}},{"cve":"CVE-2026-55890","published":"2026-07-10","fixed":"2.0.0-rc.9","kev":false},{"cve":"CVE-2026-58657","published":"2026-07-08","fixed":"2.0.0","kev":false}],"package":"Packagist:getgrav/grav"}}