CyberRota Analysis
AI-GeneratedThe Nhost CLI versions prior to 1.46.0 are vulnerable due to the `nhost configserver` command exposing the Mimir GraphQL API with inadequate authorization and permissive CORS settings, allowing unauthorized access to sensitive local configuration and secrets. This vulnerability can lead to the exposure of project admin secrets, JWT signing keys, and other critical credentials, as well as the potential for malicious modifications to the local `.secrets` file. Developers using Nhost in local environments should prioritize upgrading to version 1.46.0 to mitigate these risks.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
Nhost is an open source Firebase alternative with GraphQL. In versions of Nhost CLI prior to 1.46.0, the hidden `nhost configserver` used by `nhost dev` exposes the Mimir GraphQL API with dummy authorization directives and permissive CORS. When a developer is running the local development environment, any process that can reach the developer's localhost service, including a web page loaded from an arbitrary origin, can query the configserver for local Nhost configuration and secrets and can mutate the local `.secrets` file. This impacts developers using `nhost dev`: project admin secrets, JWT signing keys, webhook secrets, Grafana credentials, and custom environment variables can be read, and attacker-controlled secrets can be written to the local development project. Version 1.46.0 of Nhost CLI contains a fix.
Related CVEs
Other vulnerabilities affecting the same vendor(s)