Description
PraisonAI (praisonaiagents) before 1.6.78 contains a remote code execution vulnerability in the plugin manager, which loads and executes arbitrary Python (.py) files from project-level and user-home .praisonai/plugins/ directories using importlib spec_from_file_location() and exec_module() without code signing, integrity verification, or sandboxing. An attacker who can write a malicious .py file to a plugin directory (for example via path traversal, a supply chain attack, or a compromised dependency) achieves arbitrary code execution when the plugin system initializes.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| MervinPraison | PraisonAI | < 1.6.78 | 1.6.78 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | praisonaiagents | < 1.6.78 | 1.6.78 | GHSA-m6wp-h223-4c8g |
References
- GitHub Security Advisory (GHSA-m6wp-h223-4c8g) vendor-advisory
- VulnCheck Advisory: PraisonAI before 1.6.78 Remote Code Execution via Plugin Auto-Discovery third-party-advisory