Skip to content
CriticalVulnerability

CVE-2026-44336: PraisonAI MCP server path traversal in rules and workflow tools

Identifier
CVE-2026-44336
Published
Record updated
View JSON
Fixed in
The source references a patch, a mitigation or a vendor advisory.

Summary

PraisonAI versions prior to 4.6.34 have a path traversal flaw in the MCP server (praisonai mcp serve), which registers four file-handling tools by default: praisonai.rules.create, praisonai.rules.show, praisonai.rules.delete and praisonai.workflow.show. These tools join unchecked path or filename arguments onto ~/.praison/rules/ (or accept absolute paths for workflow.show), and the JSON-RPC dispatcher passes arguments to handlers without schema validation. An attacker can use rule_name="../../<path>" to write any file the running user can write, including a Python .pth file in user site-packages that yields code execution in later Python processes.

Mitigation

Fixed in 4.6.34.