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.
{
"binaries": [
{
"binary_version": "3.23.0-2ubuntu0.1~esm1",
"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"
}
],
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro"
}
{
"ecosystem": "Ubuntu:Pro:26.04:LTS",
"cves": [
{
"id": "CVE-2026-24425",
"severity": [
{
"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_V3"
},
{
"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": "CVSS_V4"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
}
]
}
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8408-1.json"