Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
7.3

CVE-2026-33221: Nhost Storage Allows Malicious File Uploads with Fake File Types

CVE-2026-33221 · published 7 months ago
Summary

A security issue in Nhost Storage allows attackers to trick the system into thinking a file has a certain type, which can lead to incorrect handling by systems that use the file's metadata. This could result in malicious files being treated as safe or being handled incorrectly. To fix this, Nhost should always detect the file type based on the file's content, rather than trusting the client-provided type.

What to do
  • Update github.com nhost to version 0.0.0-20260318074820-c4bd53f042d7.
  • Update nhost github.com/nhost/nhost to version 0.0.0-20260318074820-c4bd53f042d7.
  • Update nhost storage to version 0.12.0 or later.
Affected software
Ecosystem VendorProductAffected versions
go github.com nhost < 0.0.0-20260318074820-c4bd53f042d7
Fix: upgrade to 0.0.0-20260318074820-c4bd53f042d7
Go nhost github.com/nhost/nhost < 0.0.0-20260318074820-c4bd53f042d7
Fix: upgrade to 0.0.0-20260318074820-c4bd53f042d7
– nhost storage < 0.12.0
cpe:2.3:a:nhost:storage:*:*:*:*:*:*:*:*
Original advisory text
Nhost Storage Affected by MIME Type Spoofing via Trusted Client Content-Type Header in Storage Upload
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.
Fix within
Internet-facing 60 days
Internal At next upgrade
  • Not known to be exploited
  • Needs hands-on effort to exploit
  • Gives an attacker partial control
Severity
7.3 High
Exploitation
<1% chance of attack within 30 days
Type
CWE-345Insufficient Verification of Data Authenticity
CWE-434Unrestricted File Upload
CWE-343Predictable Value Range from Previous Values
Timeline
Published20 Mar 2026
Updated6 Nov 2026
First seen18 Mar 2026
Track software like this
Free during beta