# CVE-2026-97149: Missing authorization in Swift

> An attacker with a valid PUT TempURL can use the X-Copy-From header to copy and read arbitrary objects within the same account, bypassing intended access controls.

- **Severity:** Medium 5.3 (`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`)
- **Exploited in the wild:** Not known
- **Login needed:** Any signed-in user
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 24 Sep 2026
- **Updated:** 6 Oct 2026
- **Also known as:** DEBIAN-CVE-2026-97149, GHSA-ppc2-wr9h-8mxg, UBUNTU-CVE-2026-97149

## What is CVE-2026-97149?

CVE-2026-97149 is a medium-severity missing authorization vulnerability in OpenStack Swift, published on 24 Sep 2026. Any signed-in user can exploit it over the network, with no action from the victim.

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

Weakness: CWE-184 (Incomplete List of Disallowed Inputs)

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


## How do I fix CVE-2026-97149?

Upgrade to a fixed version.

## Is CVE-2026-97149 being exploited?

There is no known exploitation of CVE-2026-97149 in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-97149 and fix it if it is affected.

What it is: CVE-2026-97149 is a medium-severity missing authorization vulnerability in OpenStack Swift, published on 24 Sep 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2026-97149 in the wild and no public exploit code.

Affected product: OpenStack Swift. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-97149/ (Markdown: https://insights.sbomify.com/CVE-2026-97149/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-97149
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-97149
- OSV: https://osv.dev/vulnerability/CVE-2026-97149

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-97149/
Summaries are generated and may contain mistakes; the official description above is the record.
