Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

debian логотип

CVE-2026-24425

Опубликовано: 20 мая 2026
Источник: debian

Описание

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.

Пакеты

ПакетСтатусВерсия исправленияРелизТип
php-twigfixed3.26.0-1package
php-twignot-affectedbookwormpackage
php-twignot-affectedbullseyepackage

Примечания

  • https://github.com/twigphp/Twig/security/advisories/GHSA-2q52-x2ff-qgfr

  • https://symfony.com/blog/cve-2026-24425-possible-sandbox-bypass-when-using-a-source-policy

Связанные уязвимости

CVSS3: 8.8
ubuntu
3 месяца назад

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.

CVSS3: 8.8
nvd
3 месяца назад

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.

CVSS3: 8.8
github
3 месяца назад

Twig: Possible sandbox bypass when using a source policy