Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. network-ai
  4. ›
  5. CVE-2026-46701

CVE-2026-46701: Network-AI: Unauthenticated Cross-Origin MCP Tool Invocation via Empty Default Secret

May 21, 2026

The MCP SSE server defaults to an empty secret (process.env['NETWORK_AI_MCP_SECRET'] ?? '' at bin/mcp-server.ts:89), which causes _isAuthorized (lib/mcp-transport-sse.ts:254) to return true unconditionally for every request — no Authorization header is required. Simultaneously, _handleRequest sets Access-Control-Allow-Origin: * (lib/mcp-transport-sse.ts:272) on every response, so a cross-origin browser fetch can read the result without restriction. An unauthenticated attacker who can lure a user to a malicious web page can invoke all 22 exposed MCP tools — including config_set, agent_spawn, and blackboard_write — against a default-configured localhost server.

References

  • github.com/Jovancoding/Network-AI/security/advisories/GHSA-j3vx-cx2r-pvg8
  • github.com/advisories/GHSA-j3vx-cx2r-pvg8
  • nvd.nist.gov/vuln/detail/CVE-2026-46701

Code Behaviors & Features

Detect and mitigate CVE-2026-46701 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 5.4.5

Fixed versions

  • 5.4.5

Solution

Upgrade to version 5.4.5 or above.

Impact 7.6 HIGH

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

Learn more about CVSS

Weakness

  • CWE-346: Origin Validation Error

Source file

npm/network-ai/CVE-2026-46701.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Tue, 23 Jun 2026 12:24:12 +0000.