[USN-8408-1] Twig vulnerability

noreply+usn-bot at canonical.com noreply+usn-bot at canonical.com
Mon Jun 8 20:55:40 UTC 2026


==========================================================================
Ubuntu Security Notice USN-8408-1
June 08, 2026

php-twig vulnerability
==========================================================================

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.

Update instructions:

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.

References:
  https://ubuntu.com/security/notices/USN-8408-1
  CVE-2026-24425
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-security-announce/attachments/20260608/56566b5e/attachment.sig>


More information about the ubuntu-security-announce mailing list