Vulnerability · Published Jun 23, 2026 · Assigned by mitre
CVE-2026-50221
Medium 5.3
In plain English
A medium-severity server-side request forgery in Swift from OpenStack. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 12% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | swift | 2.30.1-0+deb12u2 | DEBIAN-CVE-2026-50221 |
| Debian:13 | swift | 2.35.1-0+deb13u3 | DEBIAN-CVE-2026-50221 |
| Debian:14 | swift | 2.37.1-5 | DEBIAN-CVE-2026-50221 |
| PyPI | swift | 2.37.2 | GHSA-h8rc-w822-q8vq |
| PyPI | swift | 2.37.2 | PYSEC-2026-4173 |
| Ubuntu:22.04:LTS | swift | no fix listed | UBUNTU-CVE-2026-50221 |
| Ubuntu:24.04:LTS | swift | no fix listed | UBUNTU-CVE-2026-50221 |
| Ubuntu:25.10 | swift | no fix listed | UBUNTU-CVE-2026-50221 |
| Ubuntu:26.04:LTS | swift | no fix listed | UBUNTU-CVE-2026-50221 |
| Ubuntu:26.10 | swift | no fix listed | UBUNTU-CVE-2026-50221 |
Affected products (as reported)
Weakness: CWE-918 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:N