CVE-2026-133766 in twig/twig
Exploitation of this CVE does not show up in logs, so there is no detection rule for it.
What the vulnerability is
Since Twig 3.28.0, the sandbox skips the toString() check of an argument whose PHP parameter can't hold a string, like an int. A spread argument was mapped to a single parameter, although it fills every parameter from its position on. A sandboxed template could therefore call a denied toString() method: {{ tag(...[1, obj]) }} Here, the first parameter of tag() is an int, and a later one accepts strings. Applications are affected when they allow such a function, filter or test in the sandbox. No built-in callable is affected. A spread argument is now checked unless every parameter that it can fill has a safe type.
Affected software: twig/twig
Scores
- CVSS: 2.3 (low)
- EPSS: 0.53% chance of exploitation in the next 30 days
- CISA KEV: Not listed
- Published: 2026-11-24
What LogPulse has for it
- Detection rule: No
- Agent check (vulnerable version): No
- Mitigation: No
Source data: NIST NVD, CISA KEV and FIRST EPSS. LogPulse processes new CVEs every hour.
We build every detection with great care, but no two environments are the same. Log sources, parsing and configuration differ, so test a detection in your own environment before you rely on it.