MSA-2026-001

Object Lock default-retention bypass and forged replica status via the X-Amz-Replication-Status request header

Advisory IDMSA-2026-001
CVE ID CVE-2026-55800
CWE CWE-862
SeverityHigh
CVSS v4.0 Score7.1
CVSS v4.0 VectorCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Affected productMinIO AIStor
Affected versions>= RELEASE.2020-11-25T22-36-25Z, < RELEASE.2026-05-28T20-50-32Z
Fixed inRELEASE.2026-05-28T20-50-32Z
DisclosedOctober 22, 2026
Last updatedOctober 22, 2026

Description

MinIO AIStor uses the X-Amz-Replication-Status request header to mark a write as arriving from a replication source. When a write carries the value REPLICA or REPLICA-EDGE, the server treats the new object as a replica. It records the object as a replica and does not apply the bucket's default Object Lock retention, because a replica inherits its retention settings from the source object. Accepting this header is meant to require the s3:ReplicateObject IAM action, which is held by the credentials that replication sources use.

That requirement was not enforced consistently. On single-object PutObject uploads the check applied only to the value REPLICA. A request carrying REPLICA-EDGE skipped the check but was still exempted from default retention. Multipart-upload initiation (CreateMultipartUpload) and CopyObject performed no check for either value. An authenticated caller holding only s3:PutObject, plus s3:GetObject on the source object for a copy, could therefore set the header and have the server treat the object it wrote as a replica.

The effect depends on the value and the operation:

  • With REPLICA, on multipart-upload initiation or CopyObject, the object is recorded as a replica, is excluded from the bucket's outbound replication, and is not held under the bucket's default retention.
  • With REPLICA-EDGE, on PutObject, multipart-upload initiation, or CopyObject, the object is not held under the bucket's default retention. This value is accepted from RELEASE.2024-10-10T15-35-50Z; earlier releases are affected through REPLICA only.
  • On CopyObject, any other non-empty value can also change the replication status recorded for the object, but does not affect retention.

Deployments that use bucket Object Lock with a default retention configuration are affected by the retention bypass. The forged replica status affects any deployment, since it does not depend on Object Lock. The archived open-source minio/minio server is affected through its final release, through the REPLICA value on multipart-upload initiation and CopyObject, and will not receive a fix.

Impact

Attack prerequisites

  • An authenticated caller holding s3:PutObject on the target bucket, and s3:GetObject on the source object for the CopyObject variant. These are typical permissions for an application upload service account.
  • The caller does not need s3:ReplicateObject, s3:PutObjectRetention, or s3:PutObjectLegalHold.
  • For the retention bypass, the target bucket has Object Lock enabled with a default retention configuration. The forged replica status does not require Object Lock.

What an attacker can do

  • Write objects that the server records as having arrived from a replication source, so replication-status queries report them as replicas rather than as direct client writes.
  • Keep objects written with REPLICA out of the bucket's outbound replication, so they are not copied to the configured replication targets.
  • On buckets with Object Lock enabled, write new objects that are not held under the bucket's default retention, so they fall outside the write-once protection the operator expects to apply.

Patches

Fixed in: MinIO AIStor RELEASE.2026-05-28T20-50-32Z.

The fix requires the s3:ReplicateObject action whenever a single-object PutObject upload, a multipart-upload initiation, or a CopyObject request carries the X-Amz-Replication-Status header with the value REPLICA or REPLICA-EDGE. These are the same values that the retention logic treats as a replica. The check runs before the object is written. On CopyObject, values other than these two are no longer recorded as a replica.

Upgrade to MinIO AIStor RELEASE.2026-05-28T20-50-32Z or later, available from https://dl.min.io/aistor/minio/.

Workarounds

If upgrading is not immediately possible:

  • At a reverse proxy or load balancer in front of the cluster, remove the X-Amz-Replication-Status request header, or reject requests that carry it, for all traffic except traffic from the clusters configured as replication sources for this deployment. MinIO AIStor bucket replication and site replication send this header on every replicated write, so removing it from replication traffic would cause replicated objects to lose their replica status and to receive the target bucket's default retention instead of the source object's. Identify replication traffic by the source clusters' network addresses. Other MinIO-specific request headers can be set by any client and do not identify replication traffic.
  • Grant s3:PutObject on Object-Lock-enabled buckets, and s3:GetObject on objects that could be used as copy sources, only to principals trusted to write to those buckets. This reduces the number of principals that can use the flaw but does not remove it.
  • To look for past use of the flaw, search audit logs for successful PutObject, NewMultipartUpload (multipart-upload initiation), and CopyObject requests that carry X-Amz-Replication-Status and were made with credentials that are not used by a replication source. No AccessDenied entry is recorded for these requests, because no permission check was performed.

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

Credits

Name Credit type Notes
Mitchell Benjamin (Revamp Studio) finder Reported the multipart-upload variant.
MinIO Security Team finder Identified the copy-object variant during the review that produced the fix for CVE-2026-34204 (SSE metadata injection via replication headers).
Aditya Manthramurthy remediation developer 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-55800)
2026-10-15 Corrected the request header name and the Workarounds, and added the REPLICA-EDGE header value.
2026-10-19 Corrected the Description, the Impact, the Patches and the Workarounds.
2026-10-22 Public disclosure