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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.3
- **CVSS:** 5.3 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: Low; User interaction: None; Confidentiality impact: Low; Integrity impact: None; Availability impact: None; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.25% (percentile 10, 2026-11-26)
- **CWE:** CWE-184
- **Published:** 2026-09-24T02:25:49.093Z
- **Modified:** 2026-10-06T18:16:59.117Z

## Who should check

- Anyone running OpenStack Swift \>= 2.4.0, \< 2.35.5; \>= 2.36.0, \< 2.36.4; \>= 2.37.0, \< 2.37.4; \>= 2.38.0, \< 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.

## Affected and fixed versions

- OpenStack Swift: \>= 2.4.0, \< 2.35.5; \>= 2.36.0, \< 2.36.4; \>= 2.37.0, \< 2.37.4; \>= 2.38.0, \< 2.38.2 (cvelist)

## Mitigation

- Upgrade Swift to 2.38.2 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-97149. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-97149.md
Affected: OpenStack Swift >= 2.4.0, < 2.35.5; >= 2.36.0, < 2.36.4; >= 2.37.0, < 2.37.4; >= 2.38.0, < 2.38.2
Fixed in: OpenStack Swift 2.35.5, OpenStack Swift 2.36.4, OpenStack Swift 2.37.4, OpenStack Swift 2.38.2

Steps:
1. Search this machine and project for OpenStack Swift: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-97149 being exploited?

There is no confirmed exploitation: CVE-2026-97149 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.25% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-97149?

Medium: CVSS 5.3 (v4.0, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2026-97149?

OpenStack Swift \>= 2.4.0, \< 2.35.5; \>= 2.36.0, \< 2.36.4; \>= 2.37.0, \< 2.37.4; \>= 2.38.0, \< 2.38.2.

### Is there a fix for CVE-2026-97149?

Yes. Fixed in OpenStack Swift 2.35.5, OpenStack Swift 2.36.4, OpenStack Swift 2.37.4, OpenStack Swift 2.38.2. Upgrade Swift to 2.38.2 or later.

### How do I check if I'm affected by CVE-2026-97149?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-97149>

HTML: <https://flawdb.com/CVE-2026-97149> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-97149>
