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

> CVE-2026-33221: Nhost Storage Affected by MIME Type Spoofing via Trusted Client Content-Type Header in Storage Upload. CVSS 5.3 (CVSS 3.1).

Canonical: https://rewindex.com/cve/CVE-2026-33221
Last updated: 2026-06-17T10:37:08Z

- Published: 2026-03-20 23:00 UTC · Updated: 2026-06-17 10:37 UTC · Assigner: GitHub\_M
- CVSS: 5.3 (CVSS 3.1) · Severity: Medium · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- EPSS: 0.18%, 7th percentile (scored 2026-10-25)
- CISA KEV: no
- CWE: CWE-343, CWE-345

## 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.

## Affected vendors and products

- nhost: nhost

## Tracked companies

- [Nhost](https://rewindex.com/company/nhost.md)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2026-33221)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2026-33221)
- [https://github.com/nhost/nhost/commit/c4bd53f042d7f568e567e18e2665af81660fce85](https://github.com/nhost/nhost/commit/c4bd53f042d7f568e567e18e2665af81660fce85)
- [https://github.com/nhost/nhost/pull/4018](https://github.com/nhost/nhost/pull/4018)
- [https://github.com/nhost/nhost/releases/tag/storage%400.12.0](https://github.com/nhost/nhost/releases/tag/storage%25400.12.0)
- [https://github.com/nhost/nhost/security/advisories/GHSA-g9f6-9775-hffm](https://github.com/nhost/nhost/security/advisories/GHSA-g9f6-9775-hffm)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2026-33221 · Markdown: https://rewindex.com/cve/CVE-2026-33221.md · JSON: https://rewindex.com/api/v1/cves/CVE-2026-33221 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T04:04:03.484Z
