Skip to content
6.0 Medium

CVE-2026-71192 In OpenStack Swift through 2.38.0, the S3API middleware does not sanitize Swift-native control headers (X-Copy-From,…

Description

In OpenStack Swift through 2.38.0, the S3API middleware does not sanitize Swift-native control headers (X-Copy-From, X-Copy-From-Account) from S3 API requests when s3_acl=true. An attacker can inject these headers into a signed PUT request targeting their own bucket, causing Swift to perform a server-side copy from another tenant's private object. The source object authorization is bypassed because the S3API middleware has already authorized the request against the destination. The attacker can read any object whose project_id, container name, and object name are known, regardless of the source object's ACLs or ownership. This requires the non-default s3_acl=true configuration.

Affected products and versions

Product Affected versions Fixed in
Swift 2.38.0 No fix stated
Swift 2.37 2.37.0 → < 2.37.3 2.37.3
Swift 2.36 2.36.0 → < 2.36.3 2.36.3
Swift 2.18 2.18.0 → < 2.35.4 2.35.4

References

Timeline

  1. Published
  2. Last modified
The 6 CVEs of Swift →
Track this CVE