Description
Nhost is an open source Firebase alternative with GraphQL. Prior to version 1.41.0, The Nhost CLI MCP server, when explicitly configured to listen on a network port, applies no inbound authentication and does not enforce strict CORS. This allows a malicious website visited on the same machine to issue cross-origin requests to the MCP server and invoke privileged tools using the developer's locally configured credentials. This vulnerability requires two explicit, non-default configuration steps to be exploitable. The default nhost mcp start configuration is not affected. This issue has been patched in version 1.41.0.
Problem types
CWE-306: Missing Authentication for Critical Function
CWE-942: Permissive Cross-domain Policy with Untrusted Domains
Product status
References
github.com/.../nhost/security/advisories/GHSA-6c5x-3h35-vvw2
github.com/.../nhost/security/advisories/GHSA-6c5x-3h35-vvw2
github.com/nhost/nhost/pull/4060
github.com/...ommit/15eae9285f9dce63e184b9bb24616474ffa5ccc9