# CVE-2026-39890: PraisonAI Affected by Remote Code Execution via YAML Deserialization in Agent Definition Loading

- Severity: Critical 9.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.60%, higher than 50% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-08T19:17:11.000Z
- Modified: 2026-11-16T15:45:10.387Z
- Also known as: GHSA-32vr-5gcf-3pw2, PYSEC-2026-462
- Weaknesses: CWE-502
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- MervinPraison PraisonAI: < 4.5.115
- praisonai (PyPI): before 4.5.115
- praison praisonai: up to 4.5.114

## Every score

- GitHub_M: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-32vr-5gcf-3pw2> (exploit, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-39890> (advisory)
- <https://github.com/MervinPraison/PraisonAI> (package)
- <https://github.com/MervinPraison/PraisonAI/releases/tag/v4.5.115> (web)
- <https://github.com/pypa/advisory-database/tree/main/vulns/praisonai/PYSEC-2026-462.yaml> (web)
- <https://pypi.org/project/praisonai> (package, web)
- <https://github.com/advisories/GHSA-32vr-5gcf-3pw2> (advisory)

## Sources

- CVE List: [CVE-2026-39890](https://www.cve.org/CVERecord?id=CVE-2026-39890), CVE Terms of Use, modified 2026-04-09
- GitHub Advisory Database: [GHSA-32vr-5gcf-3pw2](https://github.com/advisories/GHSA-32vr-5gcf-3pw2), CC-BY-4.0, modified 2026-11-16
- NVD: [CVE-2026-39890](https://nvd.nist.gov/vuln/detail/CVE-2026-39890), Public domain, modified 2026-07-24
- PyPA Advisory Database: [PYSEC-2026-462](https://osv.dev/vulnerability/PYSEC-2026-462), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-39890 · Whole record: https://cve.day/CVE-2026-39890.json · Rebuilt by cve.day 2026-11-25T22:59:18.317Z
