ADVISORIES

Ubuntu CVE Tracker

UBUNTU-CVE-2026-46640

No fix available CVE-2026-46640

Details

Twig is a template language for PHP. From 3.15.0 until 3.26.0, _self.(<string>) and import-alias dynamic attribute syntax can concatenate an attacker-controlled string into a MacroReferenceExpression name without identifier validation, causing raw PHP to be emitted into the generated template source and executed at template-load time. This issue is fixed in version 3.26.0.

Affected packages

EcosystemPackageAffected versions
Ubuntu:Pro:20.04:LTSphp-twig
All versions, no fix listed
Ubuntu:Pro:22.04:LTSphp-twig
All versions, no fix listed
Ubuntu:Pro:24.04:LTSphp-twig
All versions, no fix listed
Ubuntu:25.10php-twig
All versions, no fix listed
Ubuntu:26.10php-twig
All versions, no fix listed
Ubuntu:Pro:26.04:LTSphp-twig
All versions, no fix listed

References