CVE-2026-133764 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
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.
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.