Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-50221

MEDIUM 5.3PoCEPSS 7%

OpenStack Swift vulnerable to authenticated server-side request forgery

Also known as GHSA-h8rc-w822-q8vq, PYSEC-2026-4173

Mitigation

  • Upgrade swift to 2.37.2 or later.

Who should check

  • Projects that depend on PyPI package swift (< 2.37.2)
  • Anyone running OpenStack Swift >= 2.0.0, < 2.35.3; >= 2.36.0, < 2.36.2; >= 2.37.0, < 2.37.2

Vulnerability facts

Affected
swift < 2.37.2
Fixed in
2.37.2
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
Yes: see the exploit references below
Remote exploitation
Remote, login needed
CVSS
5.3 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Attack requirements: None
  • Privileges required: Low
  • User interaction: None
  • Confidentiality impact: Low
  • Integrity impact: Low
  • Availability impact: Low
  • Confidentiality impact on other systems: Low
  • Integrity impact on other systems: Low
  • Availability impact on other systems: None
EPSS
0.22% chance of exploitation in 30 days (percentile 7, 2026-11-26)
CWE
CWE-918
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
PyPI swift< 2.37.22.37.2osv
OpenStack Swift>= 2.0.0, < 2.35.3; >= 2.36.0, < 2.36.2; >= 2.37.0, < 2.37.2—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-50221. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-50221.md
Affected: swift < 2.37.2
Fixed in: 2.37.2

Steps:
1. Search this machine and project for swift (PyPI), OpenStack Swift: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-50221 being exploited?

There is no confirmed exploitation: CVE-2026-50221 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-50221?

Medium: CVSS 5.3 (v4.0, scored by CNA). Remote, login needed.

Which versions are affected by CVE-2026-50221?

swift < 2.37.2.

Is there a fix for CVE-2026-50221?

Yes. Fixed in 2.37.2. Upgrade swift to 2.37.2 or later.

How do I check if I'm affected by CVE-2026-50221?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors