{"id":78664,"date":"2026-05-20T17:46:38","date_gmt":"2026-05-20T14:16:38","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2026-24425-twig-2-16-x-3-9-0-3-25-x-sandbox-bypass-via-sourcepolicyinterface\/"},"modified":"2026-05-20T17:46:38","modified_gmt":"2026-05-20T14:16:38","slug":"cve-2026-24425-twig-2-16-x-3-9-0-3-25-x-sandbox-bypass-via-sourcepolicyinterface","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2026-24425-twig-2-16-x-3-9-0-3-25-x-sandbox-bypass-via-sourcepolicyinterface\/","title":{"rendered":"CVE-2026-24425 &#8211; Twig 2.16.x &amp; 3.9.0-3.25.x Sandbox Bypass via SourcePolicyInterface"},"content":{"rendered":"<p>CVE ID :CVE-2026-24425<\/p>\n<p>  Published : May 20, 2026, 2:16 p.m. | 41\u00a0minutes ago<\/p>\n<p>  Description :Twig versions 2.16.x and 3.9.0 through 3.25.x contain a sandbox bypass vulnerability when using a SourcePolicyInterface that allows attackers with template rendering capabilities to pass arbitrary PHP callables to sort, filter, map, and reduce filters. Attackers can exploit the runtime check that fails to use the current template source to bypass sandbox restrictions and execute arbitrary code when the sandbox is enabled through a source policy rather than globally.<\/p>\n<p>  Severity: 8.8 | HIGH<\/p>\n<p>  Visit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID :CVE-2026-24425 Published : May 20, 2026, 2:16 p.m. | 41\u00a0minutes ago Description :Twig versions 2.16.x and 3.9.0 through 3.25.x contain a sandbox bypass vulnerability when using a SourcePolicyInterface that allows attackers with template rendering capabilities to pass arbitrary PHP callables to sort, filter, map, and reduce filters. Attackers can exploit the runtime check &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-78664","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/78664","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=78664"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/78664\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=78664"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=78664"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=78664"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}