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

- Severity: Medium 5.3 (CVSS:4.0, scored by mitre) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-02)
- Published: 2026-09-24T02:25:49.093Z
- Modified: 2026-10-06T18:16:59.117Z
- Weaknesses: CWE-184
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- OpenStack Swift: from 2.4.0 before 2.35.5; from 2.36.0 before 2.36.4; from 2.37.0 before 2.37.4; from 2.38.0 before 2.38.2

## References

- <https://launchpad.net/bugs/2166876> (issue-tracking)
- <http://www.openwall.com/lists/oss-security/2026/09/24/5>

## Sources

- CVE List: [CVE-2026-97149](https://www.cve.org/CVERecord?id=CVE-2026-97149), CVE Terms of Use, modified 2026-10-06
- NVD: [CVE-2026-97149](https://nvd.nist.gov/vuln/detail/CVE-2026-97149), Public domain, modified 2026-10-06

---

Page: https://cve.day/CVE-2026-97149 · Whole record: https://cve.day/CVE-2026-97149.json · Rebuilt by cve.day 2026-11-25T22:59:40.735Z
