Skip to content
OpenAdvisories
Critical · 9.8 CVE-2026-39890 EUVD-2026-20638GHSA-32vr-5gcf-3pw2PYSEC-2026-462

PraisonAI Affected by Remote Code Execution via YAML Deserialization in Agent Definition Loading

Published Apr 8, 2026 · Updated Apr 9, 2026 · 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.

Affected products

VendorProductAffectedFixed
MervinPraison PraisonAI < 4.5.115 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI praisonai < 4.5.115 4.5.115 GHSA-32vr-5gcf-3pw2

References