---
title: "CVE-2026-133770"
canonical_url: "https://pkgseek.com/security/CVE-2026-133770"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "unknown"
---

# CVE-2026-133770

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('&lt;script&gt;alert(1)&lt;/script&gt;', '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 M…

CVE-2026-133770 is rated UNKNOWN, with 10 indexed affected package builds across 1 distributions.

- **Severity / Score**: UNKNOWN
- **Affected builds**: 10
- **Affected distros**: 1
- **Distros with fixed_in**: None recorded in sample

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Debian | trixie | php-twig | 3.27.0-0+deb13u1 | — |
| Debian | trixie | php-twig-cache-extra | 3.27.0-0+deb13u1 | — |
| Debian | trixie | php-twig-cssinliner-extra | 3.27.0-0+deb13u1 | — |
| Debian | trixie | php-twig-doc | 3.27.0-0+deb13u1 | — |
| Debian | trixie | php-twig-extra-bundle | 3.27.0-0+deb13u1 | — |
| Debian | trixie | php-twig-html-extra | 3.27.0-0+deb13u1 | — |
| Debian | trixie | php-twig-inky-extra | 3.27.0-0+deb13u1 | — |
| Debian | trixie | php-twig-intl-extra | 3.27.0-0+deb13u1 | — |
| Debian | trixie | php-twig-markdown-extra | 3.27.0-0+deb13u1 | — |
| Debian | trixie | php-twig-string-extra | 3.27.0-0+deb13u1 | — |
