Vulnerability · Published Apr 8, 2026 · Assigned by GitHub_M

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

Critical 9.8

In plain English

A critical-severity unsafe deserialization in PraisonAI from MervinPraison. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 48% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)9.8Critical
Exploit odds (30 days)0.6%top 51.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIpraisonai4.5.115GHSA-32vr-5gcf-3pw2
PyPIpraisonai4.5.115PYSEC-2026-462

Affected products (as reported)

VendorProductVersions
MervinPraison PraisonAI < 4.5.115

Weakness: CWE-502 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References