{"answers":{"affected":"3 open source packages ship an affected version, including github.com/nhost/nhost. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-33221 in the wild and no public exploit code.","fix":"Upgrade github.com/nhost/nhost to 0.0.0-20260318074820-c4bd53f042d7 or later.","what":"CVE-2026-33221 is a low-severity vulnerability in nhost, published on 20 Mar 2026."},"fix_prompt":"Check this codebase for CVE-2026-33221 and fix it if it is affected.\n\nWhat it is: CVE-2026-33221 is a low-severity vulnerability in nhost, published on 20 Mar 2026. \nExploitation: There is no known exploitation of CVE-2026-33221 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/nhost/nhost (Go): affected all versions; fixed in 0.0.0-20260318074820-c4bd53f042d7\n- github.com/nhost/nhost (Go): affected all versions; fixed in 0.0.0-20260318074820-c4bd53f042d7\n- github.com/nhost/nhost (Go): affected all versions; fixed in 0.0.0-20260318074820-c4bd53f042d7\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-33221/ (Markdown: https://insights.sbomify.com/CVE-2026-33221/index.md)","id":"CVE-2026-33221","markdown":"https://insights.sbomify.com/CVE-2026-33221/index.md","name":"CVE-2026-33221","record":{"aliases":["GHSA-g9f6-9775-hffm","GO-2026-4759"],"analysis":null,"analysis_generated_by":null,"assigner":"GitHub_M","cpe":[{"product":"storage","vendor":"nhost"}],"cvss":{"score":2.1,"severity":"low","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-345","name":"Insufficient Verification of Data Authenticity"},{"id":"CWE-343","name":"Predictable Value Range from Previous Values"}],"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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Nhost Storage Affected by MIME Type Spoofing via Trusted Client Content-Type Header in Storage Upload","id":"CVE-2026-33221","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":null,"year":"2026"},"n_packages":3,"n_references":4,"next":{"headline":"NATS JetStream has an authorization bypass through its Management API","id":"CVE-2026-33222"},"packages":[{"ecosystem":"Go","fixed":["0.0.0-20260318074820-c4bd53f042d7"],"introduced":["0"],"last_affected":[],"package":"github.com/nhost/nhost","purl":null,"source":"GHSA-g9f6-9775-hffm"},{"ecosystem":"Go","fixed":["0.0.0-20260318074820-c4bd53f042d7"],"introduced":["0"],"last_affected":[],"package":"github.com/nhost/nhost","purl":"pkg:golang/github.com/nhost/nhost","source":"GHSA-g9f6-9775-hffm"},{"ecosystem":"Go","fixed":["0.0.0-20260318074820-c4bd53f042d7"],"introduced":["0"],"last_affected":[],"package":"github.com/nhost/nhost","purl":"pkg:golang/github.com/nhost/nhost","source":"GO-2026-4759"}],"prev":{"headline":"Weblate: JavaScript localization CDN add-on allows arbitrary local file read outside the repository","id":"CVE-2026-33220"},"products":["nhost"],"published":"2026-03-20","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-03-25","vendors":["nhost"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2026-33221/"}