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.

Severity (CVSS 4.0)5.3Medium
Exploit odds (30 days)0.2%top 87.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Debian:12swift2.30.1-0+deb12u2DEBIAN-CVE-2026-50221
Debian:13swift2.35.1-0+deb13u3DEBIAN-CVE-2026-50221
Debian:14swift2.37.1-5DEBIAN-CVE-2026-50221
PyPIswift2.37.2GHSA-h8rc-w822-q8vq
PyPIswift2.37.2PYSEC-2026-4173
Ubuntu:22.04:LTSswiftno fix listedUBUNTU-CVE-2026-50221
Ubuntu:24.04:LTSswiftno fix listedUBUNTU-CVE-2026-50221
Ubuntu:25.10swiftno fix listedUBUNTU-CVE-2026-50221
Ubuntu:26.04:LTSswiftno fix listedUBUNTU-CVE-2026-50221
Ubuntu:26.10swiftno fix listedUBUNTU-CVE-2026-50221

Affected products (as reported)

VendorProductVersions
OpenStack Swift 2.0.0 – before 2.35.32.36.0 – before 2.36.22.37.0 – before 2.37.2

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

References