# CVE-2026-97149: swift: In OpenStack Swift before 2.38.2, the tempurl middleware does not reject the X-Copy-From header on PUT requests

CVE-2026-97149 is fixed in swift on 1 platform, first by DEBIAN-CVE-2026-97149, released September 26, 2026. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2026-97149
- Priority: Routine
- CVSS: n/a
- EPSS: 0.0025
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Sep 24, 2026

## Description

In OpenStack Swift before 2.38.2, the tempurl middleware does not reject the X-Copy-From header on PUT requests. A TempURL signature only covers the method, expiry, and path, and thus the list of disallowed headers is the only defense against a signed PUT request changing what the request does. An attacker holding a PUT TempURL for a single object can add an X-Copy-From header naming any object in the same account; the copy middleware copies that object to the destination, and the attacker then reads the victim's data back with a GET TempURL for the destination object. Copies across account boundaries are rejected. Only deployments using the shipped default proxy pipeline (tempurl and copy middleware) with account-level TempURL keys are affected.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | swift Debian 12.15 (bookworm) | 2.30.1-0+deb12u3 | [DEBIAN-CVE-2026-97149](https://patchblox.com/security/data/fix/linux/debian-cve-2026-97149.md) | Sep 26, 2026 |
| Linux | swift Debian 13.5 (trixie) | 2.35.1-0+deb13u4 | [DEBIAN-CVE-2026-97149](https://patchblox.com/security/data/fix/linux/debian-cve-2026-97149.md) | Sep 26, 2026 |
| Linux | swift Debian 14 | 2.38.1-3 | [DEBIAN-CVE-2026-97149](https://patchblox.com/security/data/fix/linux/debian-cve-2026-97149.md) | Sep 26, 2026 |

---

Data as of 2026-11-08T00:53:09Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
