Vulnerability record · CVE-2019-9942 · published 23 March 2019
CVE-2019-9942: Symfony twig vulnerability
Symfony · Twig
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.
Description
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.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
Affected products
2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://github.com/twigphp/Twig/commit/eac5422956e1dcca89a3669a03a3ff32f0502077 | PatchThird Party Advisory |
| https://seclists.org/bugtraq/2019/Mar/60 | Mailing ListThird Party Advisory |
| https://symfony.com/blog/twig-sandbox-information-disclosure | PatchVendor Advisory |
| https://www.debian.org/security/2019/dsa-4419 | Third Party Advisory |
| https://github.com/twigphp/Twig/commit/eac5422956e1dcca89a3669a03a3ff32f0502077 | PatchThird Party Advisory |
| https://seclists.org/bugtraq/2019/Mar/60 | Mailing ListThird Party Advisory |
| https://symfony.com/blog/twig-sandbox-information-disclosure | PatchVendor Advisory |
| https://www.debian.org/security/2019/dsa-4419 | Third Party Advisory |
Track CVE-2019-9942 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2019-9942), CISA KEV, FIRST EPSS (scores of 2026-10-13). This page is refreshed as NVD updates the record.