CVE Catalog

CVE-2026-44336

CriticalCVSS 9.6
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Elevated risk
0.63%

52th percentile - higher than 52% of all known CVEs

Summary

PraisonAI prior to 4.6.34 registers four file-handling tools by default in its MCP server (praisonai mcp serve) that accept a path or filename and join it onto ~/.praison/rules/ without a containment check. The JSON-RPC dispatcher passes arguments blindly without validating against the input schema, so setting rule_name="../../<path>" allows escaping the rules directory and writing any file the running user can write. Dropping a .pth file into the user site-packages directory escalates this to arbitrary code execution in subsequent Python processes.

Risk Assessment

An attacker can write arbitrary files and, via a .pth file, achieve code execution in subsequent Python processes spawned by the user, leading to environment compromise. Installations using the PraisonAI MCP server are at risk.

Recommendation

Upgrade PraisonAI to version 4.6.34 or later. Until then, restrict access to the MCP server and avoid running it in environments with untrusted tool invocations.

Other vulnerabilities in PraisonAI

See all
Original NVD description (English source)

PraisonAI is a multi-agent teams system. Prior to version 4.6.34, PraisonAI's MCP (Model Context Protocol) server (praisonai mcp serve) registers four file-handling tools by default — praisonai.rules.create, praisonai.rules.show, praisonai.rules.delete, and praisonai.workflow.show. Each accepts a path or filename string from MCP tools/call arguments and joins it onto ~/.praison/rules/ (or, for workflow.show, accepts an absolute path) with no containment check. The JSON-RPC dispatcher passes params["arguments"] blind to each handler via **kwargs without validating against the advertised input schema. By setting rule_name="../../<some-path>" an attacker walks out of the rules directory and writes any file the running user can write. Dropping a Python .pth file into the user site-packages directory escalates this primitive to arbitrary code execution in any subsequent Python process the user spawns — the next praisonai CLI invocation, an IDE script run, the user's python REPL, or any background Python service. This issue has been patched in version 4.6.34.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS