CVE-2026-50221

NameCVE-2026-50221
DescriptionIn 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1140678

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
swift (PTS)bullseye2.26.0-10+deb11u1vulnerable
bullseye (security)2.26.0-10+deb11u2vulnerable
bookworm, bookworm (security)2.30.1-0+deb12u1vulnerable
trixie (security), trixie2.35.1-0+deb13u2vulnerable
forky, sid2.37.1-5fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
swiftsource(unstable)2.37.1-51140678

Notes

[trixie] - swift <no-dsa> (Minor issue)
https://www.openwall.com/lists/oss-security/2026/06/23/5
https://bugs.launchpad.net/swift/+bug/2150261

Search for package or bug name: Reporting problems