External risk intelligence

PraisonAI AgentService YAML Parsing RCE Vulnerability

CVE advisorySeverity: CRITICAL (CVSS 9.8)

CVE-2026-39890

PraisonAI is a multi-agent system that provides API endpoints for managing and loading agent definitions. Because the vulnerability is triggered via an API endpoint designed to accept and process agent configuration files, the attack surface is typically exposed as a network-accessible service in deployments where these agents are configured or managed remotely.

Deserialization

Praisonai

4.5.114 and earlier

Halo Surface Signal: 4 out of 5 — likely to be public-facing.

External exposure likelihood

Horizon Alert

Summary of the vulnerability and why it matters

This advisory concerns a critical vulnerability in PraisonAI, a multi-agent systems platform, allowing remote code execution through specially crafted agent definition files. The issue stems from the improper handling of YAML parsing, which can be exploited via API endpoints to compromise the server.

  • Malicious files can run unauthorized code.
  • This allows remote takeover of the system.
  • Confirm if PraisonAI systems are exposed.

Attack Path

How an attacker could exploit the issue

An attacker can compromise PraisonAI by uploading a specially crafted YAML file through an API endpoint. The system's AgentService improperly parses this file, allowing the execution of arbitrary JavaScript code on the server, leading to remote code execution.

  • No user interaction needed.
  • Uploading malicious agent definition file.
  • Remote code execution.

Live Threat

Current exploitation, exposure, and threat context

This vulnerability could allow an attacker to execute arbitrary JavaScript code on the server by uploading a malicious agent definition file through an API endpoint. This occurs when the `AgentService.loadAgentFromFile` method parses YAML files without disabling dangerous tags.

  • Server-side code execution.
  • Malicious YAML file uploaded via API.
  • Compromise of the PraisonAI server.

Operational Fix

Recommended remediation, mitigation, and detection steps

The PraisonAI AgentService, when parsing agent definition files, is vulnerable to remote code execution due to the use of a vulnerable YAML parsing library. Ownership of this vulnerability likely falls to the PraisonAI platform or application team, in coordination with security and infrastructure teams. The immediate first step is to identify all PraisonAI instances, confirm their exposure and criticality, and then plan remediation by coordinating with the vendor for an update or implementing compensating controls where immediate patching is not feasible.

  • Platform or application team owns issue.
  • Verify PraisonAI deployment exposure and criticality.
  • Plan vendor-coordinated remediation or risk reduction.

Supplementary metadata

Validate whether this threat affects your internet-facing exposure.

Halo Threat Intelligence helps prioritize remediation with Halo Surface Signal and H/A/L/O context. Start exposure validation with a free external attack surface trial.

Frequently asked questions

What is PraisonAI?

PraisonAI is a framework used to build and manage multi-agent systems where several AI agents work together to perform tasks. It includes services to load and process agent configurations, which are typically defined as YAML files. Organizations use this platform to orchestrate complex automation workflows.

What does CVE-2026-39890 mean for the software?

This vulnerability, classified as CWE-502 (Deserialization of Untrusted Data), exists because the software uses a YAML parser that allows unsafe functions. When the system processes a malicious YAML file, it can inadvertently execute arbitrary JavaScript code rather than just reading configuration settings, leading to full system compromise.

How can an attacker trigger this vulnerability?

An attacker triggers this by submitting a specially crafted YAML file through the system's API endpoint designed for loading agent definitions. It is important to note that simply having the software installed is not enough; the vulnerability specifically requires the processing of a malicious file through the AgentService.loadAgentFromFile method.

Who should be concerned about this vulnerability?

According to Halo Surface Signal, this is primarily a concern for those running PraisonAI with internet-accessible API endpoints. If your deployment allows remote management or file uploads via the network, the attack surface is significantly broader than in isolated, internal-only environments.

What should I do to address this risk?

The primary response is to update your PraisonAI installation to version 4.5.115 or later, which resolves the unsafe parsing behavior. Before updating, identify all running instances of the platform to ensure full coverage, and prioritize those that are network-facing or handle untrusted input.

References