AAK-MCP-INSPECTOR-CVE-2026-23744-001: Vendored mcpjam-inspector fork carries CVE-2026-23744
- Severity
- CRITICAL
- Category
- Supply Chain (
supply-chain) - Scanner
agent_audit_kit/scanners/mcp_inspector_cve.py- Auto-fixable
- No.
- SARIF name
McpInspectorCve23744
What it detects
CVE-2026-23744 (CVSS 9.8): MCPJam Inspector (@mcpjam/inspector) 1.4.2 and earlier listens on 0.0.0.0, and a crafted HTTP request makes it install and run an MCP server, so anyone who can reach the port runs code. The preset-only entry from v0.3.5 caught configured presence; this rule catches a copy of the package in the tree, installed under node_modules/@mcpjam/inspector/ or vendored in a *mcpjam-inspector* directory, and judges it by the version its own package.json states. It also reports the inspectorServer.handle(...) call shape anywhere else.
How to fix
Bump @mcpjam/inspector to >= 1.4.3 in package.json AND remove any vendored copies. Do not patch in-tree — rebase onto the published patched release.
To confirm the finding is gone, report only this rule:
agent-audit-kit scan . --rules AAK-MCP-INSPECTOR-CVE-2026-23744-001
Limitations
Reports a copy of the package, a node_modules/@mcpjam/inspector/ directory or one whose name contains mcpjam-inspector holding .ts, .tsx, .js, .mjs or .cjs files, once per copy, unless the copy's package.json names @mcpjam/inspector at 1.4.3 or later. A copy with no such package.json (a fork renamed to its own numbering, or none at all) is reported at any version. Outside a copy, a file is reported only when it calls inspectorServer.handle(, which the published package does not contain. It never reads a dependency declaration, a lockfile or an npx launcher, so @mcpjam/inspector 1.4.2 declared as a dependency, the case the remediation tells you to bump, is not reported when the code is not in the scanned tree. A TS/JS file over 512 KB is not read.
References
- CVE: CVE-2026-23744
- OWASP MCP Top 10: MCP04:2025 (Software Supply Chain Attacks & Dependency Tampering), MCP05:2025 (Command Injection & Execution)
- OWASP Agentic Top 10: ASI04 (Agentic Supply Chain Vulnerabilities), ASI05 (Unexpected Code Execution (RCE))
- Adversa AI MCP Top 25 (AAK-defined ids): ADV-SUPPLY-04 (Known Vulnerable Dep)
- Incidents and advisories: MCPJAM-INSPECTOR-2026-04
- CSA AI Controls Matrix (AICM): STA-02, STA-08
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-INSPECTOR-CVE-2026-23744-001.md: the page then shows that text, with the registry reference appended under it.