Read the docs
TI-2024-34660 Aliases CVE-2024-51755GHSA-jjxq-ff2g-95vh

Unguarded calls to __isset() and to array-accesses when the sandbox is enabled in Twig

Priority LOW 12CWE-668Published · Updated

Key facts

Attack vector
Network
Privileges required
High
User interaction
None
Attack complexity
High
Impact type
Information disclosure
Confidentiality · integrity · availability
Low · None · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-668 and the CVSS impact.

Summary

Twig is a template language for PHP. In a sandbox, an attacker can access attributes of Array-like objects as they were not checked by the security policy. They are now checked via the property policy and the `__isset()` method is now called after the security check. This is a BC break. This issue has been patched in versions 3.11.2 and 3.14.1. All users are advised to upgrade. There are no known workarounds for this issue.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00425 37th percentileScored 2026-11-07
Fix Fixed Twig (twigphp): 3.11.2, 3.14.1twig/twig (Packagist): 3.11.2, 3.14.1

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
symfonyTwigbefore 3.11.2; 3.12.0 to before 3.14.13.11.2, 3.14.1Patch availableCNA
—twig/twig (Packagist)before 3.11.23.11.2Patch availableGHSA-jjxq-ff2g-95vh
—twig/twig (Packagist)3.12 to before 3.14.13.14.1Patch availableGHSA-jjxq-ff2g-95vh
  • Twig Vendorsymfony Affected before 3.11.2; 3.12.0 to before 3.14.1 Fixed in 3.11.2, 3.14.1 Patch available CNA
  • twig/twig (Packagist) Vendor— Affected before 3.11.2 Fixed in 3.11.2 Patch available GHSA-jjxq-ff2g-95vh
  • twig/twig (Packagist) Vendor— Affected 3.12 to before 3.14.1 Fixed in 3.14.1 Patch available GHSA-jjxq-ff2g-95vh

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:symfony:twig:*:*:*:*:*:*:*:*——symfony
  • cpe:2.3:a:symfony:twig:*:*:*:*:*:*:*:* Versions — — ·symfony

Remediation

  • Fix · CNA Twig (twigphp) Fixed in 3.11.2, 3.14.1
  • Fix · GHSA-jjxq-ff2g-95vh twig/twig (Packagist) Fixed in 3.11.2 Advisory →
  • Fix · GHSA-jjxq-ff2g-95vh twig/twig (Packagist) Fixed in 3.14.1 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-51755
  2. 2026-10-03 Alias added: GHSA-jjxq-ff2g-95vh

References

  • TI-2024-33775 Ability to change environment from query in symfony/runtime CVSS 3.1HIGH 7.3
  • TI-2026-34283 Twig: The `spaceless` filter implicitly marks its output as safe CVSS 4.0MEDIUM 5.1
  • TI-2022-07667 Code injection in Twig CVSS 3.1CRITICAL 9.8
  • TI-2018-10028 Twig before 2.4.4 allows Server-Side Template Injection (SSTI) via the search search_key… CVSS 3.0CRITICAL 9.8
  • TI-2026-35851 Incorrect authorization in symfony CVSS 4.0HIGH 8.7
  • TI-2026-35264 Improper input validation in symfony CVSS 4.0HIGH 8.3
See all 94 →

Sources