PraisonAI Affected by Remote Code Execution via YAML Deserialization in Agent Definition Loading
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in praisonai 4.5.115.
PraisonAI is a multi-agent teams system. Prior to 4.5.115, the AgentService.loadAgentFromFile method uses the js-yaml library to parse YAML files without disabling dangerous tags (such as !!js/function and !!js/undefined). This allows an attacker to craft a malicious YAML file that, when parsed, executes arbitrary JavaScript code. An attacker can exploit this vulnerability by uploading a malicious agent definition file via the API endpoint, leading to remote code execution (RCE) on the server. This vulnerability is fixed in 4.5.115.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| MervinPraison | <4.5.115 | ||
| pypi: praisonai | <4.5.115, <=4.5.114 | 4.5.115 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in praisonai (PyPI), strongest first
Embed
A live severity badge for an advisory, README or ticket