Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. 9router
  4. ›
  5. CVE-2026-55641

CVE-2026-55641: 9router: Unauthenticated `/v1` proxy access via `Host`-header spoofing → open AI relay + SSRF

August 28, 2026

9router’s request guard decides a request is “local” (and therefore exempt from API-key auth on the /v1 LLM proxy) by reading the client-controlled Host header. Because 9router binds 0.0.0.0 by default (and the CLI misleadingly prints “localhost”), a remote, unauthenticated attacker who can reach the port can send Host: localhost to be treated as local and obtain /v1 proxy access with no API key, no CLI token, and no dashboard login. In the default configuration (requireApiKey is absent from DEFAULT_SETTINGS, so the handler-side key check is skipped), this yields:

  • Open AI relay — the proxy forwards the attacker’s requests to AI providers using the victim’s stored paid API keys (cost/quota theft, prompt-based data exfiltration through the victim’s accounts).

  • Unauthenticated SSRF — /v1/search with the built-in noAuth searxng provider takes its outbound fetch URL from the request body (provider_options.baseUrl), so the attacker drives a server-side fetch to any internal/cloud-metadata host and gets the JSON response reflected back.

  • Affected: 9router <= 0.4.80 (current), src/dashboardGuard.js (isLocalRequest), src/sse/handlers/{chat,search}.js, src/lib/db/repos/settingsRepo.js, cli/cli.js.

  • Distinct from the existing advisories GHSA-fhh6-4qxv-rpqj (MCP-plugin RCE, patched) and GHSA-xrrh-p7f2-27vm (legacy <0.3.75 authz bypass).

References

  • github.com/advisories/GHSA-86m2-fcxq-5q7c
  • github.com/decolua/9router/commit/b282f0554972ea35281520738759d76abcd0b0b3
  • github.com/decolua/9router/releases/tag/v0.5.2
  • github.com/decolua/9router/security/advisories/GHSA-86m2-fcxq-5q7c
  • nvd.nist.gov/vuln/detail/CVE-2026-55641

Code Behaviors & Features

Detect and mitigate CVE-2026-55641 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.5.2

Fixed versions

  • 0.5.2

Solution

Upgrade to version 0.5.2 or above.

Impact 8.2 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-1327: Binding to an Unrestricted IP Address
  • CWE-290: Authentication Bypass by Spoofing
  • CWE-348: Use of Less Trusted Source
  • CWE-918: Server-Side Request Forgery (SSRF)

Source file

npm/9router/CVE-2026-55641.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 22 Sep 2026 12:19:10 +0000.