CVE-2026-47671
Nhost CLI local configserver allows cross-origin unauthenticated read/write access to local development configuration and secrets
Auswirkung
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.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, allerdings muss ein Nutzer etwas tun, etwa eine Datei oder einen Link öffnen. Bei Erfolg: geringes Risiko, dass Daten ausgelesen werden, geringes Risiko, dass Daten oder Systeme verändert werden.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| go | github.com/nhost/nhost | < 0.0.0-20260518172022-e407511627d2 | 0.0.0-20260518172022-e407511627d2 |
Betroffene Produkte · Nhost
| Produkt | Betroffene Versionen |
|---|---|
| Cli | vor 1.46.0 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://github.com/advisories/GHSA-64cj-qvx5-m4f3
- https://github.com/nhost/nhost/security/advisories/GHSA-64cj-qvx5-m4f3
- https://github.com/nhost/nhost/pull/4302
- https://github.com/nhost/nhost/commit/e407511627d2c2c1137a70e9ca1ca31095d23479
- https://github.com/nhost/nhost/releases/tag/cli@1.46.0