CVE-2026-50221
Description
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.
Weakness
- CWE-918: Server-Side Request Forgery
CISA SSVC decision points
| Exploitation | none |
|---|---|
| Automatable | no |
| Technical impact | partial |
| Scored | 2026-06-23 |
Timeline
- 2026-06-23Published by the CNA17:03 UTC
- 2026-06-23GitHub advisory published (GHSA-h8rc-w822-q8vq)same day
- 2026-06-23CISA SSVC decision recordedsame day
Exploit and advisory records
GitHub advisory GHSA-h8rc-w822-q8vq, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| PyPI swift | before 2.37.2 | 2.37.2 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| openstack swift | from 2.0.0 before 2.35.3fixed in 2.35.3from 2.36.0 before 2.36.2fixed in 2.36.2from 2.37.0 before 2.37.2fixed in 2.37.2 | 2.35.32.36.22.37.2 |
References
- http://www.openwall.com/lists/oss-security/2026/06/23/5
- https://security.openstack.org/ossa/OSSA-2026-024.html
- https://www.openwall.com/lists/oss-security/2026/06/23/5
- https://launchpad.net/bugs/2150261
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-50221'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-50221'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-50221'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-50221'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).