RCE in Symfony
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub.
Summary
In Symfony before versions 4.4.13 and 5.1.5, the CachingHttpClient class from the HttpClient Symfony component relies on the HttpCache class to handle requests. HttpCache uses internal headers like X-Body-Eval and X-Body-File to control the restoration of cached responses. The class was initially written with surrogate caching and ESI support in mind (all HTTP calls come from a trusted backend in that scenario). But when used by CachingHttpClient and if an attacker can control the response for a request being made by the CachingHttpClient, remote code execution is possible. This has been fixed in versions 4.4.13 and 5.1.5.
Why it matters now
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 |
|---|---|---|---|---|---|
| symfony | symfony | 4.4.0 to before 4.4.13; 5.0.0 to before 5.1.5 | 4.4.13, 5.1.5 | Patch available | CNA |
| — | symfony/http-kernel (Packagist) | 4.3.0 to before 4.4.13 | 4.4.13 | Patch available | GHSA-754h-5r27-7x3r |
| — | symfony/http-kernel (Packagist) | 5.0.0 to before 5.1.5 | 5.1.5 | Patch available | GHSA-754h-5r27-7x3r |
| — | symfony/symfony (Packagist) | 4.3.0 to before 4.4.13 | 4.4.13 | Patch available | GHSA-754h-5r27-7x3r |
| — | symfony/symfony (Packagist) | 5.0.0 to before 5.1.5 | 5.1.5 | Patch available | GHSA-754h-5r27-7x3r |
- symfony Vendorsymfony Affected 4.4.0 to before 4.4.13; 5.0.0 to before 5.1.5 Fixed in 4.4.13, 5.1.5 Patch available CNA
- symfony/http-kernel (Packagist) Vendor— Affected 4.3.0 to before 4.4.13 Fixed in 4.4.13 Patch available GHSA-754h-5r27-7x3r
- symfony/http-kernel (Packagist) Vendor— Affected 5.0.0 to before 5.1.5 Fixed in 5.1.5 Patch available GHSA-754h-5r27-7x3r
- symfony/symfony (Packagist) Vendor— Affected 4.3.0 to before 4.4.13 Fixed in 4.4.13 Patch available GHSA-754h-5r27-7x3r
- symfony/symfony (Packagist) Vendor— Affected 5.0.0 to before 5.1.5 Fixed in 5.1.5 Patch available GHSA-754h-5r27-7x3r
CPE configurations NVD · 4
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:sensiolabs:httpclient:*:*:*:*:*:*:*:* | 4.4.0 to before 4.4.13; 5.1.0 to before 5.1.5 | Vulnerable | sensiolabs |
| cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:* | 4.4.0 to before 4.4.13; 5.1.0 to before 5.1.5 | Vulnerable | sensiolabs |
| cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:* | 32 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* | 33 | Vulnerable | Fedoraproject |
- cpe:2.3:a:sensiolabs:httpclient:*:*:*:*:*:*:*:* Versions 4.4.0 to before 4.4.13; 5.1.0 to before 5.1.5 Vulnerable ·sensiolabs
- cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:* Versions 4.4.0 to before 4.4.13; 5.1.0 to before 5.1.5 Vulnerable ·sensiolabs
- cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:* Versions 32 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* Versions 33 Vulnerable ·Fedoraproject
Remediation
- Fix · CNA symfony (symfony) Fixed in 4.4.13, 5.1.5
- Fix · GHSA-754h-5r27-7x3r symfony/http-kernel (Packagist) Fixed in 4.4.13 Advisory →
- Fix · GHSA-754h-5r27-7x3r symfony/http-kernel (Packagist) Fixed in 5.1.5 Advisory →
- Fix · GHSA-754h-5r27-7x3r symfony/symfony (Packagist) Fixed in 4.4.13 Advisory →
- Fix · GHSA-754h-5r27-7x3r symfony/symfony (Packagist) Fixed in 5.1.5 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2020-15094
- 2026-10-03 Alias added: GHSA-754h-5r27-7x3r
References
Advisory 6
Other 6
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/http-kernel/CVE-2020-15094.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2020-15094.yaml
- https://github.com/symfony/symfony
- https://lists.fedoraproject.org/archives/list/[email protected]/message/HNGUWOEETOFVH4PN3I3YO4QZHQ4AUKF3
- https://lists.fedoraproject.org/archives/list/[email protected]/message/VAQJXAKWPMWB7OL6QPG2ZSEQZYYPU5RC
- https://symfony.com/cve-2020-15094
More symfony vulnerabilities
- 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
Sources
- CVE-2020-15094 · CVE Program
- CVE-2020-15094 · NVD
- FIRST EPSS
- GHSA-754h-5r27-7x3r · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences