mcp-cve-project

CVE-2026-44336 | PraisonAI MCP tools/call path traversal to RCE via .pth injection | Critical | 9.6

CVE Information

Field Value
CVE / NVD CVE-2026-44336
Date (index) 2026-05-08
Affected product (index) PraisonAI MCP tools/call path traversal to RCE via .pth injection
GHSA ID GHSA-9mqq-jqxf-grvw
OWASP MCP Top 10 (2025) MCP05 — Command Injection & Execution
Published / disclosed 2026-05-08
Ecosystem Application / upstream project
Component PraisonAI MCP tools/call path traversal to RCE via .pth injection
EPSS score 0.006190000 (FIRST EPSS, 2026-06-30)
CVSS score Critical — 9.6
CWE CWE-20
Affected versions PraisonAI < 4.6.34
Fixed versions 4.6.34
Fix status Patched
Exploit status Public CVE record; do not mirror weaponized payloads
Notes Added during the 2026-06-24 Tier 1 missing-CVE review from NVD MCP keyword results. Re-check NVD before using this entry for compliance reporting.

CVE Breakdown


What is the vulnerability?

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=”../../" 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.

Attack prerequisites / exposure

Exposure depends on how the affected MCP server, client, gateway, plugin, or adjacent AI tool is deployed. Prioritize systems reachable by untrusted users or networks, systems that accept attacker-controlled tool arguments, and systems with access to credentials, browsers, cloud APIs, Kubernetes clusters, databases, email, or desktop automation.

CVE is because of what bug?

Primary mapped weakness: MCP05 — Command Injection & Execution. Confirm the exact CWE and affected code path in the NVD record and upstream advisory before adding exploit-specific detail.

MCP-specific impact / why it matters

MCP components bridge model output to privileged tools. Vulnerabilities in authentication, scope enforcement, command execution, SSRF validation, secret handling, or tool registration can turn prompt/tool input into host compromise, credential disclosure, unauthorized cloud/database access, or persistent malicious tool execution.

Where was the bug? (source + snippet)

Add a minimal vulnerable code snippet here only after reviewing the linked upstream commit / advisory. Do not paste weaponized payloads.

Fix / Remediation

Upgrade to the vendor-fixed version where available. If no fixed version is listed, restrict the affected component to trusted users and trusted networks, disable risky tools, validate tool arguments, and run the service with least-privilege credentials until upstream remediation is confirmed.

Upstream fix (open source)

Workarounds / mitigations

Exploit / PoC

If a public PoC exists, prefer vendor advisories and defensive write-ups; do not host weaponized exploit code in this repository.

Detection / verification

Patch

Track NVD references for CVE-2026-44336 and apply the upstream patched release or commit recommended by the vendor/CNA.