Advisory

GHSA-h8rc-w822-q8vq

Also known as: CVE-2026-50221, PYSEC-2026-4173

Summary

OpenStack Swift vulnerable to authenticated server-side request forgery

Details

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

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-06-23 18:31 UTC
Modified
2026-10-01 17:56 UTC

Affected packages and fixes

swift

PyPI · All systems

Affected

  • introduced 0, fixed 2.37.2 (ecosystem)

Fixed versions

2.37.2

Fix

  • Fixed version 2.37.2
    pip install --upgrade swift==2.37.2

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences