CVE-2026-39890
CWE-502Published: April 8, 2026· Updated: Apr 15, 2026
Official Description
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.
Risk Analysis
This critical vulnerability in PraisonAI allows for remote code execution due to unsafe YAML parsing in the AgentService.loadAgentFromFile method. An attacker can upload a malicious agent definition file via the API, leading to arbitrary JavaScript code execution on the server. The CVSS score of 9.8 indicates a severe risk.
No public exploit is currently known for this vulnerability. The flaw is remotely exploitable without authentication.
PraisonAI users should update to version 4.5.115 or later to mitigate this vulnerability. Ensure that YAML parsing configurations disable dangerous tags to prevent arbitrary code execution.
Technical Analysis
CVE-2026-39890 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.
The vulnerability requires no privileges and no user interaction, making it a prime target for automated exploitation campaigns and worm-like propagation.
A successful exploit results in complete confidentiality breach (data exposure), full integrity compromise (data manipulation), availability disruption (denial of service), with a CVSS base score of 9.8.
From a weakness classification perspective (CWE-502): Insecure deserialization vulnerabilities allow attackers to inject malicious objects during deserialization, potentially enabling remote code execution.
CVSS v3.1 Vector Breakdown
Affected Vendors & Products
Exploit & PoC Resources
Official Patches & Advisories
All References (2)
Quick Facts
Related CVEs (CWE-502)
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2026-39890 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts