{"id":"JLSEC-2026-1860","summary":"MinIO is Vulnerable to SSE Metadata Injection via Replication Headers","details":"## Impact\n\n_What kind of vulnerability is it? Who is impacted?_\n\nA 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.\n\nAny 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.\n\nThis 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.\n\n**Affected component:** `cmd/handler-utils.go`, function `extractMetadataFromMime()`.\n\n## Affected Versions\n\nAll MinIO releases through the final release of the minio/minio open-source project.\n\nThe vulnerability was introduced in commit `468a9fae83e965ecefa1c1fdc2fc57b84ece95b0` (\"Enable replication of SSE-C objects\", [PR #19107](https://github.com/minio/minio/pull/19107), 2024-03-28). The first affected release is `RELEASE.2024-03-30T09-41-56Z`.\n\n## Patches\n\n**Fixed in**: MinIO AIStor RELEASE.2026-03-26T21-24-40Z\n\n### Binary Downloads\n\n| Platform | Architecture | Download |\n| -------- | ------------ | -------- |\n| Linux | amd64 | [minio](https://dl.min.io/aistor/minio/release/linux-amd64/minio) |\n| Linux | arm64 | [minio](https://dl.min.io/aistor/minio/release/linux-arm64/minio) |\n| macOS | arm64 | [minio](https://dl.min.io/aistor/minio/release/darwin-arm64/minio) |\n| macOS | amd64 | [minio](https://dl.min.io/aistor/minio/release/darwin-amd64/minio) |\n| Windows | amd64 | [minio.exe](https://dl.min.io/aistor/minio/release/windows-amd64/minio.exe) |\n\n### FIPS Binaries\n\n| Platform | Architecture | Download |\n| -------- | ------------ | -------- |\n| Linux | amd64 | [minio.fips](https://dl.min.io/aistor/minio/release/linux-amd64/minio.fips) |\n| Linux | arm64 | [minio.fips](https://dl.min.io/aistor/minio/release/linux-arm64/minio.fips) |\n\n### Package Downloads\n\n| Format | Architecture | Download |\n| ------ | ------------ | -------- |\n| DEB | amd64 | [minio_20260326212440.0.0_amd64.deb](https://dl.min.io/aistor/minio/release/linux-amd64/minio_20260326212440.0.0_amd64.deb) |\n| DEB | arm64 | [minio_20260326212440.0.0_arm64.deb](https://dl.min.io/aistor/minio/release/linux-arm64/minio_20260326212440.0.0_arm64.deb) |\n| RPM | amd64 | [minio-20260326212440.0.0-1.x86_64.rpm](https://dl.min.io/aistor/minio/release/linux-amd64/minio-20260326212440.0.0-1.x86_64.rpm) |\n| RPM | arm64 | [minio-20260326212440.0.0-1.aarch64.rpm](https://dl.min.io/aistor/minio/release/linux-arm64/minio-20260326212440.0.0-1.aarch64.rpm) |\n\n### Container Images\n\n```bash\n# Standard\ndocker pull quay.io/minio/aistor/minio:RELEASE.2026-03-26T21-24-40Z\npodman pull quay.io/minio/aistor/minio:RELEASE.2026-03-26T21-24-40Z\n\n# FIPS\ndocker pull quay.io/minio/aistor/minio:RELEASE.2026-03-26T21-24-40Z.fips\npodman pull quay.io/minio/aistor/minio:RELEASE.2026-03-26T21-24-40Z.fips\n```\n\n### Homebrew (macOS)\n\n```bash\nbrew install minio/aistor/minio\n```\n\n## Workarounds\n\n[Users of the open-source `minio/minio` project should upgrade to MinIO AIStor `RELEASE.2026-03-26T21-24-40Z` or later.](https://docs.min.io/enterprise/aistor-object-store/upgrade-aistor-server/community-edition/)\n\nIf upgrading is not immediately possible:\n\n  - **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.\n\n  - **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.\n\n## References\n\n  - Introducing commit: [`468a9fae8`](https://github.com/minio/minio/commit/468a9fae83e965ecefa1c1fdc2fc57b84ece95b0) ([PR #19107](https://github.com/minio/minio/pull/19107))\n  - [MinIO AIStor](https://min.io/aistor)","modified":"2026-12-02T14:58:34.481694297Z","published":"2026-12-02T14:32:56.182Z","upstream":["CVE-2026-34204","EUVD-2026-17600","GHSA-3rh2-v3gr-35p9"],"database_specific":{"sources":[{"affected":{"minio:minio":["\u003c 2026-03-26t21-24-40z"]},"id":"CVE-2026-34204","imported":"2026-11-21T06:09:08.444Z","modified":"2026-07-24T20:10:00.147Z","published":"2026-03-31T20:16:28.583Z","url":"https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-34204","html_url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34204","database_specific":{"status":"Analyzed"}},{"html_url":"https://github.com/advisories/GHSA-3rh2-v3gr-35p9","id":"GHSA-3rh2-v3gr-35p9","imported":"2026-11-21T06:11:16.024Z","modified":"2026-04-08T11:55:45Z","published":"2026-03-27T22:26:05Z","url":"https://api.github.com/advisories/GHSA-3rh2-v3gr-35p9"},{"html_url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-17600","affected":{"minio:minio":["\u003c RELEASE.2026-03-26T21-24-40Z"]},"id":"EUVD-2026-17600","imported":"2026-11-21T06:09:09.683Z","modified":"2026-04-01T13:42:45Z","published":"2026-03-31T19:30:31Z","url":"https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-17600"}],"license":"CC-BY-4.0"},"references":[{"type":"WEB","url":"https://docs.min.io/enterprise/aistor-object-store/upgrade-aistor-server/community-edition"},{"type":"WEB","url":"https://github.com/advisories/GHSA-3rh2-v3gr-35p9"},{"type":"WEB","url":"https://github.com/minio/minio/security/advisories/GHSA-3rh2-v3gr-35p9"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34204"}],"affected":[{"package":{"name":"minio_jll","ecosystem":"Julia","purl":"pkg:julia/minio_jll?uuid=ad83bbfc-c153-533a-bb97-700a7db721e0"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"database_specific":{"source":"https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-1860.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H","source":"NVD"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"CNA"}],"credits":[{"name":"harshavardhana","contact":["https://github.com/harshavardhana"],"type":"REMEDIATION_DEVELOPER"},{"name":"donatello","contact":["https://github.com/donatello"],"type":"REMEDIATION_REVIEWER"},{"name":"shtripat","contact":["https://github.com/shtripat"],"type":"REMEDIATION_REVIEWER"}]}