Server-side request forgery in OpenStack Swift
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- Low · Low · Low
- Fix status
- Partial Red Hat: 6 without a fix
Attack profile from CVSS 4.0 · CNA. Fix status from CNA, GitHub and Red Hat.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| OpenStack | Swift | 2.0.0 to before 2.35.3; 2.36.0 to before 2.36.2; 2.37.0 to before 2.37.2 | 2.35.3, 2.36.2, 2.37.2 | Patch available | CNA |
| — | swift (PyPI) | before 2.37.2 | 2.37.2 | Patch available | GHSA-h8rc-w822-q8vq |
- Swift VendorOpenStack Affected 2.0.0 to before 2.35.3; 2.36.0 to before 2.36.2; 2.37.0 to before 2.37.2 Fixed in 2.35.3, 2.36.2, 2.37.2 Patch available CNA
- swift (PyPI) Vendor— Affected before 2.37.2 Fixed in 2.37.2 Patch available GHSA-h8rc-w822-q8vq
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:openstack:swift:*:*:*:*:*:*:*:* | 2.0.0 to before 2.35.3; 2.36.0 to before 2.36.2; 2.37.0 to before 2.37.2 | Vulnerable | OpenStack |
- cpe:2.3:a:openstack:swift:*:*:*:*:*:*:*:* Versions 2.0.0 to before 2.35.3; 2.36.0 to before 2.36.2; 2.37.0 to before 2.37.2 Vulnerable ·OpenStack
Remediation
- Fix · CNA Swift (OpenStack) Fixed in 2.35.3, 2.36.2, 2.37.2
- Fix · GHSA-h8rc-w822-q8vq swift (PyPI) Fixed in 2.37.2 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Developer Hub 1 | Affected | No fix yet: Fix deferred |
| Red Hat OpenStack Platform 13 (Queens) | Affected | No fix planned: Out of support scope |
| Red Hat OpenStack Platform 16.2 | Affected | No fix yet: Fix deferred |
| Red Hat OpenStack Platform 17.1 | Affected | No fix yet: Fix deferred |
| Red Hat OpenStack Platform 18.0 | Affected | No fix yet: Fix deferred |
| Self-service automation portal 2 | Affected | No fix yet: Fix deferred |
Timeline
- 2026-10-02 Threatist record created from CVE-2026-50221
- 2026-10-03 Alias added: GHSA-h8rc-w822-q8vq
- 2026-10-27 Affected versions changed · Red Hat
References
Exploit 1
Patch 3
More OpenStack Swift vulnerabilities
- TI-2017-12224 An issue was discovered in middleware.py in OpenStack Swauth through 1.2.0 when used with… CVSS 3.0CRITICAL 9.8
- TI-2012-03749 OpenStack Object Storage (swift) before 1.7.0 uses the loads function in the pickle… CVSS 3.1CRITICAL 9.8
- TI-2016-00662 OpenStack Object Storage (Swift) before 2.3.1 (Kilo), 2.4.x, and 2.5.x before 2.5.1… CVSS 3.0HIGH 7.5
- TI-2016-00661 OpenStack Object Storage (Swift) before 2.4.0 does not properly close client connections… CVSS 3.0HIGH 7.5
- TI-2015-01667 OpenStack Object Storage (Swift) before 2.3.0, when allow_version is configured, allows… CVSS 2.0MEDIUM 5.5
- TI-2026-36265 Infinite loop in OpenStack Swift CVSS 4.0HIGH 7.1
Sources
- CVE-2026-50221 · CVE Program
- CVE-2026-50221 · NVD
- FIRST EPSS
- GHSA-h8rc-w822-q8vq · GitHub Advisory Database · CC BY 4.0
- CVE-2026-50221 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences