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

- Severity: Medium 5.3 (CVSS:4.0, scored by mitre) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.14%, higher than 3% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-23T17:03:32.971Z
- Modified: 2026-10-25T23:10:00.167Z
- Also known as: GHSA-h8rc-w822-q8vq, PYSEC-2026-4173
- Weaknesses: CWE-918
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- OpenStack Swift: from 2.0.0 before 2.35.3; from 2.36.0 before 2.36.2; from 2.37.0 before 2.37.2
- swift (PyPI): before 2.37.2

## Every score

- mitre: CVSS:4.0 5.3 Medium `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`
- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`
- GitHub: CVSS:4.0 Medium `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: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`
- PyPA Advisory Database: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`
- PyPA Advisory Database: 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`

## References

- <https://launchpad.net/bugs/2150261> (exploit, issue-tracking, vendor-advisory, web)
- <https://www.openwall.com/lists/oss-security/2026/06/23/5> (mailing-list, patch, third-party-advisory, web)
- <https://security.openstack.org/ossa/OSSA-2026-024.html> (patch, vendor-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)

## Sources

- CVE List: [CVE-2026-50221](https://www.cve.org/CVERecord?id=CVE-2026-50221), CVE Terms of Use, modified 2026-06-23
- GitHub Advisory Database: [GHSA-h8rc-w822-q8vq](https://github.com/advisories/GHSA-h8rc-w822-q8vq), CC-BY-4.0, modified 2026-10-01
- NVD: [CVE-2026-50221](https://nvd.nist.gov/vuln/detail/CVE-2026-50221), Public domain, modified 2026-10-25
- PyPA Advisory Database: [PYSEC-2026-4173](https://osv.dev/vulnerability/PYSEC-2026-4173), CC-BY-4.0, modified 2026-10-21

---

Page: https://cve.day/CVE-2026-50221 · Whole record: https://cve.day/CVE-2026-50221.json · Rebuilt by cve.day 2026-11-25T22:59:25.502Z
