It was discovered that Twig did not properly validate PHP callables when using a source policy. An authenticated user could possibly use this issue to execute arbitrary code.
{
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "php-twig",
"binary_version": "3.23.0-2ubuntu0.1~esm1"
},
{
"binary_name": "php-twig-cache-extra",
"binary_version": "3.23.0-2ubuntu0.1~esm1"
},
{
"binary_name": "php-twig-cssinliner-extra",
"binary_version": "3.23.0-2ubuntu0.1~esm1"
},
{
"binary_name": "php-twig-extra-bundle",
"binary_version": "3.23.0-2ubuntu0.1~esm1"
},
{
"binary_name": "php-twig-html-extra",
"binary_version": "3.23.0-2ubuntu0.1~esm1"
},
{
"binary_name": "php-twig-inky-extra",
"binary_version": "3.23.0-2ubuntu0.1~esm1"
},
{
"binary_name": "php-twig-intl-extra",
"binary_version": "3.23.0-2ubuntu0.1~esm1"
},
{
"binary_name": "php-twig-markdown-extra",
"binary_version": "3.23.0-2ubuntu0.1~esm1"
},
{
"binary_name": "php-twig-string-extra",
"binary_version": "3.23.0-2ubuntu0.1~esm1"
}
]
}
{
"ecosystem": "Ubuntu:Pro:26.04:LTS",
"cves": [
{
"id": "CVE-2026-24425",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
},
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"
},
{
"type": "CVSS_V4",
"score": "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"
},
{
"type": "Ubuntu",
"score": "medium"
}
]
}
]
}
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8408-1.json"