CVE-2021-41267 in Sensiolabs Symfony
Symfony/Http-Kernel is the HTTP kernel component for Symfony, a PHP framework for web and console applications and a set of reusable PHP components. Headers that are not part of the "trusted_headers" allowed list are ignored and protect users from "Cache poisoning" attacks. In Symfony 5.2, maintainers added support ...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, requires user interaction, impact contained to the vulnerable component, no confidentiality impact, full integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Sensiolabs | Symfony | ≥ 5.2.0, < 5.3.12 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
Symfony/Http-Kernel is the HTTP kernel component for Symfony, a PHP framework for web and console applications and a set of reusable PHP components. Headers that are not part of the "trusted_headers" allowed list are ignored and protect users from "Cache poisoning" attacks. In Symfony 5.2, maintainers added support for the `X-Forwarded-Prefix` headers, but this header was accessible in SubRequest, even if it was not part of the "trusted_headers" allowed list. An attacker could leverage this opportunity to forge requests containing a `X-Forwarded-Prefix` header, leading to a web cache poisoning issue. Versions 5.3.12 and later have a patch to ensure that the `X-Forwarded-Prefix` header is not forwarded to subrequests when it is not trusted.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2021-41267 |
|---|---|
| BreachSpider ID | BS-2021-GLOBAL-072974-M |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
| Published | 2021-11-24 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-444: CWE-444
Related attack patterns (CAPEC)
CAPEC-33 HTTP Request Smuggling via CWE-444
CAPEC-273 HTTP Response Smuggling via CWE-444
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
CVE-2021-41267 affects Symfony/Http-Kernel in Symfony 5.2, where the `X-Forwarded-Prefix` header is accessible in SubRequest, potentially leading to cache poisoning attacks if not properly configured.
An attacker can exploit this vulnerability by injecting malicious `X-Forwarded-Prefix` headers in a subrequest, which could lead to cache poisoning if the application is not configured to trust only specific headers.
Questions
What is CVE-2021-41267?
CVE-2021-41267 affects Symfony/Http-Kernel in Symfony 5.2, where the `X-Forwarded-Prefix` header is accessible in SubRequest, potentially leading to cache poisoning attacks if not properly configured.
What is the CVSS score for CVE-2021-41267?
CVE-2021-41267 has CVSS 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N. EPSS: 1.3%.
Is CVE-2021-41267 actively exploited?
No confirmed active exploitation of CVE-2021-41267 as of 2026-09-25.
How do I remediate CVE-2021-41267?
Priority: MEDIUM.
What systems are affected by CVE-2021-41267?
CVE-2021-41267 affects Sensiolabs Symfony.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Sensiolabs","product":"Symfony","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.