CVE-2026-50221: [OSSA-2026-024] OpenStack Swift: Swift proxy-server SSRF via header injection (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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
OpenStack Swift proxy-serverto a version that resolves this vulnerability.Fixed in 2.37.2Patch OSSA-2026-024 - Configuration
Ensure proxy-server strips/removes 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.
OpenStack Swift proxy-server Header stripping for internal update headers (X-Container-Host, X-Container-Device, X-Delete-At-Host, X-Delete-At-Device) = strip/remove from client requests before forwarding to object-servers
Event History
Frequently Asked Questions
What is the severity of CVE-2026-50221?
The severity of CVE-2026-50221 is rated as medium with a score of 5.3.
What type of vulnerability is CVE-2026-50221?
CVE-2026-50221 is classified as a Server-Side Request Forgery (SSRF) vulnerability.
How does CVE-2026-50221 affect OpenStack Swift?
CVE-2026-50221 affects OpenStack Swift by allowing authenticated users with write access to inject internal update headers in requests.
What version of OpenStack Swift is affected by CVE-2026-50221?
CVE-2026-50221 affects OpenStack Swift versions before 2.37.2.
How can I mitigate CVE-2026-50221?
To mitigate CVE-2026-50221, upgrade OpenStack Swift to version 2.37.2 or later.