{"id":"CVE-2026-48808","published":"2026-07-14T21:27:21Z","modified":"2026-07-15T14:31:58Z","title":"Twig: Sandbox property allowlist bypass via the `column` filter under `SourcePolicyInterface`","vendor":"twigphp","product":"Twig","tier":"tail","description":{"text":"Twig is a template language for PHP. Prior to 3.27.0, the column filter passes the active sandbox state as a boolean but does not forward the current Source to SandboxExtension::checkPropertyAllowed(), so SourcePolicyInterface decisions are lost and a template author can read public or magic properties not allowed by the sandbox policy. This issue is fixed in version 3.27.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":6,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00407,"percentile":0.35865,"provenance":"source"},"cwes":[{"id":"CWE-693","name":"Protection Mechanism Failure"},{"id":"CWE-863","name":"Incorrect Authorization"}],"references":[{"url":"https://github.com/twigphp/Twig/security/advisories/GHSA-h8vq-8gpg-mhcg","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/twigphp/Twig/commit/09c6706407ed7b1cb2d7d1408004f811e47e0424","tags":["x_refsource_MISC"]},{"url":"https://github.com/twigphp/Twig/releases/tag/v3.27.0","tags":["x_refsource_MISC"]}],"priority":{"score":11.4,"factors":[{"name":"EPSS percentile","points":7.17},{"name":"CVSS severity","points":4.2}]},"vendorSlug":"twigphp","affectedVersions":[{"vendor":"twigphp","product":"Twig","versions":["< 3.27.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-15T14:31:48.326309Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"twig/twig","vulnerableRanges":["<3.27.0"],"patched":["3.27.0"],"from":["GHSA-h8vq-8gpg-mhcg"],"provenance":"source"}],"summary":{"text":"Twig, the PHP template language, has a sandbox property-allowlist bypass in its column filter, which fails to pass the current template source to the sandbox's property check, so SourcePolicyInterface decisions are lost; this affects versions before 3.27.0. An attacker who can author or control a template running in the sandbox, with low-complexity access and no user interaction required, can read public or magic properties that the sandbox policy is meant to block, and this requires low privileges.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:57:49Z"},"euvd":{"id":"EUVD-2026-44512","exploited":false,"provenance":"source"}}