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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| OpenStack | Swift | 2.18.0 – < 2.35.4, 2.36.0 – < 2.36.3, 2.37.0 – < 2.37.3, 2.38.0 | 2.35.4 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | swift | 2.37.1-6 | — |
| Debian 13 | swift | 2.35.1-0+deb13u3 | — |
| Debian 12 | swift | 2.30.1-0+deb12u3 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | swift | No fix yet | — |
| Ubuntu 26.04 LTS | swift | No fix yet | — |
| Ubuntu 24.04 LTS | swift | No fix yet | — |
| Ubuntu 22.04 LTS | swift | No fix yet | — |
| Ubuntu 20.04 LTS | swift | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | swift | No fix yet | — |
| Ubuntu 16.04 LTS | swift | No fix yet | — |
References
- https://launchpad.net/bugs/2158733 issue-tracking
- https://openwall.com/lists/oss-security/2026/07/28/26 vendor-advisory mailing-list
- https://security.openstack.org/ossa/OSSA-2026-030.html vendor-advisory