SSRF in OpenStack Swift
CVE-2026-50221
In OpenStack Swift before 2.37.2, proxy-server does not strip internal update headers (X-Container-Host, X-Container-Device, X-Delete-At-Host, X-Delete-At-Device) from client requests before forwarding them to object-servers. An authenticated user with write access can inject these headers to redirect container update requests to an attacker-controlled server, enabling server-side request forgery. The SSRF requests expose internal cluster metadata including storage policy indexes, partition mappings, device names, and when at rest encryption is enabled, cipher text and initialization vectors for the container-level encryption key. The attacker can also cause "ghost listings" in arbitrary containers via the shard-range redirect mechanism.
Vulnerability class: SSRF (Server-Side Request Forgery)
EPSS: 0.001 (4.1th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N.
Affected products
- Openstack Swift — versions 2.0.0, 2.36.0, 2.37.0
Weakness classification (CWE)
References
- cve@mitre.org (issue-tracking, Exploit, Issue Tracking, Vendor Advisory)
- cve@mitre.org (Patch, Mailing List, Third Party Advisory)
- cve@mitre.org (Patch, Vendor Advisory)
- af854a3a-2127-422b-91ae-364da2661108 (Patch, Mailing List, Third Party Advisory)
Frequently asked questions
- What is CVE-2026-50221?
- CVE-2026-50221 is a medium-severity vulnerability in OpenStack Swift, classified under Server-Side Request Forgery (SSRF). CVSS score: 5.4/10. Published 2026-06-23.
- How severe is CVE-2026-50221?
- Medium severity. CVSS v3 base score is 5.4 out of 10.