Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. swift
  4. ›
  5. CVE-2026-50221

CVE-2026-50221: OpenStack Swift vulnerable to authenticated server-side request forgery

June 23, 2026 (updated September 24, 2026)

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.

References

  • github.com/advisories/GHSA-h8rc-w822-q8vq
  • github.com/openstack/swift/commit/75b050fdb1d1a6096f3765faa3b2059e28065d13
  • launchpad.net/bugs/2150261
  • nvd.nist.gov/vuln/detail/CVE-2026-50221
  • opendev.org/openstack/swift/commit/75b050fdb1d1a6096f3765faa3b2059e28065d13
  • security.openstack.org/ossa/OSSA-2026-024.html
  • www.openwall.com/lists/oss-security/2026/06/23/5

Code Behaviors & Features

Detect and mitigate CVE-2026-50221 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.37.2

Fixed versions

  • 2.37.2

Solution

Upgrade to version 2.37.2 or above.

Impact 5.4 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-918: Server-Side Request Forgery (SSRF)

Source file

pypi/swift/CVE-2026-50221.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 07 Oct 2026 12:18:25 +0000.