CVE-2026-47671

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

Published Jul 21, 2026 CVSS 3.1 · 5.4 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

Nhost is an open source Firebase alternative with GraphQL. In its CLI tool, a hidden `nhost configserver` endpoint is exposed in versions prior to 1.46.0. The endpoint implements the Mimir GraphQL API with dummy authorization directives and permissive CORS, making it accessible without authentication. Consequently, any process that can reach the developer’s localhost service—including a malicious web page served from an arbitrary origin—can query or mutate the configserver, reading project secrets such as JWT signing keys, webhook secrets, Grafana credentials, and custom environment variables, and injecting attacker-controlled credentials into the local `.secrets` file, thereby compromising confidentiality and integrity of the local development environment.

Affected Systems

The vulnerability affects the Nhost CLI product; all releases before 1.46.0 are impacted. The issue only manifests when developers run the local development environment using the `nhost dev` command.

Risk and Exploitability

The CVSS base score of 5.4 indicates moderate severity. The EPSS score of less than 1% suggests a low probability of active exploitation. This vulnerability is not listed in CISA KEV. Attackers can exploit the flaw remotely from any process able to reach the local dev server on localhost; a malicious web page from a different origin can send HTTP requests to the exposed GraphQL endpoint, reading or writing configuration data without authentication.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Nhost CLI utility to version 1.46.0 or newer, which removes the unauthenticated configserver endpoint.
  • If upgrading immediately is not feasible, isolate the localhost dev server from other origins—for example, by disabling the service’s network interface or using firewall rules to block inbound connections to the configserver port.
  • After mitigating the underlying issue, review and rotate any secrets that may have been exposed or modified by the configserver, and audit the local .secrets file for integrity.

Generated by OpenCVE AI on July 30, 2026 at 16:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-64cj-qvx5-m4f3 Nhost CLI local configserver allows cross-origin unauthenticated read/write access to local development configuration and secrets
History
Type Values Removed Values Added
First Time appeared Nhost
Nhost cli
Vendors & Products Nhost
Nhost cli
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Nhost CLI local configserver allows cross-origin unauthenticated read/write access to local development configuration and secrets
Weaknesses CWE-306
References
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N'}

Weaknesses
  • CWE-306

    Missing Authentication for Critical Function

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jul 22, 2026, 3:44 PM
Reserved
May 19, 2026, 9:10 PM
Status
Analyzed
Published
Jul 21, 2026, 8:17 PM
Modified
Oct 24, 2026, 7:10 PM