Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2020-15094
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 08:38 UTC · Revision 1
Source evidence
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.
osv:CVE-2020-15094
Complete source record
{
"id": "8e30e6bfc01ab9d22148c7d852be77716895a0889f8c4f126428b12b024864bf",
"url": "https://osv.dev/vulnerability/CVE-2020-15094",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2020-15094",
"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.",
"evidence": "osv:CVE-2020-15094",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2020-15094",
"aliases": [
"BIT-symfony-2020-15094",
"CVE-2020-15094",
"GHSA-754h-5r27-7x3r"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/symfony/http-client",
"type": "GIT",
"events": [
{
"introduced": "233f73babb157deac7289119aa3d0e871bac8def"
},
{
"fixed": "1d06c290f2875cc87ecf64ecd33e62f857530ce4"
},
{
"introduced": "63342eabdc6fc6c12e6b18506a207d16687aa33f"
},
{
"fixed": "21c4372e9cd2305313f4d4792d7b9fa7c25ade53"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:sensiolabs:httpclient:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "4.4.0"
},
{
"fixed": "4.4.13"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:sensiolabs:httpclient:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "5.1.0"
},
{
"fixed": "5.1.5"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v5.1.4",
"v4.4.12",
"v5.1.3",
"v4.4.11",
"v5.1.2",
"v5.1.1",
"v4.4.10",
"v5.1.0",
"v4.4.9",
"v4.4.8",
"v4.4.7",
"v4.4.6",
"v4.4.5",
"v4.4.4",
"v4.4.3",
"v4.4.2",
"v4.4.1",
"v4.4.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-15094.json"
}
},
{
"ranges": [
{
"repo": "https://github.com/symfony/security-http",
"type": "GIT",
"events": [
{
"introduced": "e49361b75e9acbc029b35ae4ba957e712137286b"
},
{
"fixed": "473da00f1244ead079619628a3781622877efdd3"
},
{
"introduced": "6a785d9a0deeb401d7ae540fd0492aca4e6b894e"
},
{
"fixed": "7741021221548e2b5768ec0cf502c91b6c55b209"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "4.4.0"
},
{
"fixed": "4.4.13"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "5.1.0"
},
{
"fixed": "5.1.5"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v5.1.3",
"v4.4.9",
"v4.4.11",
"v4.4.10",
"v5.1.2",
"v5.1.1",
"v5.1.0",
"v4.4.8",
"v4.4.7",
"v4.4.6",
"v4.4.5",
"v4.4.4",
"v4.4.3",
"v4.4.2",
"v4.4.1",
"v4.4.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-15094.json"
}
},
{
"ranges": [
{
"repo": "https://github.com/symfony/symfony",
"type": "GIT",
"events": [
{
"introduced": "625a4dbfdafcb8cea8ff90a62b9c24b28694938d"
},
{
"fixed": "9b8314080fb15e84e030f94488d9e1fa17adb846"
},
{
"introduced": "729e21c65356880bd9488588e726aa8735dcb52f"
},
{
"fixed": "31b6a95fc288617ccfa27aa819d30c0c2201416a"
},
{
"fixed": "d9910e0b33a2e0f993abff41c6fbc86951b66d78"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "4.4.0"
},
{
"fixed": "4.4.13"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "5.1.0"
},
{
"fixed": "5.1.5"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "d9910e0b33a2e0f993abff41c6fbc86951b66d78"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v5.1.4",
"v4.4.12",
"v5.1.3",
"v4.4.11",
"v4.4.10",
"v5.1.2",
"v5.1.1",
"v5.1.0",
"v4.4.9",
"v4.4.8",
"v4.4.7",
"v4.4.6",
"v4.4.5",
"v4.4.4",
"v4.4.3",
"v4.4.2",
"v4.4.1",
"v4.4.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-15094.json"
}
}
],
"modified": "2026-10-24T10:47:48.363394206Z",
"provider": "osv",
"references": [
"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HNGUWOEETOFVH4PN3I3YO4QZHQ4AUKF3/",
"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VAQJXAKWPMWB7OL6QPG2ZSEQZYYPU5RC/",
"https://github.com/symfony/symfony/security/advisories/GHSA-754h-5r27-7x3r",
"https://packagist.org/packages/symfony/http-kernel",
"https://packagist.org/packages/symfony/symfony",
"https://github.com/symfony/symfony/commit/d9910e0b33a2e0f993abff41c6fbc86951b66d78"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*",
"cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*"
],
"vendor_product": "fedoraproject:fedora",
"extracted_events": [
{
"range": [
{
"introduced": "32"
},
{
"last_affected": "32"
},
{
"introduced": "33"
},
{
"last_affected": "33"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2020-15094",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 441560,
"published_at": "2020-09-02T18:15:11.187+00:00"
}