Skip to main content
← All vulnerabilities
CVE-2026-47671GO-2026-5166GHSA-64CJ-QVX5-M4F3

Nhost CLI local configserver allows cross-origin unauthenticated read/write access to local development configuration and secrets

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.46.0, 0.0.0-20260518172022-e407511627d2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • nhost cli

    fixed in 1.46.0

  • github.com/nhost/nhostGo

    fixed in 0.0.0-20260518172022-e407511627d2

References 4

GitHub · nhost/nhost