{"id":"CVE-2026-100668","revision":null,"records":[{"revision":"d2898f4a9b2843f9beb2b8e4dc9ccfa9","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-100668","aliases":[],"title":"Grav before 2.0.25 Sandbox Escape via array Filter","description":"Grav 2.0.0 through 2.0.24 contain a Twig content sandbox escape. The `array` filter (and its identical function form) is on the sandbox allowlist but is registered without the needs_is_sandboxed guard that print_r, vardump, json_encode, yaml_encode and string carry, and its implementation calls toArray() — or falls back to an (array) cast — without consulting the sandbox method allowlist. Because the `grav` Twig global is the raw Pimple-based dependency injection container, a user who can author Twig in page content can evaluate `grav|array` to read the container's private $values array, including the un-redacted Config service; a second array cast returns the entire configuration tree, disclosing plugin credentials, SMTP and OAuth secrets, Redis passwords, proxy URLs and the security.* subtree that the sandbox's redaction is meant to hide. Because the payload is stored in page content, the disclosed configuration is rendered to anonymous visitors. Grav 1.7 is not affected as it has no Twig content sandbox. Fixed in Grav 2.0.25.","state":0,"publishedAt":"2026-09-26T13:23:33.382+00:00","modifiedAt":"2026-09-28T16:31:25.182+00:00","affected":[{"ecosystem":"Vendor product","name":"grav","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"getgrav\",\n                    \"product\": \"grav\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\",\n                            \"lessThan\": \"2.0.25\"\n                        },\n                        {\n                            \"version\": \"2.0.25\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","score":7.1,"severity":"HIGH"},{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"severity":"MEDIUM"}],"references":["https://github.com/getgrav/grav/security/advisories/GHSA-59qm-58v5-gvc5","https://www.vulncheck.com/advisories/grav-before-2.0.25-sandbox-escape-via-array-filter"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-100668","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-100668","identifiers":["CVE-2026-100668"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-12T08:55:39.4193399+00:00","complete":true,"records":1779,"lastAttemptAt":"2026-11-12T08:55:39.4193399+00:00","lastSuccessAt":"2026-11-12T08:55:39.5669336+00:00","error":null,"lastVerifiedAt":"2026-11-12T08:55:39.5669352+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-64752486c567b55b31fb0d7225f5222bcd0019564ac0ac5f0649e242c7b19299-cdca8464672f7a6b0a4c4e58984a9b57c5e15d71ae2ddc7e2ff782639942ab38","complete":true,"records":424631,"lastAttemptAt":"2026-11-12T08:53:35.355196+00:00","lastSuccessAt":"2026-11-12T08:53:35.3149634+00:00","error":null,"lastVerifiedAt":"2026-11-12T08:53:35.355196+00:00","snapshotPublishedAt":"2026-11-12T08:30:19+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-570328139368428ca550af1570d01579","complete":true,"records":13760,"lastAttemptAt":"2026-11-12T08:56:06.8263277+00:00","lastSuccessAt":"2026-11-12T06:55:06.923+00:00","error":null,"lastVerifiedAt":"2026-11-12T06:55:06.923+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13813,"expectedIdentifiers":13813,"failedIdentifiers":0},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-12T08:55:39.4193399+00:00","complete":true,"records":1097,"lastAttemptAt":"2026-11-12T08:55:39.4193399+00:00","lastSuccessAt":"2026-11-12T08:55:39.5676932+00:00","error":null,"lastVerifiedAt":"2026-11-12T08:55:39.5676956+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-723ec20d092d41278189b87b8cbcf51e","complete":false,"records":13760,"lastAttemptAt":"2026-11-12T08:56:05.5820299+00:00","lastSuccessAt":"2026-11-12T08:56:05.578+00:00","error":null,"lastVerifiedAt":"2026-11-12T08:56:05.578+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13313,"expectedIdentifiers":13813,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-3562b6c78fd1bd0f0b55daf66a0926ae24f65e462df7f6d928caad458fc696bf","complete":true,"records":9947,"lastAttemptAt":"2026-11-12T08:55:35.2753592+00:00","lastSuccessAt":"2026-11-11T04:27:43.6877707+00:00","error":null,"lastVerifiedAt":"2026-11-12T08:55:35.2753592+00:00","snapshotPublishedAt":"2026-11-11T03:32:46+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-456002455e0ab94bb92c95476d4e6d175c104cd594749982afd96c893728ecbc","complete":true,"records":2010,"lastAttemptAt":"2026-11-12T08:53:35.4094441+00:00","lastSuccessAt":"2026-11-11T02:36:58.1276999+00:00","error":null,"lastVerifiedAt":"2026-11-12T08:53:35.4094441+00:00","snapshotPublishedAt":"2026-11-11T01:17:51+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-44cd3a7b61439dd4e0dd867616b5261e169a9e59821f22444c84d86fd81b6f2e","complete":true,"records":3106,"lastAttemptAt":"2026-11-12T08:55:39.3774946+00:00","lastSuccessAt":"2026-11-12T08:55:39.2342768+00:00","error":null,"lastVerifiedAt":"2026-11-12T08:55:39.3774946+00:00","snapshotPublishedAt":"2026-11-12T08:18:06+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-c924bd892f7cff2008ba8f06b2d1a456e8a821e4c475408ea0c699c9c1fbf82c","complete":true,"records":231700,"lastAttemptAt":"2026-11-12T08:55:35.1386298+00:00","lastSuccessAt":"2026-11-12T08:55:33.6769659+00:00","error":null,"lastVerifiedAt":"2026-11-12T08:55:35.1386298+00:00","snapshotPublishedAt":"2026-11-12T08:33:11+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}