AAK-MCP-PRAISONAI-TS-CVE-2026-57139-001: praisonai (npm, TypeScript) below 1.7.2 (MCP HTTP server binds unrestricted with no auth)
- Severity
- CRITICAL
- Category
- Supply Chain (
supply-chain) - Scanner
agent_audit_kit/scanners/mcp_cve_pins_2026_07.py- Auto-fixable
- No.
- SARIF name
PraisonAiTsMcpHttpNoAuth
What it detects
PraisonAI's TypeScript package (praisonai on npm — a different project from the praisonai PyPI distribution, which runs a 4.6.x line and carries its own separate pin) from 1.5.0 until 1.7.2 binds MCPServer.startHttp() in src/praisonai-ts/src/mcp/server.ts with no host restriction and forwards every HTTP POST to handleRequest() with no authentication or authorization. Any network client that can reach the port calls tools/list, tools/call, resources/read or prompts/get, so registered handlers run with server-side credentials and process privileges, or disclose registered data (CVE-2026-57139, CVSS 9.8, CWE-306 + CWE-862 + CWE-1188). NVD describes 1.7.2 as an initial remediation, so the pin floor is 1.7.2 rather than a later release.
How to fix
Upgrade the npm praisonai package to >= 1.7.2 and pin it. Bind the MCP HTTP server to 127.0.0.1 rather than every interface, and require an inbound credential on handleRequest() before any tools/call or resources/read dispatch. Because 1.7.2 is an initial remediation, track the upstream advisory for a follow-up release.
To confirm the finding is gone, report only this rule:
agent-audit-kit scan . --rules AAK-MCP-PRAISONAI-TS-CVE-2026-57139-001
Limitations
Reads praisonai in package.json, .mcp.json, mcp.json, claude_desktop_config.json and the package-lock.json, pnpm-lock.yaml and yarn.lock lockfiles at the project root only, taking the lowest version a range allows and reporting a reference that states no version. The dependency is not read when it is declared in a sub-directory manifest (packages/app/package.json) or in a lockfile format the reader does not parse (a Yarn 2+ yarn.lock). 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
- CVE: CVE-2026-57139, CVE-2026-57134
- OWASP MCP Top 10: MCP04:2025 (Software Supply Chain Attacks & Dependency Tampering), MCP07:2025 (Insufficient Authentication & Authorization)
- OWASP Agentic Top 10: ASI03 (Identity and Privilege Abuse), ASI04 (Agentic Supply Chain Vulnerabilities)
- Adversa AI MCP Top 25 (AAK-defined ids): ADV-AGENT-02
- CSA AI Controls Matrix (AICM): IAM-01, IVS-04, 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-PRAISONAI-TS-CVE-2026-57139-001.md: the page then shows that text, with the registry reference appended under it.