Nhost Storage Affected by MIME Type Spoofing via Trusted Client Content-Type Header in Storage Upload
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Active
- Attack complexity
- High
- Attack requirements
- None
- Impact type
- Security bypass, Code execution
- Confidentiality · integrity · availability
- None · Low · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-345 and CWE-434.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| nhost | nhost | before 0.12.0 | 0.12.0 | Patch available | CNA |
| — | github.com/nhost/nhost (Go) | before 0.0.0-20260318074820-c4bd53f042d7 | 0.0.0-20260318074820-c4bd53f042d7 | Patch available | GHSA-g9f6-9775-hffm |
- nhost Vendornhost Affected before 0.12.0 Fixed in 0.12.0 Patch available CNA
- github.com/nhost/nhost (Go) Vendor— Affected before 0.0.0-20260318074820-c4bd53f042d7 Fixed in 0.0.0-20260318074820-c4bd53f042d7 Patch available GHSA-g9f6-9775-hffm
Remediation
- Fix · CNA nhost (nhost) Fixed in 0.12.0
- Fix · GHSA-g9f6-9775-hffm github.com/nhost/nhost (Go) Fixed in 0.0.0-20260318074820-c4bd53f042d7 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-33221
- 2026-10-03 Alias added: GHSA-g9f6-9775-hffm
References
Patch 2
Advisory 2
Sources
- CVE-2026-33221 · CVE Program
- CVE-2026-33221 · NVD
- FIRST EPSS
- GHSA-g9f6-9775-hffm · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences