Description
In OpenStack Swift through 2.38.0, S3API middleware does not enforce that semantic x-amz-* headers are covered by the SigV4 signature on presigned URL requests. An attacker who obtains a presigned PUT URL can inject an unsigned X-Amz-Copy-Source header, causing Swift to perform a server-side copy from an arbitrary source object using the signer's authorization context. The attacker can read any object the signer has access to, provided the target project_id, container name, and object name are known. This affects all deployments using the default s3_acl=false configuration.
Published: 2026-08-05
Score: 6 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

S3API middleware in OpenStack Swift versions through 2.38.0 fails to enforce that semantic x-amz-* headers are covered by the SigV4 signature on presigned URL requests. An attacker who obtains a presigned PUT URL can inject an unsigned X-Amz-Copy-Source header. The middleware then performs a server‑side copy from an arbitrary source object using the signer's authorization context, allowing the attacker to read any object the signer has access to. The vulnerability therefore compromises confidentiality by enabling read access to objects whose project, container, and object names are known.

Affected Systems

The flaw affects deployments of OpenStack Swift, specifically the Swift S3API middleware in versions up to 2.38.0. All installations using the default configuration where s3_acl is set to false are vulnerable.

Risk and Exploitability

The CVSS score of 6.0 indicates a moderate severity. EPSS data is not available, and the vulnerability is not listed in CISA KEV. The likely attack vector is the use of presigned PUT URLs; an attacker needs to receive a valid presigned URL and then inject an unsigned header in a separate request. Because the vulnerability relies on URL‑based authorization and a missing header check, it is exploitable from the network, and the impact is confined to the signer's authorized bucket and objects whose identifiers are known.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Swift to version 2.38.1 or later where the header check is enforced.
  • If an upgrade is not immediately possible, change the s3_acl configuration to true to restrict S3 API access.
  • Enforce stricter validation of all x-amz-* headers on presigned requests, rejecting any unsigned headers.

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 Unsigned X-Amz-Copy-Source Header Injection in OpenStack Swift S3API Presigned URLs

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

Type Values Removed Values Added
Description In OpenStack Swift through 2.38.0, S3API middleware does not enforce that semantic x-amz-* headers are covered by the SigV4 signature on presigned URL requests. An attacker who obtains a presigned PUT URL can inject an unsigned X-Amz-Copy-Source header, causing Swift to perform a server-side copy from an arbitrary source object using the signer's authorization context. The attacker can read any object the signer has access to, provided the target project_id, container name, and object name are known. This affects all deployments using the default s3_acl=false 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:01:20.971Z

Reserved: 2026-08-05T05:01:20.566Z

Link: CVE-2026-71191

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