MSA-2026-012

s3:ExistingObjectTag IAM condition evaluated from attacker-supplied request body

Advisory IDMSA-2026-012
CVE ID CVE-2026-55821
CWE CWE-807
SeverityMedium
CVSS v4.0 Score5.3
CVSS v4.0 VectorCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/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

The s3:ExistingObjectTag condition key in IAM and bucket policies is defined to match against the tags already stored on an object at the time a request is evaluated. In MinIO AIStor, policy evaluation for the object tagging operation (PutObjectTagging) sourced the s3:ExistingObjectTag condition values from the tag payload supplied by the caller in the request — the new tags being applied — rather than from the object's stored tags.

Because the caller controls the tag payload, the s3:ExistingObjectTag condition was evaluated against attacker-supplied data. A caller who could invoke PutObjectTagging could include arbitrary tag entries in the request to satisfy or avoid s3:ExistingObjectTag conditions, regardless of what tags were actually stored on the object. This applies to IAM policies, which authorize authenticated requests, and to bucket policies, which authorize anonymous requests.

This is the object-tagging write-path counterpart to MSA-2026-004, which describes the same s3:ExistingObjectTag source confusion on object-read operations. Both are fixed in the same release. The read-path issue allowed reading restricted object data; the write-path issue described here affects the integrity of object tags.

Impact

Attack prerequisites

  • Network access to the MinIO AIStor S3 API.
  • Valid credentials with permission to invoke PutObjectTagging (the s3:PutObjectTagging action). No credentials are needed where a bucket policy grants anonymous s3:PutObjectTagging subject to an s3:ExistingObjectTag condition.
  • The targeted deployment must use s3:ExistingObjectTag conditions in IAM or bucket policies to control access to tagging operations based on an object's current tags.

What an attacker can do

  • Satisfy an allow policy whose s3:ExistingObjectTag condition requires a specific tag to be present, even when the object does not carry that tag — tagging objects that the policy was intended to restrict.
  • Avoid a deny policy whose s3:ExistingObjectTag condition triggers on a specific tag, even when the object carries that tag — bypassing a tag-based protection intended to prevent modification of tagged objects.

Patches

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

For PutObjectTagging, the server now loads the object's stored tags from object metadata before performing the authorization check and populates s3:ExistingObjectTag condition values from those tags instead of from the tag payload. The caller-supplied tag payload is used only for the s3:RequestObjectTag and s3:RequestObjectTagKeys conditions. RELEASE.2026-06-06T02-44-06Z was incomplete: a payload tag with a crafted key could still set s3:ExistingObjectTag.

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:

  • Audit IAM and bucket policies for use of s3:ExistingObjectTag conditions on tagging operations. Where such conditions serve as a security gate, consider replacing or supplementing them with controls that do not rely on s3:ExistingObjectTag until the fix is applied — for example, deny policies based on other condition keys, or administrative restrictions on who holds tagging permissions.

Credits

Name Credit type Notes
Eren Akdag finder Independent report.
jiuker remediation developer MinIO.
Anis Eleuch remediation reviewer MinIO.
Harshavardhana remediation reviewer MinIO.
Poorna remediation reviewer MinIO.

References

Revision history

Date Revision
2026-06-15 Private disclosure to MinIO customers
2026-06-17 CVE ID assigned (CVE-2026-55821)
2026-10-19 Corrected the fixed release to RELEASE.2026-08-07T18-34-35Z, and the Description, the attack prerequisites and the Patches.
2026-10-22 Public disclosure