CVE-2026-34204: MinIO is Vulnerable to SSE Metadata Injection via Replication Headers

Published Mar 27, 2026
·
Updated

Impact

What kind of vulnerability is it? Who is impacted?

A flaw in extractMetadataFromMime() allows any authenticated user with s3:PutObject permission to inject internal server-side encryption metadata into objects by sending crafted X-Minio-Replication- headers on a normal PutObject request. The server unconditionally maps these headers to X-Minio-Internal- encryption metadata without verifying that the request is a legitimate replication request. Objects written this way carry bogus encryption keys and become permanently unreadable through the S3 API.

Any authenticated user or service with s3:PutObject permission on any bucket can make objects permanently unreadable by injecting fake SSE encryption metadata. The attacker sends a standard PutObject request with X-Minio-Replication-Server-Side-Encryption- headers but without the X-Minio-Source-Replication-Request header that marks legitimate replication traffic. The server maps these headers to internal encryption metadata (X-Minio-Internal-Server-Side-Encryption-Sealed-Key, etc.), causing all subsequent GetObject and HeadObject calls to treat the object as encrypted with keys that do not exist.

This is a targeted denial-of-service vulnerability. An attacker can selectively corrupt individual objects or entire buckets. The ReplicateObjectAction IAM permission is never checked because the request is a normal PutObject, not a replication request.

Affected component: cmd/handler-utils.go, function extractMetadataFromMime().

Affected Versions

All MinIO releases through the final release of the minio/minio open-source project.

The vulnerability was introduced in commit 468a9fae83e965ecefa1c1fdc2fc57b84ece95b0 ("Enable replication of SSE-C objects", PR #19107, 2024-03-28). The first affected release is RELEASE.2024-03-30T09-41-56Z.

Patches

Fixed in: MinIO AIStor RELEASE.2026-03-26T21-24-40Z

Binary Downloads

| Platform | Architecture | Download | | -------- | ------------ | -------- | | Linux | amd64 | minio | | Linux | arm64 | minio | | macOS | arm64 | minio | | macOS | amd64 | minio | | Windows | amd64 | minio.exe |

FIPS Binaries

| Platform | Architecture | Download | | -------- | ------------ | -------- | | Linux | amd64 | minio.fips | | Linux | arm64 | minio.fips |

Package Downloads

| Format | Architecture | Download | | ------ | ------------ | -------- | | DEB | amd64 | minio20260326212440.0.0amd64.deb | | DEB | arm64 | minio20260326212440.0.0arm64.deb | | RPM | amd64 | minio-20260326212440.0.0-1.x8664.rpm | | RPM | arm64 | minio-20260326212440.0.0-1.aarch64.rpm |

Container Images

bash Standard docker pull quay.io/minio/aistor/minio:RELEASE.2026-03-26T21-24-40Z podman pull quay.io/minio/aistor/minio:RELEASE.2026-03-26T21-24-40Z

FIPS docker pull quay.io/minio/aistor/minio:RELEASE.2026-03-26T21-24-40Z.fips podman pull quay.io/minio/aistor/minio:RELEASE.2026-03-26T21-24-40Z.fips

Homebrew (macOS)

bash brew install minio/aistor/minio

Workarounds

Users of the open-source minio/minio project should upgrade to MinIO AIStor RELEASE.2026-03-26T21-24-40Z or later.

If upgrading is not immediately possible:

- Restrict replication headers at a reverse proxy / load balancer. Drop or reject any request containing X-Minio-Replication-Server-Side-Encryption- headers that does not also carry X-Minio-Source-Replication-Request. This blocks the injection path without modifying the server.

- Audit IAM policies. Limit s3:PutObject grants to trusted principals. While this reduces the attack surface, it does not eliminate the vulnerability since any authorized user can exploit it.

References

- Introducing commit: 468a9fae8 (PR #19107) - MinIO AIStor

Other sources

MinIO is a high-performance object storage system. Prior to version RELEASE.2026-03-26T21-24-40Z, a flaw in extractMetadataFromMime() allows any authenticated user with s3:PutObject permission to inject internal server-side encryption metadata into objects by sending crafted X-Minio-Replication- headers on a normal PutObject request. This issue has been patched in version RELEASE.2026-03-26T21-24-40Z.

MITRE

Affected Software

2 affected components
go/github.com/minio/minio>=0.0.0-20240328174456-468a9fae83e9<=0.0.0-20260212201848-7aac2a2c5b7c
MinIO MinIO<2026-03-26t21-24-40z

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade minio/minio (MinIO AIStor) to a version that resolves this vulnerability.

    Fixed in RELEASE.2026-03-26T21-24-40Z
  2. Configuration

    Audit MinIO IAM policies and restrict `s3:PutObject` permissions so they are granted only to trusted principals.

    MinIO IAM s3:PutObject grants = Limit grants to trusted principals
  3. Compensating control

    At the reverse proxy/load balancer in front of MinIO, drop or reject any request containing `X-Minio-Replication-Server-Side-Encryption-*` headers unless it also includes the `X-Minio-Source-Replication-Request` header.

Event History

Mar 27, 2026
Advisory Published
via GitHub·10:26 PM
Data Sourced
via GitHub·10:26 PM
DescriptionWeaknessAffected Software
Mar 31, 2026
CVE Published
via MITRE·07:30 PM
Data Sourced
via MITRE·07:30 PM
DescriptionWeakness
Data Sourced
via NVD·08:16 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:16 PM
Affected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-34204?

CVE-2026-34204 is rated as a high severity vulnerability due to its potential for internal server-side encryption metadata injection.

2

Who is impacted by CVE-2026-34204?

Any authenticated user with s3:PutObject permission in systems utilizing the affected Minio versions is at risk from CVE-2026-34204.

3

How do I fix CVE-2026-34204?

To mitigate CVE-2026-34204, upgrade the Minio package to a version beyond 0.0.0-20260212201848-7aac2a2c5b7c.

4

What systems are affected by CVE-2026-34204?

CVE-2026-34204 affects systems running versions of Minio between 0.0.0-20240328174456-468a9fae83e9 and 0.0.0-20260212201848-7aac2a2c5b7c.

5

What does CVE-2026-34204 allow an attacker to do?

CVE-2026-34204 allows an authenticated user to inject crafted `X-Minio-Replication-*` headers, affecting server-side encryption metadata.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203