{"id":"USN-8408-1","summary":"php-twig vulnerability","details":"It was discovered that Twig did not properly validate PHP callables when\nusing a source policy. An authenticated user could possibly use this issue\nto execute arbitrary code.","modified":"2026-06-09T03:29:12.946977941Z","published":"2026-06-08T19:36:58Z","related":["UBUNTU-CVE-2026-24425"],"upstream":["CVE-2026-24425","UBUNTU-CVE-2026-24425"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-8408-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-24425"}],"affected":[{"package":{"name":"php-twig","ecosystem":"Ubuntu:Pro:26.04:LTS","purl":"pkg:deb/ubuntu/php-twig?arch=source&distro=esm-apps%2Fresolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.23.0-2ubuntu0.1~esm1"}]}],"versions":["3.20.0-2ubuntu1","3.23.0-2build5","3.23.0-2build7"],"ecosystem_specific":{"binaries":[{"binary_version":"3.23.0-2ubuntu0.1~esm1","binary_name":"php-twig"},{"binary_name":"php-twig-cache-extra","binary_version":"3.23.0-2ubuntu0.1~esm1"},{"binary_version":"3.23.0-2ubuntu0.1~esm1","binary_name":"php-twig-cssinliner-extra"},{"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_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"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8408-1.json","cves_map":{"cves":[{"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"}],"id":"CVE-2026-24425"}],"ecosystem":"Ubuntu:Pro:26.04:LTS"}}}],"schema_version":"1.7.5"}