CVE-2026-47671 Nhost CLI local configserver allows cross-origin unauthenticated read/write access to local development configuration and secrets
Attackers can read and modify local Nhost development secrets via unauthenticated cross-origin requests to the local config server.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2026-47671?
CVE-2026-47671 is a medium-severity missing authorization vulnerability in nhost cli, published on 21 Jul 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-306
Which versions are affected by CVE-2026-47671?
3 open source packages ship an affected version, including github.com/nhost/nhost. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/nhost/nhost Go | All versions | 0.0.0-20260518172022-e407511627d2 |
github.com/nhost/nhost Go | All versions | 0.0.0-20260518172022-e407511627d2 |
github.com/nhost/nhost Go | All versions | 0.0.0-20260518172022-e407511627d2 |
Products include Nhost Cli.
How do I fix CVE-2026-47671?
Upgrade github.com/nhost/nhost to 0.0.0-20260518172022-e407511627d2 or later.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2026-47671 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-47671 exists.
Other vulnerabilities in nhost cli
Sources
Also known as GHSA-64cj-qvx5-m4f3, GO-2026-5166.