Answer in brief
CVE-2026-133770 records a Low severity (CVSS 2.1) vulnerability in Sandboxed templates can rewrite application-owned `Markup` objects through their constructor. The current sources do not mark it as known exploited. The current feed maps Twig/twig/twig (generic). Check affected ranges and fixed versions before updating.
Analysis pending evidence review
HOL Guard separates source facts from reviewed analysis. See the methodology.
CVSS is 2.1. The current sources do not mark it as known exploited. Treat this as a source-backed prioritization signal, not a statement about your environment.
Analysis status
Analysis pending evidence review
Factual feed record only; HOL analysis is not approved for indexing. Read the methodology.
The current feed maps Twig/twig/twig (generic). Check affected ranges and fixed versions before updating.
| Package | Affected range | Fixed version |
|---|---|---|
| Twig/twig/twiggeneric | >=0 <3.31.1 | 3.31.1 |
Published upstream
Nov 24, 2026
Evidence: source:cvelist:source_dates:source-dates:recordSource modified
Nov 24, 2026
Evidence: source:cvelist:source_dates:source-dates:recordFirst seen by HOL
Nov 24, 2026
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('<script>alert(1)</script>', '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.
Quoted source text, attributed separately from HOL analysis.