39 matches found
CVE-2026-133767
When the parent of an embed tag was an expression other than a string or a variable, the sandbox didn't see that expression. The functions, filters and tests of the expression weren't checked against the policy, and neither were its conversions to strings. A sandboxed template allowed to use embe...
CVE-2026-133767
The Twig template engine is vulnerable to a sandbox allow-list and __toString() bypass. When the parent of an embed tag is an expression other than a string or variable, the sandbox fails to see that expression, allowing it to bypass policy checks on functions, filters, tests, and __toString() me...
CVE-2026-133767 Sandbox allow-list and `__toString()` bypass via a dynamic `embed` parent expression
When the parent of an embed tag was an expression other than a string or a variable, the sandbox didn't see that expression. The functions, filters and tests of the expression weren't checked against the policy, and neither were its conversions to strings. A sandboxed template allowed to use embe...
CVE-2026-133767 Sandbox allow-list and `__toString()` bypass via a dynamic `embed` parent expression
When the parent of an embed tag was an expression other than a string or a variable, the sandbox didn't see that expression. The functions, filters and tests of the expression weren't checked against the policy, and neither were its conversions to strings. A sandboxed template allowed to use embe...
CVE-2026-133765
The Twig template engine (version 3.23.0 and above) contained a sandbox policy bypass where assignment and destructuring expressions (e.g., x = obj, [a] = list) did not have their results checked. This allowed a sandboxed template to trigger a denied toString() method during string conversion. Th...
CVE-2026-133764
The Twig template engine sandbox contains a policy bypass where it fails to check the input of custom tests before they are converted to strings. A PHP callable within a custom test may convert input to a string (e.g., if the parameter is typed as a string), causing PHP to call toString() on an o...
Exploit for CVE-2026-129474
CVE-2026-129474 -- PHP Magic Method Backtrace Use-After-Free...
CVE-2026-48807
Twig is a template language for PHP. Prior to 3.27.0, the sandbox toString checks do not fully cover Traversable values passed to join and replace filters or operands evaluated by the in and not in operators, allowing contained Stringable objects to be coerced to strings without consulting the...
CVE-2026-48806
Twig is a template language for PHP. Prior to 3.27.0, ArrayExpression does not guard dynamic mapping keys that are coerced to strings, allowing PHP to invoke toString on a Stringable object used as a mapping key without calling SandboxExtension::ensureToStringAllowed. This issue is fixed in versi...
CVE-2026-47732
Twig Sandbox: multiple __toString() policy bypasses via unguarded string coercion points existed prior to 3.26.0, enabling string coercion of Stringable operands through various constructs (conditional expressions, matches operator, loose comparisons, tests, template-loading tags, dynamic attribu...
CVE-2026-47732: Incorrect Authorization
Twig is a template language for PHP. Prior to 3.26.0, several Twig language constructs trigger PHP string coercion on a Stringable operand without consulting SecurityPolicy::checkMethodAllowed, allowing a sandboxed template author to invoke toString on objects reachable in the render context...
CVE-2026-48806: Protection Mechanism Failure
Twig is a template language for PHP. Prior to 3.27.0, ArrayExpression does not guard dynamic mapping keys that are coerced to strings, allowing PHP to invoke toString on a Stringable object used as a mapping key without calling SandboxExtension::ensureToStringAllowed. This issue is fixed in versi...
CVE-2026-48807: Protection Mechanism Failure
Twig is a template language for PHP. Prior to 3.27.0, the sandbox toString checks do not fully cover Traversable values passed to join and replace filters or operands evaluated by the in and not in operators, allowing contained Stringable objects to be coerced to strings without consulting the...
CVE-2026-41230
Froxlor is open source server administration software. Prior to version 2.3.6, "DomainZones::add" accepts arbitrary DNS record types without a whitelist and does not sanitize newline characters in the "content" field. When a DNS type not covered by the if/elseif validation chain is submitted e.g....
EUVD-2022-1558
Malicious code in bioql PyPI...
CVE-2024-51754
Twig is a template language for PHP. In a sandbox, an attacker can call toString on an object even if the toString method is not allowed by the security policy when the object is part of an array or an argument list arguments to a function or a filter for instance. This issue has been patched in...
GHSA-6377-HFV9-HQF6 Twig has unguarded calls to `__toString()` when nesting an object into an array
Description In a sandbox, an attacker can call toString on an object even if the toString method is not allowed by the security policy when the object is part of an array or an argument list arguments to a function or a filter for instance. Resolution The sandbox mode now checks the toString meth...
Twig has unguarded calls to `__toString()` when nesting an object into an array
Description In a sandbox, an attacker can call toString on an object even if the toString method is not allowed by the security policy when the object is part of an array or an argument list arguments to a function or a filter for instance. Resolution The sandbox mode now checks the toString meth...
CVE-2024-51754
Twig is a template language for PHP. In a sandbox, an attacker can call "toString" on an object even if the "toString" method is not allowed by the security policy when the object is part of an array or an argument list arguments to a function or a filter for instance. This issue has been patched...
CVE-2024-51754 Unguarded calls to __toString() when nesting an object into an array in Twig
Twig is a template language for PHP. In a sandbox, an attacker can call toString on an object even if the toString method is not allowed by the security policy when the object is part of an array or an argument list arguments to a function or a filter for instance. This issue has been patched in...