{"id":"CVE-2026-46635","published":"2026-07-14T21:12:56Z","modified":"2026-07-15T13:26:27Z","title":"Twig: Sandbox property allowlist bypass via the `column` filter (array_column on objects)","vendor":"twigphp","product":"Twig","tier":"tail","description":{"text":"Twig is a template language for PHP. Prior to 3.26.0, the column filter passes object arrays to PHP array_column(), which reads public and magic properties without reaching CoreExtension::getAttribute() or SandboxExtension::checkPropertyAllowed(), allowing an untrusted template author with column in allowedFilters to read properties that are not in the sandbox allowlist. This issue is fixed in version 3.26.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00331,"percentile":0.26941,"provenance":"source"},"cwes":[{"id":"CWE-863","name":"Incorrect Authorization"}],"references":[{"url":"https://github.com/twigphp/Twig/security/advisories/GHSA-vcc8-phrv-43wj","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/twigphp/Twig/commit/f05c5011c25caf17de37614b7e04662022532ac4","tags":["x_refsource_MISC"]},{"url":"https://github.com/twigphp/Twig/releases/tag/v3.26.0","tags":["x_refsource_MISC"]}],"priority":{"score":9.1,"factors":[{"name":"EPSS percentile","points":5.39},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"twigphp","affectedVersions":[{"vendor":"twigphp","product":"Twig","versions":["< 3.26.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-15T13:20:10.732604Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"twig/twig","vulnerableRanges":["<3.26.0"],"patched":["3.26.0"],"from":["GHSA-vcc8-phrv-43wj"],"provenance":"source"}],"summary":{"text":"Twig, the PHP template language, contains a flaw in its sandbox property allowlist in the column filter: its use of PHP's array_column() on objects reads public and magic properties without passing through the sandbox's property checks. An attacker who can author templates and has been granted the column filter in the sandbox's allowed filters can read object properties that the allowlist is meant to block, which requires only a low-privilege template-authoring capability and no user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:09:46Z"},"euvd":{"id":"EUVD-2026-44556","exploited":false,"provenance":"source"}}