DEBIAN-CVE-2026-133770

Source
https://security-tracker.debian.org/tracker/CVE-2026-133770
Import Source
https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-133770.json
JSON Data
https://api.osv.dev/v1/vulns/DEBIAN-CVE-2026-133770
Upstream
Published
2026-11-24T13:17:25Z
Modified
2026-11-27T04:00:18Z
Severity
  • 2.1 (Low) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X CVSS Calculator
Summary
[none]
Details

The sandbox allows every method of Twig\Markup objects, including their public constructor. A sandboxed template can therefore call __construct() on any Markup object that it reaches, and replace its content: {% do banner.__construct('', 'UTF-8') %} A template gains nothing by rewriting its own output. The impact is on the Markup objects that come from the application and are also rendered elsewhere, like a global in a long-running worker. Their new content then ends up in trusted pages that aren't sandboxed. The sandbox no longer allows calling the constructor of Markup objects.

References

Affected packages

Debian:12 / php-twig

Package

Name
php-twig
Purl
pkg:deb/debian/php-twig?arch=source&distro=bookworm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

3.*
3.5.1-1
3.5.1-1+deb12u1
3.5.1-1+deb12u2
3.5.1-1+deb12u3
3.6.0-1
3.6.1-1
3.7.0-1
3.7.1-1
3.7.1-2
3.7.1-3
3.8.0-1
3.8.0-2
3.8.0-3
3.8.0-4
3.9.3-1
3.10.1-1
3.10.3-1
3.11.0-1
3.13.0-1
3.14.0-1
3.14.0-2
3.14.0-3
3.14.0-4
3.14.2-1
3.14.2-2
3.14.2-3
3.15.0-1
3.15.0-2
3.17.1-1
3.17.1-2
3.18.0-1
3.18.0-2
3.18.0-4
3.18.0-5
3.18.0-6
3.18.0-7
3.19.0-1~bootstrap
3.19.0-1
3.20.0-1~bootstrap
3.20.0-1
3.20.0-2
3.21.1-1
3.21.1-2
3.21.1-3
3.22.0-1
3.22.0-2
3.22.1-1
3.22.1-2
3.22.1-3
3.22.2-1
3.22.2-2
3.23.0-1
3.23.0-2
3.24.0-1
3.26.0-1
3.27.0-1
3.27.1-1
3.28.0-1
3.30.0-1
3.31.0-1
3.31.1-1
4.*
4.0.0~alpha1-1
4.0.0~beta1-1

Ecosystem specific

{
    "urgency":  "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-133770.json"

Debian:13 / php-twig

Package

Name
php-twig
Purl
pkg:deb/debian/php-twig?arch=source&distro=trixie

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

3.*
3.20.0-2
3.21.1-1
3.21.1-2
3.21.1-3
3.22.0-1
3.22.0-2
3.22.1-1
3.22.1-2
3.22.1-3
3.22.2-1
3.22.2-2
3.23.0-1
3.23.0-2
3.24.0-1
3.26.0-0+deb13u1
3.26.0-1
3.27.0-0+deb13u1
3.27.0-1
3.27.1-1
3.28.0-1
3.30.0-1
3.31.0-1
3.31.1-1
4.*
4.0.0~alpha1-1
4.0.0~beta1-1

Ecosystem specific

{
    "urgency":  "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-133770.json"

Debian:14 / php-twig

Package

Name
php-twig
Purl
pkg:deb/debian/php-twig?arch=source&distro=forky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
3.31.1-1

Affected versions

3.*
3.20.0-2
3.21.1-1
3.21.1-2
3.21.1-3
3.22.0-1
3.22.0-2
3.22.1-1
3.22.1-2
3.22.1-3
3.22.2-1
3.22.2-2
3.23.0-1
3.23.0-2
3.24.0-1
3.26.0-1
3.27.0-1
3.27.1-1
3.28.0-1
3.30.0-1
3.31.0-1

Ecosystem specific

{
    "urgency":  "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-133770.json"