Skip to content
OpenAdvisories
Medium · 5.4 CVE-2026-47671 EUVD-2026-46393GHSA-64cj-qvx5-m4f3GO-2026-5166

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

Published Jul 21, 2026 · Updated Jul 22, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
nhost cli < 1.46.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/nhost/nhost < 0.0.0-20260518172022-e407511627d2 0.0.0-20260518172022-e407511627d2 GHSA-64cj-qvx5-m4f3

Advisories 1

References