CVE-2026-33221 Nhost Storage Affected by MIME Type Spoofing via Trusted Client Content-Type Header in Storage Upload
LowCVSS 2.1
EPSS 0.19%
- Published
- Updated
- Exploit status
- No public exploit known
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 products
| Product | Affected versions | Fixed in |
|---|---|---|
| nhost(Go) | < 0.0.0-20260318074820-c4bd53f042d7 | 0.0.0-20260318074820-c4bd53f042d7 |
| nhost | = < 0.12.0 | No fix listed |
| nhost storage | < 0.12.0 | 0.12.0 |
References
- https://github.com/nhost/nhost/security/advisories/GHSA-g9f6-9775-hffm mitigation vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/nhost/nhost/pull/4018 issue-tracking patch
- https://github.com/nhost/nhost/commit/c4bd53f042d7f568e567e18e2665af81660fce85 patch
- github.com product
- https://github.com/nhost/nhost/releases/tag/storage%400.12.0 product release-notes
- github.com
- github.com