CVE-2026-97149

openstack-swift: openstack-swift: unauthorized read of other objects via TempURL and X-Copy-From

Published Sep 24, 2026 CVSS 4.0 · 5.3 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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 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 under 1%, suggesting exploitation is unlikely to be widespread, and the flaw is not listed in the CISA KEV catalog. The likely attack requires possession of a valid TempURL for a target object, which is typically granted to legitimate users or administrators; the impact therefore is limited to data confidentiality within the same account.

Remediation

No solution or workaround provided in the CVE record.

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 October 1, 2026 at 21:17 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4801-1 swift security update
Debian DSA Debian DSA DSA-6519-1 swift security update
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Title Swift TempURL Exploit Enables Unauthorized Copy via X‑Copy‑From Header openstack-swift: openstack-swift: unauthorized read of other objects via TempURL and X-Copy-From
Weaknesses CWE-358
References
Metrics threat_severity

None

cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'}

threat_severity

Moderate

Type Values Removed Values Added
Title Swift TempURL Exploit Enables Unauthorized Copy via X‑Copy‑From Header
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'}

Weaknesses
  • CWE-184

    Incomplete List of Disallowed Inputs

  • CWE-358

    Improperly Implemented Security Check for Standard

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Oct 6, 2026, 5:42 PM
Reserved
Sep 24, 2026, 2:25 AM
Status
Awaiting Analysis
Published
Sep 24, 2026, 3:16 AM
Modified
Oct 6, 2026, 6:16 PM
Severity
Moderate
Public date
Sep 24, 2026, 2:25 AM