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.
Published: 2026-09-24
Score: 5.3 Medium
EPSS: n/a
KEV: No
Impact: Data exfiltration via unsigned copy header
Action: Apply Patch
AI Analysis

Impact

An incomplete TempURL signature validation in OpenStack Swift allows a user with a valid PUT TempURL to insert an X‑Copy‑From header. Because the signature does not cover that header, the copy middleware silently copies the named object into the destination and the attacker can later read the victim’s data through a GET TempURL for the new location. The flaw is a CWE‑184 weakness in the TempURL middleware that permits unauthorized data transfer and confidentiality violation.

Affected Systems

Systems running OpenStack Swift version earlier than 2.38.2 and deploying the default proxy pipeline that includes the tempurl and copy middleware with account‑level TempURL keys are affected. Only objects within the same account are susceptible, as cross‑account copies are rejected.

Risk and Exploitability

The vulnerability receives a CVSS base score of 5.3, indicating moderate risk. EPSS data is not available, and the flaw is not listed in the CISA KEV catalog, suggesting that exploitation is not widely known. The likely attack requires possession of a valid TempURL for a target object, which is typically granted to legitimate users or administrators, so the chance of exploitation depends on the availability of those credentials. The impact is limited to data confidentiality within the same account.

Generated by OpenCVE AI on September 24, 2026 at 03:20 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade OpenStack Swift to 2.38.2 or later.
  • If upgrading is not feasible, remove or disable the copy middleware from the proxy pipeline for accounts using TempURL, thereby preventing X‑Copy‑From from being honored.
  • Re‑configure the proxy pipeline to reject X‑Copy‑From headers on PUT requests that are authenticated via a TempURL signature, enforcing header validation consistent with the intended security policy.

Generated by OpenCVE AI on September 24, 2026 at 03:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

References
History

Thu, 24 Sep 2026 03:45:00 +0000

Type Values Removed Values Added
Title Swift TempURL Exploit Enables Unauthorized Copy via X‑Copy‑From Header

Thu, 24 Sep 2026 02:45:00 +0000

Type Values Removed Values Added
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.
First Time appeared Openstack
Openstack swift
Weaknesses CWE-184
CPEs cpe:2.3:a:openstack:swift:*:*:*:*:*:*:*:*
Vendors & Products Openstack
Openstack swift
References
Metrics cvssV4_0

{'score': 5.3, '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-09-24T02:25:49.093Z

Reserved: 2026-09-24T02:25:48.652Z

Link: CVE-2026-97149

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-24T03:16:59.133

Modified: 2026-09-24T03:16:59.133

Link: CVE-2026-97149

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-24T03:30:08Z

Weaknesses
  • CWE-184

    Incomplete List of Disallowed Inputs