Server-Side Request Forgery (SSRF) Affecting swift package, versions <2.35.1-0+deb13u3


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.22% (11th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-SWIFT-18480837
  • published31 Jul 2026
  • disclosed23 Jun 2026

Introduced: 23 Jun 2026

CVE-2026-50221  (opens in a new tab)
CWE-918  (opens in a new tab)

How to fix?

Upgrade Echo:latest swift to version 2.35.1-0+deb13u3 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream swift package and not the swift package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1