Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
Twig versions below 3.11.2 and from 3.12 up to (not including) 3.14.1 are affected. In sandbox mode, an attacker who can supply template content can reach attributes of array-like objects that the security policy did not check. Upgrade to Twig 3.11.2 or 3.14.1, depending on your branch.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 2.2 | Low | 3.1 | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:N | CNA (GitHub_M) |
- CISA KEV Not listed.
- EPSS 0.0043, the 37th percentile, on 19 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 6 Nov 2024, 18:53 UTC Published by the maintainers as a GitHub repository advisory
- 31 Oct 2026, 14:29 UTC First seen by agentprime
- 31 Oct 2026, 14:29 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-jjxq-ff2g-95vh
- OSV: GHSA-jjxq-ff2g-95vh
- github.com/twigphp/Twig/security/advisories/GHSA-jjxq-ff2g-95vh
- nvd.nist.gov/vuln/detail/CVE-2024-51755
- github.com/twigphp/Twig/commit/831c148e786178e5f2fde9db67266be3bf241c21
- github.com/FriendsOfPHP/security-advisories/blob/master/twig/twig/CVE-2024-51755.yaml
- github.com/twigphp/Twig
- symfony.com/blog/unguarded-calls-to-__isset-and-to-array-accesses-when-the-sandbox-is-enabled