# CVE-2026-50221: swift: In OpenStack Swift before 2.37.2, proxy-server does not strip internal update headers (X-Container-Host, X-Container-...

CVE-2026-50221 is fixed in swift on 1 platform, first by DEBIAN-CVE-2026-50221, released June 30, 2026. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2026-50221
- Priority: Routine
- CVSS: 5.4 (medium)
- EPSS: 0.0022
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jun 23, 2026

## 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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | swift Debian 12.15 (bookworm) | 2.30.1-0+deb12u2 | [DEBIAN-CVE-2026-50221](https://patchblox.com/security/data/fix/linux/debian-cve-2026-50221.md) | Jun 30, 2026 |
| Linux | swift Debian 13.5 (trixie) | 2.35.1-0+deb13u3 | [DEBIAN-CVE-2026-50221](https://patchblox.com/security/data/fix/linux/debian-cve-2026-50221.md) | Jun 30, 2026 |
| Linux | swift Debian 14 | 2.37.1-5 | [DEBIAN-CVE-2026-50221](https://patchblox.com/security/data/fix/linux/debian-cve-2026-50221.md) | Jun 30, 2026 |

---

Data as of 2026-11-08T13:06:02Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
