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
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | twig/twig (Packagist) | before 1.38.0 | 1.38.0 | Patch available | GHSA-vxrc-68xx-x48g |
| — | twig/twig (Packagist) | 2.0.0 to before 2.7.0 | 2.7.0 | Patch available | GHSA-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
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
Timeline
- 2026-10-02 Threatist record created from CVE-2019-9942
- 2026-10-03 Alias added: GHSA-vxrc-68xx-x48g
References
Patch 2
Advisory 3
Sources
- CVE-2019-9942 · CVE Program
- CVE-2019-9942 · NVD
- FIRST EPSS
- GHSA-vxrc-68xx-x48g · GitHub Advisory Database · CC BY 4.0
- CVE-2019-9942 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences