cve.bz

CVE-2026-50221 openstack swift: SSRF

5.3 mediumExploit referenceEPSS 0.2%Fix available

Medium (5.3) in openstack swift. EPSS 0.2% estimated probability of exploitation activity in the next 30 days. Fixed in swift 2.37.2.

On this page
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.

Severity

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

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
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 12th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-06-23. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-918 Server-Side Request Forgery (SSRF)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-50221 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-50221?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-50221?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-50221 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2026-50221

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2026-50221](https://cve.bz/cve/badge/CVE-2026-50221.svg)](https://cve.bz/cve/CVE-2026-50221)

HTML:

<a href="https://cve.bz/cve/CVE-2026-50221"><img src="https://cve.bz/cve/badge/CVE-2026-50221.svg" alt="CVE-2026-50221"></a>

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
OpenStack Swiftfrom 2.0.0 before 2.35.3
OpenStack Swiftfrom 2.36.0 before 2.36.2
OpenStack Swiftfrom 2.37.0 before 2.37.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-h8rc-w822-q8vqPyPIswift<2.37.22.37.2
PYSEC-2026-4173PyPIswift<2.37.22.37.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12swift2.30.1-0+deb12u2DEBIAN-CVE-2026-50221
Debian13swift2.35.1-0+deb13u3DEBIAN-CVE-2026-50221
Debian14swift2.37.1-5DEBIAN-CVE-2026-50221
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTS and 5 moreswiftno fix listedUBUNTU-CVE-2026-50221

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Red Hat OpenStack Platform 13, 16.2, 17.1, and Red Hat OpenStack Services on OpenShift 18.0 ship OpenStack Swift proxy-server in affected versions and are vulnerable to this flaw. This vulnerability is rated as Moderate severity because exploitation requires an authenticated user with write access to at least one Swift container. The SSRF allows redirection of container update requests to attacker-controlled servers, exposing internal cluster metadata. When at-rest encryption is enabled, cipher text and initialization vectors for the container-level encryption key are also exposed, though the encryption key itself is not directly disclosed. The attack is network-accessible but requires valid credentials and write permissions, limiting the attacker population to existing tenants within the deployment.

Red Hat's mitigation

There is no mitigation for this flaw. The only resolution is to upgrade OpenStack Swift to a patched version: 2.35.3 (for the 2.0.0+ series), 2.36.2 (for the 2.36.x series), or 2.37.2 (for the 2.37.x series). The risk is partially limited because exploitation requires an authenticated user with write access to at least one Swift container.

ProductPackageStateAdvisory
Red Hat Developer Hub 1rhdh/rhdh-hub-rhel9Fix deferred
Red Hat OpenStack Platform 13 (Queens)rhosp13/openstack-swift-accountOut of support scope
Red Hat OpenStack Platform 13 (Queens)rhosp13/openstack-swift-baseOut of support scope
Red Hat OpenStack Platform 13 (Queens)rhosp13/openstack-swift-containerOut of support scope
Red Hat OpenStack Platform 13 (Queens)rhosp13/openstack-swift-objectOut of support scope
Red Hat OpenStack Platform 13 (Queens)rhosp13/openstack-swift-proxy-serverOut of support scope
Red Hat OpenStack Platform 16.2openstack-swiftFix deferred
Red Hat OpenStack Platform 16.2rhosp-rhel8/openstack-swift-accountFix deferred
Red Hat OpenStack Platform 16.2rhosp-rhel8/openstack-swift-baseFix deferred
Red Hat OpenStack Platform 16.2rhosp-rhel8/openstack-swift-containerFix deferred
Red Hat OpenStack Platform 16.2rhosp-rhel8/openstack-swift-objectFix deferred
Red Hat OpenStack Platform 16.2rhosp-rhel8/openstack-swift-proxy-serverFix deferred
Red Hat OpenStack Platform 17.1openstack-swiftFix deferred
Red Hat OpenStack Platform 17.1rhosp-rhel9/openstack-swift-accountFix deferred
Red Hat OpenStack Platform 17.1rhosp-rhel9/openstack-swift-baseFix deferred
Red Hat OpenStack Platform 17.1rhosp-rhel9/openstack-swift-containerFix deferred
Red Hat OpenStack Platform 17.1rhosp-rhel9/openstack-swift-objectFix deferred
Red Hat OpenStack Platform 17.1rhosp-rhel9/openstack-swift-proxy-serverFix deferred
Red Hat OpenStack Platform 18.0openstack-swiftFix deferred
Red Hat OpenStack Platform 18.0rhoso/openstack-swift-account-rhel9Fix deferred
6 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-50221.

Attack patterns (CAPEC)

  • CAPEC-664 Server Side Request Forgery Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON