# CVE-2026-33221: Nhost Storage Affected by MIME Type Spoofing via Trusted Client Content-Type Header in Storage Upload

- Severity: Low 2.1 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA: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): 0.19%, higher than 9% of CVEs (2026-12-01)
- Published: 2026-03-18T20:21:37.000Z
- Modified: 2026-06-17T10:37:08.897Z
- Also known as: GHSA-g9f6-9775-hffm, GO-2026-4759
- Weaknesses: CWE-343, CWE-345, CWE-434
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Nhost is an open source Firebase alternative with GraphQL. Prior to version 0.12.0, the storage service's file upload handler trusts the client-provided Content-Type header without performing server-side MIME type detection. This allows an attacker to upload files with an arbitrary MIME type, bypassing any MIME-type-based restrictions configured on storage buckets. This issue has been patched in version 0.12.0.

(As written by CVE List.)

## Affected

- nhost nhost: < 0.12.0
- github.com/nhost/nhost (Go): before 0.0.0-20260318074820-c4bd53f042d7
- nhost storage: before 0.12.0

## Every score

- GitHub_M: CVSS:4.0 2.1 Low `CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N`
- GitHub: CVSS:3.1 5.3 Low `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- GitHub: CVSS:4.0 Low `CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`

## References

- <https://github.com/nhost/nhost/security/advisories/GHSA-g9f6-9775-hffm> (advisory, mitigation, vendor-advisory, web)
- <https://github.com/nhost/nhost/pull/4018> (issue-tracking, patch, web)
- <https://github.com/nhost/nhost/commit/c4bd53f042d7f568e567e18e2665af81660fce85> (fix, patch, web)
- <https://github.com/nhost/nhost/releases/tag/storage%400.12.0> (product, release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-33221> (advisory)
- <https://github.com/nhost/nhost> (package)
- <https://github.com/nhost/nhost/releases/tag/storage@0.12.0> (web)

## Sources

- CVE List: [CVE-2026-33221](https://www.cve.org/CVERecord?id=CVE-2026-33221), CVE Terms of Use, modified 2026-03-25
- GitHub Advisory Database: [GHSA-g9f6-9775-hffm](https://github.com/advisories/GHSA-g9f6-9775-hffm), CC-BY-4.0, modified 2026-06-09
- Go Vulnerability Database: [GO-2026-4759](https://pkg.go.dev/vuln/GO-2026-4759), CC-BY-4.0, modified 2026-03-23
- NVD: [CVE-2026-33221](https://nvd.nist.gov/vuln/detail/CVE-2026-33221), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-33221 · Whole record: https://cve.day/CVE-2026-33221.json · Rebuilt by cve.day 2026-11-25T22:59:16.364Z
