CVE-2026-39890: Vulnerability in Praisonai
Critical. 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...
PyPI, CWE-502
- Exploitation
- None confirmed
- Severity
- 9.8 of 10
- Attack likelihood
- 0.7 % in 30 days
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-32vr-5gcf-3pw2
- EU ID
- EUVD-2026-20638
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weakness
- CWE-502
- Published
- 8 Apr 2026
- Last change
- 16 Nov 2026
- Likelihood rank
- Higher than 54 % of all rated vulnerabilities
- Analysis status
- Analyzed
- Ecosystem
- PyPI
Affected products
Affected versions and the first fixed release
- Praisonai Through 4.5.114. No fixed version recorded
Affected packages
Vulnerable version ranges and fixed releases
- praisonai PyPI, Affected through 4.5.114. Fixed in 4.5.115
Advisories
Vendor and security advisories
- github.com/MervinPraison/PraisonAI/security/advisories/GHSA-32vr-5gcf-3pw2
- github.com/pypa/advisory-database/tree/main/vulns/praisonai/PYSEC-2026-462.yaml
- pypi.org/project/praisonai
Patches and fixes
Updates, commits and release notes
Related
- Praisonai vulnerabilities Recent advisories, watch this product