תיאור (מקור, אנגלית)
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.
מוצרים מושפעים
symfony: twig
קישורים3
- github.com/twigphp/Twig/security/advisories/GHSA-2q52-x2ff-qgfr Vendor Advisory
- github.com/twigphp/Twig/releases/tag/v3.26.0 ProductRelease Notes
- www.vulncheck.com/advisories/twig-x-x-sandbox-bypass-via-sourc… Third Party Advisory
מדדים
- CVSS 3.1
-
9.9
CRITICAL
מקור הציון: NVD
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H - CVSS 4.0
-
8.7
HIGH
מקור הציון: CNA
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - EPSS — סבירות ניצול
- 1% אחוזון 56 · נכון ל-14 בנובמבר 2026
- CWE
- CWE-693
האם אפשר לנצל את הפגיעות הזו אצלכם?
עדכון אבטחה סוגר את הפרצה הידועה. בדיקת חדירות מראה לאן תוקף עדיין יכול להגיע — עם הוכחה.