Description
In OpenStack Swift through 2.38.0, the S3API middleware does not sanitize Swift-native control headers (X-Copy-From, X-Copy-From-Account) from S3 API requests when s3_acl=true. An
attacker can inject these headers into a signed PUT request targeting their own bucket, causing Swift to perform a server-side copy from another tenant's private object. The source object authorization is bypassed because the S3API middleware has already authorized the request against the destination. The attacker can read any object whose project_id, container name, and object name are known, regardless of the source object's ACLs or ownership. This requires the non-default s3_acl=true configuration.
Published: 2026-08-05
Score: 6 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability is in OpenStack Swift 2.38.0 or earlier, where the S3API middleware fails to sanitize Swift-native control headers (X‑Copy‑From, X‑Copy‑From‑Account) when the s3_acl option is enabled. An attacker who can create a signed PUT request to their own bucket can inject these headers and instruct Swift to perform a server‑side copy from a private object belonging to another tenant. Because the middleware has already authorized the destination request, the source object’s ACL is bypassed, allowing the attacker to read any object whose project_id, container name, and object name are known, regardless of the source object’s ownership.

Affected Systems

OpenStack Swift implementations running version 2.38.0 or any earlier release are impacted. The issue is present only when the s3_acl configuration is set to true, which is not the default but may be enabled in certain deployments.

Risk and Exploitability

The CVSS score of 6.0 indicates a moderate severity. The EPSS score is not available and the vulnerability is not listed in CISA KEV, suggesting that widespread exploitation has not yet been observed. However, the attack requires the attacker to know the target object’s identifiers and to have the ability to submit a signed S3 request to their own bucket. The attacker can then retrieve the contents of the source object, effectively bypassing tenant isolation and enabling unauthorized data disclosure.

Generated by OpenCVE AI on August 5, 2026 at 06:24 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade OpenStack Swift to a patched version such as 2.39.0 or later, which ensures the S3API middleware sanitizes Swift‑native control headers when s3_acl is enabled.
  • If an upgrade is not immediately possible, set s3_acl to false in the Swift configuration to disable the vulnerable feature and prevent server‑side copy requests.
  • Audit S3 API access logs for unexpected copy operations and verify that source objects remain protected.
  • Review and tighten ACLs on private objects to limit potential exposure if the system’s integrity is compromised.

Generated by OpenCVE AI on August 5, 2026 at 06:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 05 Aug 2026 06:45:00 +0000

Type Values Removed Values Added
Title S3API Middleware Allows Unauthorized Server‑Side Copy in OpenStack Swift

Wed, 05 Aug 2026 05:30:00 +0000

Type Values Removed Values Added
Description In OpenStack Swift through 2.38.0, the S3API middleware does not sanitize Swift-native control headers (X-Copy-From, X-Copy-From-Account) from S3 API requests when s3_acl=true. An attacker can inject these headers into a signed PUT request targeting their own bucket, causing Swift to perform a server-side copy from another tenant's private object. The source object authorization is bypassed because the S3API middleware has already authorized the request against the destination. The attacker can read any object whose project_id, container name, and object name are known, regardless of the source object's ACLs or ownership. This requires the non-default s3_acl=true configuration.
First Time appeared Openstack
Openstack swift
Weaknesses CWE-863
CPEs cpe:2.3:a:openstack:swift:*:*:*:*:*:*:*:*
Vendors & Products Openstack
Openstack swift
References
Metrics cvssV4_0

{'score': 6, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-08-05T05:05:33.267Z

Reserved: 2026-08-05T05:05:32.904Z

Link: CVE-2026-71192

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-05T06:30:03Z

Weaknesses