CVE-2026-50221
OpenStack Swift: Server-Side Request Forgery via Internal Header Injection
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.
INFO
Published Date :
June 23, 2026, 6:18 p.m.
Last Modified :
June 29, 2026, 11:09 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | MEDIUM | [email protected] | ||||
| CVSS 4.0 | MEDIUM | 8254265b-2729-46b6-b9e3-3dfca2d5bfca | ||||
| CVSS 4.0 | MEDIUM | [email protected] |
Solution
- Update OpenStack Swift proxy-server to version 2.37.2 or later.
- Ensure internal update headers are properly stripped.
- Restrict write access for authenticated users.
- Monitor for unauthorized container update requests.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-50221.
| URL | Resource |
|---|---|
| https://launchpad.net/bugs/2150261 | Exploit Issue Tracking Vendor Advisory |
| https://security.openstack.org/ossa/OSSA-2026-024.html | Patch Vendor Advisory |
| https://www.openwall.com/lists/oss-security/2026/06/23/5 | Mailing List Patch Third Party Advisory |
| http://www.openwall.com/lists/oss-security/2026/06/23/5 | Mailing List Patch Third Party Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-50221 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-50221
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-50221 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-50221 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Jun. 29, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N Added CPE Configuration OR *cpe:2.3:a:openstack:swift:*:*:*:*:*:*:*:* versions from (including) 2.0.0 up to (excluding) 2.35.3 *cpe:2.3:a:openstack:swift:*:*:*:*:*:*:*:* versions from (including) 2.36.0 up to (excluding) 2.36.2 *cpe:2.3:a:openstack:swift:*:*:*:*:*:*:*:* versions from (including) 2.37.0 up to (excluding) 2.37.2 Added Reference Type MITRE: https://launchpad.net/bugs/2150261 Types: Exploit, Issue Tracking, Vendor Advisory Added Reference Type MITRE: https://security.openstack.org/ossa/OSSA-2026-024.html Types: Patch, Vendor Advisory Added Reference Type MITRE: https://www.openwall.com/lists/oss-security/2026/06/23/5 Types: Mailing List, Patch, Third Party Advisory Added Reference Type CVE: http://www.openwall.com/lists/oss-security/2026/06/23/5 Types: Mailing List, Patch, Third Party Advisory -
New CVE Received by [email protected]
Jun. 23, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://opendev.org/openstack/swift', 'vendor': 'OpenStack', 'product': 'Swift', 'versions': [{'status': 'affected', 'version': '2.0.0', 'lessThan': '2.35.3', 'versionType': 'semver'}, {'status': 'affected', 'version': '2.36.0', 'lessThan': '2.36.2', 'versionType': 'semver'}, {'status': 'affected', 'version': '2.37.0', 'lessThan': '2.37.2', 'versionType': 'semver'}], 'defaultStatus': 'unaffected'}] Added 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. Added CVSS V4.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 Added CWE CWE-918 Added Reference https://launchpad.net/bugs/2150261 Added Reference https://security.openstack.org/ossa/OSSA-2026-024.html Added Reference https://www.openwall.com/lists/oss-security/2026/06/23/5 -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jun. 23, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2026-50221', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2026-06-23T17:38:21.427291Z'} -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Jun. 23, 2026
Action Type Old Value New Value Added Reference http://www.openwall.com/lists/oss-security/2026/06/23/5