# CVE-2021-21362: Bypassing readOnly policy by creating a temporary 'mc share upload' URL

- Severity: High 7.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.34%, higher than 72% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-03-08T18:40:34.000Z
- Modified: 2026-06-17T03:35:23.510Z
- Weaknesses: CWE-285, CWE-863
- Assigned by: GitHub_M

## Description

MinIO is an open-source high performance object storage service and it is API compatible with Amazon S3 cloud storage service. In MinIO before version RELEASE.2021-03-04T00-53-13Z it is possible to bypass a readOnly policy by creating a temporary 'mc share upload' URL. Everyone is impacted who uses MinIO multi-users. This is fixed in version RELEASE.2021-03-04T00-53-13Z. As a workaround, one can disable uploads with `Content-Type: multipart/form-data` as mentioned in the S3 API RESTObjectPOST docs by using a proxy in front of MinIO.

(As written by CVE List.)

## Affected

- minio minio: < RELEASE.2021-03-04T00-53-13Z; before 2021-03-04t00-53-13z

## Every score

- GitHub_M: CVSS:3.1 7.7 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`
- NVD: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:N/I:P/A:N`

## References

- <https://github.com/minio/minio/pull/11682> (exploit, third-party-advisory)
- <https://github.com/minio/minio/security/advisories/GHSA-hq5j-6r98-9m8v> (third-party-advisory)
- <https://github.com/minio/minio/commit/039f59b552319fcc2f83631bb421a7d4b82bc482> (patch, third-party-advisory)
- <https://github.com/minio/minio/releases/tag/RELEASE.2021-03-04T00-53-13Z> (release-notes, third-party-advisory)

## Sources

- CVE List: [CVE-2021-21362](https://www.cve.org/CVERecord?id=CVE-2021-21362), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-21362](https://nvd.nist.gov/vuln/detail/CVE-2021-21362), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-21362 · Whole record: https://cve.day/CVE-2021-21362.json · Rebuilt by cve.day 2026-11-25T22:58:00.177Z
