Skip to content

Hide Navigation Hide TOC

PraisonAI MCP Path-Traversal .pth Injection RCE (GHSA-9mqq-jqxf-grvw) - ATR-2026-00544 (4ee2ed43-5e7e-584e-b23e-2804e2c37537)

Detects GHSA-9mqq-jqxf-grvw (CVSS CRITICAL, CWE-22 / CWE-94): PraisonAI MCP server configuration allows a path traversal attack that writes a Python .pth file into a site-packages directory. Python automatically executes lines in .pth files that start with 'import ' on interpreter startup, enabling persistent arbitrary code execution. An attacker who can supply a malicious MCP config can traverse from the expected tools directory into site-packages and drop an executable .pth file. Python .pth files are a legitimate Python path-extension mechanism (PEP 302) but execute arbitrary Python on import when a line begins with 'import '. Path traversal to site-packages combined with .pth content that starts with 'import os; os.system(...)' achieves RCE on every subsequent Python process start. Detection covers: (a) Path-traversal sequences targeting site-packages with .pth extension; (b) .pth file content containing import + OS execution primitives; (c) PraisonAI MCP config with directory traversal in file path fields; (d) Explicit GHSA-9mqq-jqxf-grvw exploitation framing.

Cluster A Galaxy A Cluster B Galaxy B Level
PraisonAI MCP Path-Traversal .pth Injection RCE (GHSA-9mqq-jqxf-grvw) - ATR-2026-00544 (4ee2ed43-5e7e-584e-b23e-2804e2c37537) Agent Threat Rules Exploit Public-Facing Application (47d73872-5336-44f7-81e3-d30bc7e039dd) MITRE ATLAS Attack Pattern 1
PraisonAI MCP Path-Traversal .pth Injection RCE (GHSA-9mqq-jqxf-grvw) - ATR-2026-00544 (4ee2ed43-5e7e-584e-b23e-2804e2c37537) Agent Threat Rules Installer Packages - T1546.016 (da051493-ae9c-4b1b-9760-c009c46c9b56) Attack Pattern 1
PraisonAI MCP Path-Traversal .pth Injection RCE (GHSA-9mqq-jqxf-grvw) - ATR-2026-00544 (4ee2ed43-5e7e-584e-b23e-2804e2c37537) Agent Threat Rules Python - T1059.006 (cc3502b5-30cc-4473-ad48-42d51a6ef6d1) Attack Pattern 1
Event Triggered Execution - T1546 (b6301b64-ef57-4cce-bb0b-77026f14a8db) Attack Pattern Installer Packages - T1546.016 (da051493-ae9c-4b1b-9760-c009c46c9b56) Attack Pattern 2
Command and Scripting Interpreter - T1059 (7385dfaf-6886-4229-9ecd-6fd678040830) Attack Pattern Python - T1059.006 (cc3502b5-30cc-4473-ad48-42d51a6ef6d1) Attack Pattern 2