Authorization bypass via PutObjectFanOut destinations in S3 POST Object uploads
| Advisory ID | MSA-2026-002 |
|---|---|
| CVE ID | CVE-2026-55801 |
| CWE | CWE-862 |
| Severity | High |
| CVSS v4.0 Score | 7.1 |
| CVSS v4.0 Vector | CVSS: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 product | MinIO AIStor |
| Affected versions | >= RELEASE.2023-05-27T05-56-19Z, < RELEASE.2026-05-28T20-50-32Z |
| Fixed in | RELEASE.2026-05-28T20-50-32Z |
| Disclosed | October 22, 2026 |
| Last updated | October 22, 2026 |
Description
MinIO's PutObjectFanOut feature extends the S3 POST Object API. A single browser-style multipart-form upload, authorized by an S3 POST Policy, carries a list of destination keys in the x-minio-fanout-list NDJSON form field, and MinIO writes the uploaded object to each of those destinations under the same bucket. Using the feature requires the s3:PutObjectFanOut IAM action.
The server checked s3:PutObjectFanOut only against the POST form's key field. It did not authorize the destination keys carried in the fan-out list, and on a fan-out request it did not check s3:PutObject at all. Each listed destination was written without any further authorization check, so Deny statements on s3:PutObject did not apply to these writes.
As a result, a caller whose IAM policy permits fan-out uploads only to a narrow prefix (for example, uploads/*) can place objects at any key in the same bucket, including admin/, backups/, application configuration paths, or other tenants' prefixes, by listing those destinations in the fan-out list. The writes are limited to the bucket named in the request.
The issue is specific to POST Object requests that carry a fan-out list. PutObject, multipart uploads, and POST Object requests without a fan-out list check s3:PutObject against the key being written and are not affected. The archived open-source minio/minio server is affected from RELEASE.2023-05-27T05-56-19Z through its final release and will not receive a fix.
Impact
Attack prerequisites
- The caller holds a credential that grants
s3:PutObjectFanOuton at least one key in the target bucket, or holds a signed POST policy issued by an application whose credential grants it. The action is also granted by wildcard actions such ass3:*ands3:Put*. - To overwrite existing objects, the caller knows or can guess their keys.
- The caller can reach the S3 API endpoint.
What an attacker can do
- Write objects at any key in the bucket, regardless of prefix-scoped
s3:PutObjectgrants orDenystatements ons3:PutObject. - Overwrite existing application data, configuration objects, or other tenants' objects that share the bucket. On a bucket without versioning, the previous content is lost.
- Turn a narrowly scoped upload grant into write access to the whole bucket, in deployments that separate access by prefix (for example,
admin/,prod/,backups/).
Patches
Fixed in: MinIO AIStor RELEASE.2026-05-28T20-50-32Z.
The fix authorizes each destination key in the fan-out list against s3:PutObject before any write is dispatched; the first unauthorized destination fails the whole request. The existing s3:PutObjectFanOut check on the POST form key is retained as the feature's capability gate. Per-destination authorization uses s3:PutObject (rather than re-checking s3:PutObjectFanOut) so that existing prefix-scoped s3:PutObject deny statements automatically bind to the fan-out path without operators needing to update policies.
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:
- Do not grant
s3:PutObjectFanOutto any principal whose write access to a bucket needs to be narrower than the whole bucket. Fan-out uploads are the only way to reach the flaw, andPutObject, multipart uploads, and POST Object uploads without a fan-out list do not need this action. To keep other write actions while removing this one, replace wildcard grants such ass3:*ors3:Put*with explicit action lists, or add aDenystatement fors3:PutObjectFanOuton all objects in the bucket to those principals' IAM policies. - Review IAM policies, including those of credentials that sign POST policies for browser uploads, for any principal that holds
s3:PutObjectFanOuttogether with a narrowers3:PutObjectscope or aDenyons3:PutObjectin the same bucket. That combination is the one an attacker can exploit.
These measures reduce exposure but do not remove it; upgrading is the durable fix.
Credits
| Name | Credit type | Notes |
|---|---|---|
| Eren Akdag | finder | Independent report. |
| Mitchell Benjamin (Revamp Studio) | finder | Independent report. |
| Aditya Manthramurthy | remediation developer | MinIO. |
References
- CWE-862: Missing Authorization
- Amazon S3: POST Object
- Amazon S3: POST Policy (browser-based uploads)
- MinIO AIStor
Revision history
| Date | Revision |
|---|---|
| 2026-06-09 | Private disclosure to MinIO customers |
| 2026-06-17 | CVE ID assigned (CVE-2026-55801) |
| 2026-10-16 | Clarified the Description, Impact, and Workarounds. |
| 2026-10-19 | Corrected the Description and the Workarounds. |
| 2026-10-22 | Public disclosure |