MSA-2026-004

s3:ExistingObjectTag condition bypass via the object-tagging request header

Advisory IDMSA-2026-004
CVE ID CVE-2026-55813
CWE CWE-807
SeverityHigh
CVSS v4.0 Score7.1
CVSS v4.0 VectorCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Affected productMinIO AIStor
Affected versions>= RELEASE.2022-10-02T19-29-29Z, < RELEASE.2026-08-07T18-34-35Z
Fixed inRELEASE.2026-08-07T18-34-35Z
DisclosedOctober 22, 2026
Last updatedOctober 22, 2026

Description

MinIO supports IAM policies, and bucket policies for anonymous access, whose statements are gated by the s3:ExistingObjectTag condition key, which is meant to be evaluated against an object's actual stored tags. On object-read operations, the server reads these condition values from the request's X-Amz-Tagging header, and is supposed to overwrite that header with the object's real tags before evaluating the policy, so the decision reflects stored state rather than client input.

This overwrite was incomplete. On GetObject, HeadObject, and, from RELEASE.2023-06-16T02-41-06Z, GetObjectTagging, the server replaced the header only when the object had at least one stored tag, so for an untagged object the client-supplied X-Amz-Tagging request header survived and was used to evaluate s3:ExistingObjectTag. Other read operations used the client-supplied header for any object, tagged or not. An authenticated caller whose access is gated by such a condition can set this header to forge tag values, satisfy a condition that should not match, and obtain read access the policy was intended to deny.

The bypass affects GetObject, HeadObject, and GetObjectTagging for untagged objects. It affects GetObjectAttributes, reads of objects through the ZIP-archive read feature, SelectObjectContent, the copy source of CopyObject and UploadPartCopy, GetObjectRetention, and GetObjectLegalHold for any object. Before RELEASE.2023-06-16T02-41-06Z, GetObjectTagging was affected for any object. In RELEASE.2026-06-06T02-44-06Z and RELEASE.2026-07-24T16-43-31Z, a header tag with a crafted key still set s3:ExistingObjectTag on these operations, for any object.

The archived open-source minio/minio server is affected from RELEASE.2022-10-02T19-29-29Z through its final release and will not receive a fix.

Impact

Attack prerequisites

  • An IAM policy, or a bucket policy that grants anonymous access, grants a read action (s3:GetObject, s3:GetObjectVersion, s3:GetObjectAttributes, s3:GetObjectTagging, s3:GetObjectRetention, or s3:GetObjectLegalHold) conditioned on s3:ExistingObjectTag/<key>.
  • The caller is an authenticated user whose IAM policy carries that condition, or, where an anonymous bucket policy carries it, any caller.
  • For GetObject and HeadObject, and for GetObjectTagging from RELEASE.2023-06-16T02-41-06Z, the target objects carry no tags, on releases before RELEASE.2026-06-06T02-44-06Z. Other operations and later releases do not require this.

What an attacker can do

  • Send a read request with a forged X-Amz-Tagging header whose key and value match the policy condition, causing the server to evaluate s3:ExistingObjectTag against the attacker-supplied value.
  • Read object data (GetObject, SelectObjectContent, or a copy to a location the attacker can read), object metadata (HeadObject, GetObjectAttributes, GetObjectRetention, GetObjectLegalHold), or object tags (GetObjectTagging) for objects the policy was intended to keep restricted, including objects reached through the ZIP-archive read feature.

Patches

Fixed in: MinIO AIStor RELEASE.2026-08-07T18-34-35Z.

The server no longer takes s3:ExistingObjectTag from the object-tagging request header, on any operation. RELEASE.2026-05-28T20-50-32Z corrected GetObject, HeadObject, GetObjectAttributes, GetObjectTagging, and the ZIP-archive reads, but not SelectObjectContent, copy sources, or retention and legal-hold reads. RELEASE.2026-06-06T02-44-06Z was also incomplete: a header tag with a crafted key could still set the condition on every affected operation, for any object.

Upgrade to MinIO AIStor RELEASE.2026-08-07T18-34-35Z or later, available from https://dl.min.io/aistor/minio/.

Workarounds

If upgrading is not immediately possible:

  • Do not rely solely on s3:ExistingObjectTag conditions to protect sensitive objects. Combine tag-based conditions with resource or prefix scoping or principal restrictions so a forged tag alone cannot grant access.
  • At a reverse proxy or load balancer in front of the cluster, reject GET, HEAD, and SelectObjectContent requests that carry an X-Amz-Tagging header; legitimate reads do not send it. This does not cover copy sources, because CopyObject legitimately uses the header to set the new object's tags.

These measures reduce exposure but do not remove it; upgrading is the durable fix.

Credits

Name Credit type Notes
Mitchell Benjamin (Revamp Studio) finder Independently reported the condition bypass.
jiuker remediation developer MinIO.
Anis Eleuch remediation reviewer MinIO.
Klaus Post remediation reviewer MinIO.
Harshavardhana remediation reviewer MinIO.

References

Revision history

Date Revision
2026-06-09 Private disclosure to MinIO customers
2026-06-17 CVE ID assigned (CVE-2026-55813)
2026-10-17 Corrected the fixed release to RELEASE.2026-06-06T02-44-06Z, and the affected operations and Workarounds.
2026-10-19 Corrected the fixed release to RELEASE.2026-08-07T18-34-35Z, and the Description, the Impact and the Patches.
2026-10-22 Public disclosure