Skip to content

AAK-MCP-NETWORKAI-CVE-2026-109332-001: network-ai 4.0.0 to 5.15.1: the MCP SSE server lets other origins read its unauthenticated endpoints

Severity
LOW
Category
Supply Chain (supply-chain)
Scanner
agent_audit_kit/scanners/mcp_cve_pins_2026_07.py
Auto-fixable
No.
SARIF name
NetworkAiSseCorsOriginReflection

What it detects

Network-AI's MCP SSE transport (McpSseServer in lib/mcp-transport-sse) answers cross-origin requests. 4.0.0, where the transport first ships, to 5.1.0 send Access-Control-Allow-Origin: *, and 5.13.4 and 5.15.1 reflect a localhost Origin whatever interface the server binds, so when it binds a non-loopback address, a page with a localhost Origin that the victim visits reads unauthenticated endpoints such as /health (CVE-2026-109332, CVSS 3.1 3.1, CWE-346, GHSA-4pvg-m42h-c3x2). Checked in the npm tarballs: the transport is absent through 3.9.0, and 5.15.2 reflects an Origin only when the server binds loopback. LOW, so its own rule beside the HIGH pin on the same package.

How to fix

Upgrade network-ai to 5.15.2 or later and pin it. Until then, bind the SSE server to loopback, or put it behind a proxy that drops cross-origin requests.

To confirm the finding is gone, report only this rule:

agent-audit-kit scan . --rules AAK-MCP-NETWORKAI-CVE-2026-109332-001

Limitations

Reads network-ai from 4.0.0 below 5.15.2 where a project states the version: a package.json or lockfile entry, or a versioned launch in .mcp.json, mcp.json or claude_desktop_config.json. An unpinned reference resolves to 5.15.4, which is fixed, and is not reported. It reads the version, not whether the project starts the SSE server or where it binds it, so a project that uses the library or the stdio transport is reported too. A file over 2 MB, or a lockfile over 32 MiB, is not read. A declaration nested more than 64 levels deep in package.json, a TOML manifest or an MCP config (an MCP server more than 62) is still judged, and reported without a line; a lockfile entry keeps its line at any depth.

References


All rules. This page is generated from the rule registry when the documentation is built; to change it, change the rule in agent_audit_kit/rules/builtin.py. To give the rule a hand-written write-up, add docs/rules/AAK-MCP-NETWORKAI-CVE-2026-109332-001.md: the page then shows that text, with the registry reference appended under it.