CVE-2026-50221: [OSSA-2026-024] OpenStack Swift: Swift proxy-server SSRF via header injection (CVE-2026-50221)

Published Jun 23, 2026
·
Updated

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.

Affected Software

4 affected components
Openstack Swift<2.37.2
Openstack Swift>=2.0.0<2.35.3
Openstack Swift>=2.36.0<2.36.2
Openstack Swift>=2.37.0<2.37.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade OpenStack Swift proxy-server to a version that resolves this vulnerability.

    Fixed in 2.37.2Patch OSSA-2026-024
  2. Configuration

    Ensure proxy-server strips/removes 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.

    OpenStack Swift proxy-server Header stripping for internal update headers (X-Container-Host, X-Container-Device, X-Delete-At-Host, X-Delete-At-Device) = strip/remove from client requests before forwarding to object-servers

Event History

Jun 23, 2026
CVE Published
via MITRE·05:03 PM
Data Sourced
via MITRE·05:03 PM
DescriptionWeakness
Data Sourced
via NVD·06:18 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-50221?

The severity of CVE-2026-50221 is rated as medium with a score of 5.3.

2

What type of vulnerability is CVE-2026-50221?

CVE-2026-50221 is classified as a Server-Side Request Forgery (SSRF) vulnerability.

3

How does CVE-2026-50221 affect OpenStack Swift?

CVE-2026-50221 affects OpenStack Swift by allowing authenticated users with write access to inject internal update headers in requests.

4

What version of OpenStack Swift is affected by CVE-2026-50221?

CVE-2026-50221 affects OpenStack Swift versions before 2.37.2.

5

How can I mitigate CVE-2026-50221?

To mitigate CVE-2026-50221, upgrade OpenStack Swift to version 2.37.2 or later.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203