PraisonAI has RCE via Automatic tools.py Import
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| MervinPraison | PraisonAI | affected |
|
||||||
| MervinPraison | praisonaiagents | affected |
|
Configuration 1 [-]
|
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Mervinpraison | Praisonai |
|
||||||||
| Mervinpraison | Praisonaiagents |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-g985-wjh9-qxxc | PraisonAI Vulnerable to RCE via Automatic tools.py Import |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.251% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Praison
Praison praisonai Praison praisonaiagents |
|
| CPEs | cpe:2.3:a:praison:praisonai:*:*:*:*:*:*:*:* cpe:2.3:a:praison:praisonaiagents:*:*:*:*:*:python:*:* |
|
| Vendors & Products |
Praison
Praison praisonai Praison praisonaiagents |
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Mervinpraison
Mervinpraison praisonai Mervinpraison praisonaiagents |
|
| Vendors & Products |
Mervinpraison
Mervinpraison praisonai Mervinpraison praisonaiagents |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | PraisonAI is a multi-agent teams system. Versions 4.5.138 and below are vulnerable to arbitrary code execution through automatic, unsanitized import of a tools.py file from the current working directory. Components including call.py (import_tools_from_file()), tool_resolver.py (_load_local_tools()), and CLI tool-loading paths blindly import ./tools.py at startup without any validation, sandboxing, or user confirmation. An attacker who can place a malicious tools.py in the directory where PraisonAI is launched (such as through a shared project, cloned repository, or writable workspace) achieves immediate arbitrary Python code execution in the host environment. This compromises the full PraisonAI process, the host system, and any connected data or credentials. This issue has been fixed in version 4.5.139. | |
| Title | PraisonAI has RCE via Automatic tools.py Import | |
| Weaknesses | CWE-426 CWE-94 |
|
| References |
| |
| Metrics |
cvssV3_1
|