CVE-2026-50221
MEDIUM 5.3CVSS 4.0OpenStack Swift vulnerable to authenticated server-side request forgery
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.
- Published
- 23 Jun 2026
- Last modified
- 25 Oct 2026
- Assigned by
- cve@mitre.org
- NVD status
- Analyzed
- Weakness
- CWE-918
- Also known as
- GHSA-h8rc-w822-q8vqPYSEC-2026-4173
- Sources
- NVDJSONOSV GHSA-h8rc-w822-q8vqJSONOSV PYSEC-2026-4173JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | cve@mitre.org (Secondary) | CVSS 4.0 | MEDIUM 5.3 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 | |
| OSV | PyPA | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
| OSV | PyPA | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | openstack | swiftcpe:2.3:a:openstack:swift:*:*:*:*:*:*:*:* |
>= 2.0.0, < 2.35.3 | 2.35.3 |
| NVD | openstack | swiftcpe:2.3:a:openstack:swift:*:*:*:*:*:*:*:* |
>= 2.36.0, < 2.36.2 | 2.36.2 |
| NVD | openstack | swiftcpe:2.3:a:openstack:swift:*:*:*:*:*:*:*:* |
>= 2.37.0, < 2.37.2 | 2.37.2 |
| OSV | PyPI | swift | < 2.37.2 | 2.37.2 |
References
- https://launchpad.net/bugs/2150261 · Exploit, Issue Tracking, Vendor Advisory, WEB
- https://security.openstack.org/ossa/OSSA-2026-024.html · Patch, Vendor Advisory, WEB
- https://www.openwall.com/lists/oss-security/2026/06/23/5 · Mailing List, Patch, Third Party Advisory, WEB
- http://www.openwall.com/lists/oss-security/2026/06/23/5 · Mailing List, Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-50221 · ADVISORY
- https://github.com/openstack/swift/commit/75b050fdb1d1a6096f3765faa3b2059e28065d13 · WEB
- https://opendev.org/openstack/swift/commit/75b050fdb1d1a6096f3765faa3b2059e28065d13 · WEB
- https://pypi.org/project/swift · PACKAGE
- https://github.com/advisories/GHSA-h8rc-w822-q8vq · ADVISORY
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 23 Jun 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 1 Oct 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 23 Jun 2026)