Skip to content

AAK-MCP-NETBOX-CVE-2026-57207-001: NetBox MCP Server image below 1.2.1: the HTTP transport serves every NetBox tool without authentication

Severity
MEDIUM
Category
Supply Chain (supply-chain)
Scanner
agent_audit_kit/scanners/container_image_pins.py
Auto-fixable
No.
SARIF name
NetboxMcpServerHttpNoAuth

What it detects

NetBox MCP Server (netboxlabs/netbox-mcp-server), a read-only MCP server for NetBox, ships as a source checkout run with uv run netbox-mcp-server and as the Docker Hub image netboxlabs/netbox-mcp-server; it is on neither npm nor PyPI. Before 1.2.1, with TRANSPORT=http its HTTP endpoint had no authentication, so any client that reached the port got an MCP session and all four NetBox tools, reading the inventory with the server's own NetBox token (CVE-2026-57207, CVSS 3.1 5.9, CWE-306/CWE-1059, GHSA-5qg7-j8mr-9477). 1.2.1 adds a bearer token for the HTTP transport (MCP_AUTH_TOKEN, or --mcp-auth-token), checked in constant time, but leaves it optional: unset, the endpoint is still open.

How to fix

Run netboxlabs/netbox-mcp-server 1.2.1 or later, pinned by version, and set MCP_AUTH_TOKEN to a long random value whenever it serves HTTP, or keep it on the stdio transport. Bind the port to loopback or a private network either way.

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

agent-audit-kit scan . --rules AAK-MCP-NETBOX-CVE-2026-57207-001

Limitations

Reads image references only: an image: value or any other mention of netboxlabs/netbox-mcp-server:TAG in YAML (compose files, Kubernetes manifests, MCP configs), a Helm values mapping of repository and tag, Dockerfile and Containerfile FROM, and docker run arguments in *mcp*.json and claude_desktop_config.json. 1.2.0, the one release pushed as an image before the fix, is reported, and so is the 0.0.0-test tag; the floating 1 and 1.2 tags and latest were the 1.2.1 digest on 2026-10-24 and are not. A source checkout run with uv run netbox-mcp-server states no version and is not read. The rule reads the tag, not the transport or MCP_AUTH_TOKEN, so a 1.2.0 container on stdio is reported, and a 1.2.1 or later container serving HTTP with no token, which is still open, is not. docker.io/netboxlabs/netbox-mcp-server and mirrors under another registry are not matched, and commented-out lines are skipped.

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-NETBOX-CVE-2026-57207-001.md: the page then shows that text, with the registry reference appended under it.