Vulnerability · Published Mar 20, 2026 · Assigned by GitHub_M
CVE-2026-33221Nhost Storage Affected by MIME Type Spoofing via Trusted Client Content-Type Header in Storage Upload
Low 2.1
In plain English
A low-severity insufficient verification of data authenticity in nhost from nhost. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 8% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/nhost/nhost | 0.0.0-20260318074820-c4bd53f042d7 | GHSA-g9f6-9775-hffm |
| Go | github.com/nhost/nhost | 0.0.0-20260318074820-c4bd53f042d7 | GO-2026-4759 |
Affected products (as reported)
Weakness: CWE-345, CWE-343 · Vector: 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
References
- https://github.com/nhost/nhost/security/advisories/GHSA-g9f6-9775-hffm x_refsource_CONFIRM
- https://github.com/nhost/nhost/pull/4018 x_refsource_MISC
- https://github.com/nhost/nhost/commit/c4bd53f042d7f568e567e18e2665af81660fce85 x_refsource_MISC
- https://github.com/nhost/nhost/releases/tag/storage%400.12.0 x_refsource_MISC