PraisonAI Affected by Remote Code Execution via YAML Deserialization in Agent Definition Loading (MervinPraison PraisonAI)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.58 % · percentile 48 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- GitHub_M
- NVD status
- Analyzed
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.
Weaknesses (CWE)
- CWE-502 — Deserialization of Untrusted Data
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | GitHub_M |
| CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD · security-advisories@github.com (Secondary) |
Advisories
- GHSA-32vr-5gcf-3pw2 — PraisonAI Vulnerable to Remote Code Execution via YAML Deserialization in Agent Definition Loading
- PYSEC-2026-462 — PraisonAI Vulnerable to Remote Code Execution via YAML Deserialization in Agent Definition Loading
European references
- ENISA EUVD · EUVD-2026-20638
- GCVE · GCVE-0-2026-39890
Affected configurations (NVD CPE)
cpe:2.3:a:praison:praisonai:*:*:*:*:*:*:*:*≤ 4.5.114
Affected products
| Product | Versions |
|---|---|
| MervinPraison · PraisonAI | affected < 4.5.115 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |