Skip to content
Ubuntu 26.04 LTS php-twig Severe Arbitrary Code Execution Flaw USN-8408

Ubuntu 26.04 LTS php-twig Severe Arbitrary Code Execution Flaw USN-8408

Linuxsecurity LinuxSecurity Advisories June 9, 2026

A security issue affects these releases of Ubuntu and its derivatives: - Ubuntu 26.04 LTS Summary: Twig could be made to run programs if it received specially crafted network traffic from an authenticated user. Software Description: - php-twig: Flexible, fast, and secure template engine for PHP Details: 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.

The problem can be corrected by updating your system to the following package versions: Ubuntu 26.04 LTS php-twig 3.23.0-2ubuntu0.1~esm1 Available with Ubuntu Pro In general, a standard system update will make all the necessary changes.

Ubuntu Security Notice USN-8408-1

Get the latest Linux and open source security news straight to your inbox.

Extracted Entities

Companies (1)

Platforms (2)