Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-133763
Published:November 24, 2026
Updated:November 29, 2026
The sandbox checks that a template may call toString() on an object before converting it to a string. For an object, the is true test evaluates to the object itself, and that result wasn't checked. A sandboxed template could therefore print an object through a denied toString() method: {{ obj is true }} The same applies when the result is concatenated or passed to a filter. No tag needs to be allowed. A test in a boolean context, like {% if obj is true %}, isn't affected, since it doesn't convert the object to a string. The sandbox now checks the result of tests like the result of filters and functions.
Affected Packages
https://github.com/twigphp/Twig.git (GITHUB):
Affected version(s) >=v3.21.0 <v3.31.1
Fix Suggestion:
Update to version v3.31.1
https://github.com/twigphp/Twig.git (GITHUB):
Affected version(s) =v4.0.0-alpha1 <v4.0.0-beta1
Fix Suggestion:
Update to version v4.0.0-beta1
twig/twig (PHP):
Affected version(s) =v4.0.0-alpha1 <v4.0.0-beta1
Fix Suggestion:
Update to version v4.0.0-beta1
twig/twig (PHP):
Affected version(s) >=v3.21.0 <v3.31.1
Fix Suggestion:
Update to version v3.31.1
Do you need more information?
Contact Us
CVSS v4
Base Score:
5.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
4.3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
Incorrect Authorization
Protection Mechanism Failure
EPSS
Base Score:
0.53