Read the docs
TI-2019-07311 Aliases CVE-2019-9942GHSA-vxrc-68xx-x48g

A sandbox information disclosure exists in Twig before 1.38.0 and 2.x before 2.7.0…

Priority LOW 20CWE-200Published · Updated

Key facts

Attack vector
Network
Privileges required
None
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 · NVD. Fix status from CNA and GitHub. Impact type from CWE-200.

Summary

A sandbox information disclosure exists in Twig before 1.38.0 and 2.x before 2.7.0 because, under some circumstances, it is possible to call the __toString() method on an object even if not allowed by the security policy in place.

Why it matters now

EPSS 0.01405 72nd percentileScored 2026-11-07
Fix Fixed twig/twig (Packagist): 1.38.0, 2.7.0

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
—twig/twig (Packagist)before 1.38.01.38.0Patch availableGHSA-vxrc-68xx-x48g
—twig/twig (Packagist)2.0.0 to before 2.7.02.7.0Patch availableGHSA-vxrc-68xx-x48g
  • — Vendor— Affected all versions Fixed in — No fix listed CNA
  • twig/twig (Packagist) Vendor— Affected before 1.38.0 Fixed in 1.38.0 Patch available GHSA-vxrc-68xx-x48g
  • twig/twig (Packagist) Vendor— Affected 2.0.0 to before 2.7.0 Fixed in 2.7.0 Patch available GHSA-vxrc-68xx-x48g

CPE configurations NVD · 2

CPEVersionsRoleVendor
cpe:2.3:a:symfony:twig:*:*:*:*:*:*:*:*before 1.38.0; 2.0.0 to before 2.7.0Vulnerablesymfony
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*9.0VulnerableDebian
  • cpe:2.3:a:symfony:twig:*:*:*:*:*:*:*:* Versions before 1.38.0; 2.0.0 to before 2.7.0 Vulnerable ·symfony
  • cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* Versions 9.0 Vulnerable ·Debian

Remediation

  • Fix · GHSA-vxrc-68xx-x48g twig/twig (Packagist) Fixed in 1.38.0 Advisory →
  • Fix · GHSA-vxrc-68xx-x48g twig/twig (Packagist) Fixed in 2.7.0 Advisory →

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2019-9942
  2. 2026-10-03 Alias added: GHSA-vxrc-68xx-x48g

References

Sources