{"id":"CVE-2026-33221","state":"PUBLISHED","title":"Nhost Storage Affected by MIME Type Spoofing via Trusted Client Content-Type Header in Storage Upload","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.","publishedAt":"2026-03-20T23:00:18.342Z","updatedAt":"2026-03-25T13:44:43.741Z","severity":{"score":2.1,"label":"Low","version":"4.0","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","source":"GitHub_M"},"assigner":"GitHub_M","products":["nhost nhost"],"affected":[{"vendor":"nhost","product":"nhost","versions":[{"version":"< 0.12.0","status":"affected"}]}],"references":["https://github.com/nhost/nhost/security/advisories/GHSA-g9f6-9775-hffm","https://github.com/nhost/nhost/pull/4018","https://github.com/nhost/nhost/commit/c4bd53f042d7f568e567e18e2665af81660fce85","https://github.com/nhost/nhost/releases/tag/storage%400.12.0"],"weaknesses":["CWE-345","CWE-343"],"ingestedAt":"2026-10-29T20:11:40.391Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/33xxx/CVE-2026-33221.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-33221","state":"PUBLISHED","datePublished":"2026-03-20T23:00:18.342Z","dateUpdated":"2026-03-25T13:44:43.741Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-03-17T23:23:58.314Z"},"containers":{"cna":{"title":"Nhost Storage Affected by MIME Type Spoofing via Trusted Client Content-Type Header in Storage Upload","descriptions":[{"lang":"en","value":"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":[{"vendor":"nhost","product":"nhost","versions":[{"version":"< 0.12.0","status":"affected"}]}],"references":[{"url":"https://github.com/nhost/nhost/security/advisories/GHSA-g9f6-9775-hffm","name":"https://github.com/nhost/nhost/security/advisories/GHSA-g9f6-9775-hffm","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/nhost/nhost/pull/4018","name":"https://github.com/nhost/nhost/pull/4018","tags":["x_refsource_MISC"]},{"url":"https://github.com/nhost/nhost/commit/c4bd53f042d7f568e567e18e2665af81660fce85","name":"https://github.com/nhost/nhost/commit/c4bd53f042d7f568e567e18e2665af81660fce85","tags":["x_refsource_MISC"]},{"url":"https://github.com/nhost/nhost/releases/tag/storage%400.12.0","name":"https://github.com/nhost/nhost/releases/tag/storage%400.12.0","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"HIGH","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"ACTIVE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"LOW","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":2.1,"baseSeverity":"LOW","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-345","lang":"en","description":"CWE-345: Insufficient Verification of Data Authenticity","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-343","lang":"en","description":"CWE-343: Predictable Value Range from Previous Values","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-03-20T23:00:18.342Z"},"source":{"advisory":"GHSA-g9f6-9775-hffm","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-03-25T13:44:34.920197Z","id":"CVE-2026-33221","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-03-25T13:44:43.741Z"}}]}}}