CVE-2026-34204
JSON

7.1high

MinIO is Vulnerable to SSE Metadata Injection via Replication Headers

Severity
7.1high CVSS:4.0 by GitHub_M
Exploit likelihood
0.14% (higher than 3% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-3rh2-v3gr-35p9GO-2026-4896

Description

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.

Affected

Product or packageVersionsReported by
minio minio< RELEASE.2026-03-26T21-24-40Z, before 2026-03-26t21-24-40zCVE List, NVD
github.com/minio/minio (Go)from 0.0.0-20240328174456-468a9fae83e9 up to 0.0.0-20260212201848-7aac2a2c5b7c, from 0.0.0-20240328174456-468a9fae83e9GitHub Advisory Database, Go Vulnerability Database

All scores

GitHub_M7.1high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N
GitHub7.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N
NVD7.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H

Classification

CWE-287

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database

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
PlatformArchitectureDownload
Linuxamd64minio
Linuxarm64minio
macOSarm64minio
macOSamd64minio
Windowsamd64minio.exe
FIPS Binaries
PlatformArchitectureDownload
Linuxamd64minio.fips
Linuxarm64minio.fips
Package Downloads
Container Images
# 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)
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

Go Vulnerability Database

MinIO is Vulnerable to SSE Metadata Injection via Replication Headers in github.com/minio/minio

NVD (es)

MinIO es un sistema de almacenamiento de objetos de alto rendimiento. Antes de la versión RELEASE.2026-03-26T21-24-40Z, una falla en extractMetadataFromMime() permite a cualquier usuario autenticado con permiso s3:PutObject inyectar metadatos internos de cifrado del lado del servidor en objetos enviando encabezados X-Minio-Replication-* manipulados en una solicitud PutObject normal. Este problema ha sido parcheado en la versión RELEASE.2026-03-26T21-24-40Z.

References

Related

Sources

SourceRecordLicence
CVE ListCVE-2026-34204 changed 2026-04-01CVE Terms of Use
GitHub Advisory DatabaseGHSA-3rh2-v3gr-35p9 changed 2026-10-08CC-BY-4.0
Go Vulnerability DatabaseGO-2026-4896 changed 2026-10-08CC-BY-4.0
NVDCVE-2026-34204 changed 2026-07-24Public domain