Answer in brief
CVE-2026-133764 records a Low severity (CVSS 2.3) vulnerability in Sandbox `__toString()` policy bypass via the input of custom tests. 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.3. 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 checks that a template may call toString() on an object before converting it to a string. It didn't check the input of tests. The PHP callable of a test may convert this input to a string, for example when its parameter is typed as string. PHP then calls toString() on an object without the sandbox checking it first: {{ obj is upperish }} Applications are affected when they register such a test and allow it in the sandbox. No built-in test is affected. The sandbox now checks the input of tests like the input of filters. The built-in tests that never convert their input to a string still skip the check.
Quoted source text, attributed separately from HOL analysis.