{"id":"CVE-2026-42600","aliases":["CVE-2026-42600","GHSA-xh8f-g2qw-gcm7","GO-2026-5757"],"related":[],"kind":"vulnerability","state":"published","title":"MinIO: Path Traversal via msgpack Body in `ReadMultiple` Storage-REST Endpoint","summary":"MinIO is a high-performance object storage system. From RELEASE.2022-07-24T01-54-52Z to before RELEASE.2026-04-14T21-32-45Z, A path traversal vulnerability in MinIO's ReadMultiple internode storage-REST endpoint allows a caller holding the cluster root JWT to read files from outside the configured drive roots, bounded only by the MinIO process UID. The attacker sends POST minio/storage/{drivePath}/v63/rmpl with a msgpack-encoded body carrying ../ sequences in the Bucket field. The server opens the resulting path via os.OpenFile with O_RDONLY|O_NOATIME and returns its contents in the msgpack response stream. This vulnerability is fixed in RELEASE.2026-04-14T21-32-45Z.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"MinIO is a high-performance object storage system. From RELEASE.2022-07-24T01-54-52Z to before RELEASE.2026-04-14T21-32-45Z, A path traversal vulnerability in MinIO's ReadMultiple internode storage-REST endpoint allows a caller holding the cluster root JWT to read files from outside the configured drive roots, bounded only by the MinIO process UID. The attacker sends POST minio/storage/{drivePath}/v63/rmpl with a msgpack-encoded body carrying ../ sequences in the Bucket field. The server opens the resulting path via os.OpenFile with O_RDONLY|O_NOATIME and returns its contents in the msgpack response stream. This vulnerability is fixed in RELEASE.2026-04-14T21-32-45Z.","source":"cvelist"},{"lang":"en","text":"### Impact\n\n_What kind of vulnerability is it? Who is impacted?_\n\nA path traversal vulnerability in MinIO's `ReadMultiple` internode storage-REST\nendpoint allows a caller holding the cluster root JWT to read files from\noutside the configured drive roots, bounded only by the MinIO process UID.\n\nDistributed-erasure (multi-node) MinIO deployments are impacted. Single-node\nstandalone deployments do not register the route and are not affected. The\nattack requires an HS512 JWT signed with `MINIO_ROOT_PASSWORD` and carrying\n`accessKey = MINIO_ROOT_USER` — the same secret every peer in the cluster\nholds to authenticate internode traffic, so a compromised peer or any actor in\npossession of the root credential can mint one.\n\nThe `ReadMultiple` handler (`cmd/storage-rest-server.go`) decodes a msgpack\n`ReadMultipleReq` body containing `Bucket`, `Prefix`, and `Files` fields and\nforwards them to `xlStorage.ReadMultiple` (`cmd/xl-storage.go`) without\nvalidation:\n\n```go\nvolumeDir := pathJoin(s.drivePath, req.Bucket)          // traversal resolves here\nfor _, f := range req.Files {\n    fullPath := pathJoin(volumeDir, req.Prefix, f)\n    data, mt, err = s.readAllDataWithDMTime(ctx, req.Bucket, volumeDir, fullPath)\n}\n```\n\n`pathJoin` calls `path.Clean`, which resolves `..` components and produces an\nabsolute path anywhere on the filesystem — it is not a root jail. The global\n`setRequestValidityMiddleware` rejects `..` in `r.URL.Path` and `r.Form` but\ndoes not inspect request bodies, so msgpack-encoded traversal bypasses it.\nSibling storage methods (`StatInfoFile`, `ReadFileHandler`, `ReadVersion`)\nvalidate their volume argument through `s.getVolDir(volume)`, which rejects\n`..`; `ReadMultiple` skips this call.\n\nThe attacker sends `POST /minio/storage/{drivePath}/v63/rmpl` with a\nmsgpack-encoded body carrying `../` sequences in the `Bucket` field. The\nserver opens the resulting path via `os.OpenFile` with `O_RDONLY|O_NOATIME`\nand returns its contents in the msgpack response stream.\n\n**Impact by deployment:**\n\n- **Bare-metal with `User=minio` in the systemd unit** — the `O_NOATIME`\n  ownership check bounds the read to files owned by the MinIO UID. Reachable\n  secrets include TLS private keys, KMS/KES key material, systemd credentials,\n  and data belonging to other tenants sharing the same UID on the host.\n  Secrets leaked this way persist across cluster credential rotation.\n\n- **Containerized running as UID 0** (the historical default for the official\n  Docker image, `docker-compose` examples, and Helm charts without\n  `securityContext.runAsNonRoot`) — the primitive escalates to arbitrary\n  host-filesystem disclosure: `/etc/shadow`, `/root/**`, Kubernetes\n  service-account tokens, cloud-init metadata caches.\n\n**Affected components:** `cmd/storage-rest-server.go` (`ReadMultiple` handler),\n`cmd/xl-storage.go` (`xlStorage.ReadMultiple`).\n\n**CWE:** CWE-22 (Improper Limitation of a Pathname to a Restricted Directory\n— 'Path Traversal')\n\n**CVSS v4.0 Score:** 6.9 (Medium)\n\n**Vector:** `CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`\n\n### Affected Versions\n\nAll MinIO releases from `RELEASE.2022-07-24T01-54-52Z` through the final\nrelease of the minio/minio open-source project, `RELEASE.2025-09-07T16-13-09Z`.\n\nThe vulnerability was introduced in commit\n[`f939d1c18`](https://github.com/minio/minio/commit/f939d1c1831c71f4b1c14df6d9cd62b12ccce7a3)\n(\"Independent Multipart Uploads\",\n[PR #15346](https://github.com/minio/minio/pull/15346)), which added the\n`ReadMultiple` storage-REST endpoint as part of the multipart upload\nredesign. The first affected release is `RELEASE.2022-07-24T01-54-52Z`.\n\n### Patches\n\n**Fixed in**: MinIO AIStor `RELEASE.2026-04-14T21-32-45Z` (recommended\nupgrade target). The fix — which removed the `ReadMultiple` handler, the\ncorresponding storage-driver method, the msgpack datatypes, the REST-client\nwrapper, and the route registration — first shipped in **MinIO AIStor\n`RELEASE.2024-10-23T19-38-07Z`**. Every AIStor release from\n`RELEASE.2024-10-23T19-38-07Z` onward is unaffected; users should upgrade to\n`RELEASE.2026-04-14T21-32-45Z` or later to pick up the accumulated fixes and\nimprovements shipped since.\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_20260414213245.0.0_amd64.deb](https://dl.min.io/aistor/minio/release/linux-amd64/minio_20260414213245.0.0_amd64.deb)         |\n| DEB    | arm64        | [minio_20260414213245.0.0_arm64.deb](https://dl.min.io/aistor/minio/release/linux-arm64/minio_20260414213245.0.0_arm64.deb)         |\n| RPM    | amd64        | [minio-20260414213245.0.0-1.x86_64.rpm](https://dl.min.io/aistor/minio/release/linux-amd64/minio-20260414213245.0.0-1.x86_64.rpm)   |\n| RPM    | arm64        | [minio-20260414213245.0.0-1.aarch64.rpm](https://dl.min.io/aistor/minio/release/linux-arm64/minio-20260414213245.0.0-1.aarch64.rpm) |\n\n#### Container Images\n\n```bash\n# Standard\ndocker pull quay.io/minio/aistor/minio:RELEASE.2026-04-14T21-32-45Z\npodman pull quay.io/minio/aistor/minio:RELEASE.2026-04-14T21-32-45Z\n\n# FIPS\ndocker pull quay.io/minio/aistor/minio:RELEASE.2026-04-14T21-32-45Z.fips\npodman pull quay.io/minio/aistor/minio:RELEASE.2026-04-14T21-32-45Z.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-04-14T21-32-45Z` or later.](https://docs.min.io/enterprise/aistor-object-store/upgrade-aistor-server/community-edition/)\n\nIf upgrading is not immediately possible:\n\n- **Rotate the root credential and restrict who holds it.** The exploit\n  requires a JWT signed with `MINIO_ROOT_PASSWORD`. Treat the root credential\n  as the host-filesystem disclosure primitive that it is: rotate it after any\n  suspected exposure, store it only in the secret manager that bootstraps the\n  cluster, and do not hand it to applications or operators who only need\n  object-level access.\n\n- **Do not run the MinIO container as UID 0.** Set\n  `securityContext.runAsNonRoot: true` (and a non-zero `runAsUser`) in\n  Kubernetes manifests, or add `--user` to `docker run`. This reduces the\n  blast radius from arbitrary host-filesystem disclosure to MinIO-UID-owned\n  files only.\n\n- **Restrict the internode storage-REST port at the network layer.** In\n  distributed deployments, the storage-REST route is served on the same port\n  as the S3 API by default. Where feasible, use `--internode-port` to expose\n  internode traffic on a separate interface reachable only from other cluster\n  peers, and block that interface from client networks.\n\n### Credits\n\n- **Finders:** Discovered by Claude, Anthropic's AI assistant, and triaged by\n  **Adrian Denkiewicz** at **Doyensec** in collaboration with **Anthropic\n  Research**.\n\n### Resources\n\n- Introducing commit: [`f939d1c18`](https://github.com/minio/minio/commit/f939d1c1831c71f4b1c14df6d9cd62b12ccce7a3)\n  ([PR #15346](https://github.com/minio/minio/pull/15346))\n- [CWE-22 — Improper Limitation of a Pathname to a Restricted Directory](https://cwe.mitre.org/data/definitions/22.html)\n- [CVE-2022-35919 — MinIO admin-authenticated path traversal in server-update endpoint (same class, different channel)](https://github.com/minio/minio/security/advisories/GHSA-gr9v-6pcm-rqvg)\n- [MinIO AIStor](https://min.io/aistor)","format":"markdown","source":"ghsa"},{"lang":"en","text":"MinIO vulnerable to Path Traversal via msgpack Body in `ReadMultiple` Storage-REST Endpoint in github.com/minio/minio.\n\nNOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.\n\n(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)\n\nThe additional affected modules and versions are: github.com/minio/minio from v0.0.0-20220724015452 before v0.0.0-20260414213245.","format":"markdown","source":"go"},{"lang":"es","text":"MinIO es un sistema de almacenamiento de objetos de alto rendimiento. Desde RELEASE.2022-07-24T01-54-52Z hasta antes de RELEASE.2026-04-14T21-32-45Z, una vulnerabilidad de salto de ruta en el endpoint de almacenamiento-REST internodo ReadMultiple de MinIO permite a un llamador que posee el JWT raíz del clúster leer archivos desde fuera de las raíces de unidad configuradas, limitado únicamente por el UID del proceso de MinIO. El atacante envía POST minio/storage/{drivePath}/v63/rmpl con un cuerpo codificado en msgpack que contiene secuencias .. /  en el campo Bucket. El servidor abre la ruta resultante a través de os.OpenFile con O_RDONLY|O_NOATIME y devuelve su contenido en el flujo de respuesta msgpack. Esta vulnerabilidad se corrige en RELEASE.2026-04-14T21-32-45Z.","source":"nvd"}],"published":"2026-05-05T20:05:05.000Z","modified":"2026-11-11T20:10:00.273Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","score":6.9,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","score":6.9,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","score":4.9,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","score":4.9,"rating":"MEDIUM"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"version":">= RELEASE.2022-07-24T01-54-52Z, < RELEASE.2026-04-14T21-32-45Z","status":"affected"}],"vendor":"minio","product":"minio","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0.0.0-20220724015452","status":"affected","fixed":"0.0.0-20260414213245"}],"ecosystem":"Go","package":"github.com/minio/minio","purl":"pkg:golang/github.com/minio/minio","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/minio/minio","purl":"pkg:golang/github.com/minio/minio","source":"go"},{"ranges":[{"status":"affected","introduced":"2022-07-24t01-54-52z","fixed":"2026-04-14t21-32-45z"}],"vendor":"minio","product":"minio","cpe":"cpe:2.3:a:minio:minio:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/minio/minio/security/advisories/GHSA-xh8f-g2qw-gcm7","tags":["advisory","mitigation","patch","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42600","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/minio/minio","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-05-15T18:22:01.367Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-42600","url":"https://www.cve.org/CVERecord?id=CVE-2026-42600","licence":"CVE Terms of Use","modified":"2026-05-15T18:24:49.669Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-xh8f-g2qw-gcm7","url":"https://github.com/advisories/GHSA-xh8f-g2qw-gcm7","licence":"CC-BY-4.0","modified":"2026-10-08T08:11:01.361Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-5757","url":"https://pkg.go.dev/vuln/GO-2026-5757","licence":"CC-BY-4.0","modified":"2026-10-08T08:11:01.361Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-42600","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42600","licence":"Public domain","modified":"2026-11-11T20:10:00.273Z"}],"updatedAt":"2026-11-25T22:59:21.295Z","epss":{"score":0.08695,"percentile":0.9524,"date":"2026-12-01T12:00:22.000Z"}}