USN-8408-1

Type: Security
Severity: Medium
Published: 2026-06-08
Ubuntu 26.04 LTS (Resolute Raccoon)

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. Update Instructions: Run `sudo pro fix USN-8408-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: php-twig - 3.23.0-2ubuntu0.1~esm1 php-twig-cache-extra - 3.23.0-2ubuntu0.1~esm1 php-twig-cssinliner-extra - 3.23.0-2ubuntu0.1~esm1 php-twig-doc - 3.23.0-2ubuntu0.1~esm1 php-twig-extra-bundle - 3.23.0-2ubuntu0.1~esm1 php-twig-html-extra - 3.23.0-2ubuntu0.1~esm1 php-twig-inky-extra - 3.23.0-2ubuntu0.1~esm1 php-twig-intl-extra - 3.23.0-2ubuntu0.1~esm1 php-twig-markdown-extra - 3.23.0-2ubuntu0.1~esm1 php-twig-string-extra - 3.23.0-2ubuntu0.1~esm1 Available with Ubuntu Pro: https://ubuntu.com/pro

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-28T04:50:43.236Z UTC

Official vendor advisory

Ubuntu 26.04 LTS (Resolute Raccoon)

View source
Observed 2026-11-28T04:50:43.236Z UTC. Last updated 2026-06-10T13:16:57.350Z UTC.

Upstream Advisory

Affected Packages

  • php-twig 3.23.0-2ubuntu0.1~esm1-3.23.0-2ubuntu0.1~esm1

  • php-twig-cache-extra 3.23.0-2ubuntu0.1~esm1-3.23.0-2ubuntu0.1~esm1

  • php-twig-cssinliner-extra 3.23.0-2ubuntu0.1~esm1-3.23.0-2ubuntu0.1~esm1

  • php-twig-doc 3.23.0-2ubuntu0.1~esm1-3.23.0-2ubuntu0.1~esm1

  • php-twig-extra-bundle 3.23.0-2ubuntu0.1~esm1-3.23.0-2ubuntu0.1~esm1

  • php-twig-html-extra 3.23.0-2ubuntu0.1~esm1-3.23.0-2ubuntu0.1~esm1

  • php-twig-inky-extra 3.23.0-2ubuntu0.1~esm1-3.23.0-2ubuntu0.1~esm1

  • php-twig-intl-extra 3.23.0-2ubuntu0.1~esm1-3.23.0-2ubuntu0.1~esm1

  • php-twig-markdown-extra 3.23.0-2ubuntu0.1~esm1-3.23.0-2ubuntu0.1~esm1

  • php-twig-string-extra 3.23.0-2ubuntu0.1~esm1-3.23.0-2ubuntu0.1~esm1

Interested in being alerted when there are new versions of php-twig and the other packages? Set up an alert.
USN-8408-1: Twig vulnerability | Package Alert