{"answers":{"affected":"3 open source packages ship an affected version, including github.com/nhost/nhost. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-47671 exists.","fix":"Upgrade github.com/nhost/nhost to 0.0.0-20260518172022-e407511627d2 or later.","what":"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."},"fix_prompt":"Check this codebase for CVE-2026-47671 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-47671 exists.\n\nAffected packages and fixed versions:\n- github.com/nhost/nhost (Go): affected all versions; fixed in 0.0.0-20260518172022-e407511627d2\n- github.com/nhost/nhost (Go): affected all versions; fixed in 0.0.0-20260518172022-e407511627d2\n- github.com/nhost/nhost (Go): affected all versions; fixed in 0.0.0-20260518172022-e407511627d2\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-47671/ (Markdown: https://insights.sbomify.com/CVE-2026-47671/index.md)","id":"CVE-2026-47671","markdown":"https://insights.sbomify.com/CVE-2026-47671/index.md","name":"CVE-2026-47671","record":{"aliases":["GHSA-64cj-qvx5-m4f3","GO-2026-5166"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Nhost CLI","requires_auth":"none","summary":"Attackers can read and modify local Nhost development secrets via unauthenticated cross-origin requests to the local config server.","user_interaction":"required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"cli","vendor":"nhost"}],"cvss":{"score":5.4,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-306","name":"Missing Authentication for Critical Functionality"}],"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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Nhost CLI local configserver allows cross-origin unauthenticated read/write access to local development configuration and secrets","id":"CVE-2026-47671","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"missing_authorization","year":"2026"},"n_packages":3,"n_references":4,"next":{"headline":"epa4all-client: Unauthenticated REST API for Patient Record Writes","id":"CVE-2026-47672"},"packages":[{"ecosystem":"Go","fixed":["0.0.0-20260518172022-e407511627d2"],"introduced":["0"],"last_affected":[],"package":"github.com/nhost/nhost","purl":null,"source":"GHSA-64cj-qvx5-m4f3"},{"ecosystem":"Go","fixed":["0.0.0-20260518172022-e407511627d2"],"introduced":["0"],"last_affected":[],"package":"github.com/nhost/nhost","purl":"pkg:golang/github.com/nhost/nhost","source":"GHSA-64cj-qvx5-m4f3"},{"ecosystem":"Go","fixed":["0.0.0-20260518172022-e407511627d2"],"introduced":["0"],"last_affected":[],"package":"github.com/nhost/nhost","purl":"pkg:golang/github.com/nhost/nhost","source":"GO-2026-5166"}],"prev":{"headline":"DbGate Vulnerable to Authenticated Remote Code Execution via loadReader functionName code injection","id":"CVE-2026-47670"},"products":["cli"],"published":"2026-07-21","related":[{"cvss_score":7.7,"headline":"Nhost CLI MCP Server: Missing Inbound Authentication on Explicitly Bound Network Port","id":"CVE-2026-34200","kev_date_added":null,"published":"2026-03-31"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-07-22","vendors":["nhost"]},"summary":"Attackers can read and modify local Nhost development secrets via unauthenticated cross-origin requests to the local config server.","url":"https://insights.sbomify.com/CVE-2026-47671/"}