Untriaged
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.
References
- https://github.com/nhost/nhost/security/advisories/GHSA-g9f6-9775-hffm x_refsource_CONFIRM
- https://github.com/nhost/nhost/pull/4018 x_refsource_MISC
- https://github.com/nhost/nhost/commit/c4bd53f042d7f568e567e18e2665af81660fce85 x_refsource_MISC
- https://github.com/nhost/nhost/releases/tag/storage%400.12.0 x_refsource_MISC
Affected products
nhost
- ==< 0.12.0