CVE-2026-39890: PraisonAI Vulnerable to Remote Code Execution via YAML Deserialization in Agent Definition Loading
Affects praisonaiSource GCVE Database
Not known to be exploited · CVSS 9.8 Critical : upgrade to 4.5.115 as a priority.
Data as of 16 Nov 2026, 16:50 UTC
- Patch
- Available – fixed in 4.5.115
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 8 Apr 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 15 Nov 2026.
What to do
Upgrade praisonai to 4.5.115.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| PyPIpraisonai | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available in PraisonAI version 4.5.115 that replaces the unsafe js-yaml load method with one using a safe schema (e.g., JSON_SCHEMA). Users should upgrade to version 4.5.115 or later. Additionally, restrict and validate uploads of agent definition files to trusted users and sanitize inputs to prevent malicious YAML content. Avoid using deprecated safeLoad methods and ensure YAML parsing disallows dangerous tags.
Description
PraisonAI versions prior to 4.5.115 are vulnerable to remote code execution due to unsafe YAML deserialization in the AgentService.loadAgentFromFile method. The vulnerability arises from using the js-yaml library's load function without restricting dangerous tags, allowing malicious YAML files to execute arbitrary JavaScript code on the server. An attacker able to upload a crafted agent definition file can trigger this execution, potentially compromising the server fully. A fix is available in version 4.5.115 that uses a safe YAML schema to prevent code execution.
References
- github.com/MervinPraison/PraisonAI/security/advisories/GHSA-32vr-5gcf-3pw2 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-39890 (opens in a new tab)
- github.com/MervinPraison/PraisonAI (opens in a new tab)
- github.com/MervinPraison/PraisonAI/releases/tag/v4.5.115 (opens in a new tab)
- github.com/pypa/advisory-database/tree/main/vulns/praisonai/PYSEC-2026-462.yaml (opens in a new tab)
- pypi.org/project/praisonai (opens in a new tab)