---
title: "CVE-2026-40288: PraisonAI has critical RCE via `type: job` workflow YAML"
url: https://erroneo.us/security/cve/CVE-2026-40288/
description: "CVE-2026-40288 (praisonaiagents (PyPI)): PraisonAI is a multi-agent teams system. In versions below 4.5.139 of PraisonAI and 1.5.140 of praisonaiagents, the…"
type: vulnerability-record
section: "Security Digest"
date_published: 2026-04-14
date_modified: 2026-04-14
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2026-40288"
kev: false
cvss: 9.8
epss: 0.00925
license: All rights reserved. Quote with attribution and a link.
---

# CVE-2026-40288: PraisonAI has critical RCE via `type: job` workflow YAML

**Signal:** Critical and remotely reachable. No known exploitation yet, but it is network-reachable without credentials. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- Not in CISA KEV , but CISA’s SSVC assessment records a public proof-of-concept, so attack code exists.
- EPSS 0.9% , percentile 60: FIRST’s model estimates a 0.9% chance of exploitation activity in the next 30 days, higher than 60% of all scored CVEs (moderate). EPSS is a probability, not a verdict.
- Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
- Only applies if your dependency tree includes praisonaiagents (PyPI) <= 1.5.139, fixed in 1.5.140 ; PraisonAI (PyPI) <= 4.5.138, fixed in 4.5.139 . Check your lockfile, including transitive dependencies.

## What it is

PraisonAI is a multi-agent teams system. In versions below 4.5.139 of PraisonAI and 1.5.140 of praisonaiagents, the workflow engine is vulnerable to arbitrary command and code execution through untrusted YAML files. When praisonai workflow run loads a YAML file with type: job, the JobWorkflowExecutor in jobworkflow.py processes steps that support run: (shell commands via subprocess.run()), script: (inline Python via exec()), and python: (arbitrary Python script execution)—all without any validation, sandboxing, or user confirmation. The affected code paths include actionrun() in workflow.py and execshell(), execinlinepython(), and execpythonscript() in jobworkflow.py. An attacker who can supply or influence a workflow YAML file (particularly in CI pipelines, shared repositories, or multi-tenant deployment environments) can achieve full arbitrary command execution on the host system, compromising the machine and any accessible data or credentials. This issue has been fixed in versions 4.5.139 of PraisonAI and 1.5.140 of praisonaiagents.

## Affected packages

- PyPI `praisonaiagents` <= 1.5.139 → fixed: 1.5.140
- PyPI `PraisonAI` <= 4.5.138 → fixed: 4.5.139

## Affected products (CVE record)

- MervinPraison PraisonAI: < 4.5.139
- MervinPraison praisonaiagents: < 1.5.140

## Severity

- GitHub_M CVSS 3.1: 9.8 `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 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation poc , automatable yes , technical impact total .
- FIRST EPSS (model of 2026-10-21): 0.92% probability of exploitation activity in the next 30 days; percentile 60.

## Sources

- [GitHub Advisory GHSA-vc46-vw85-3wvm](https://github.com/advisories/GHSA-vc46-vw85-3wvm)
- [CVE.org record CVE-2026-40288](https://www.cve.org/CVERecord?id=CVE-2026-40288)
- [NVD entry CVE-2026-40288](https://nvd.nist.gov/vuln/detail/CVE-2026-40288)
- [github.com](https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-vc46-vw85-3wvm)
- [github.com](https://github.com/MervinPraison/PraisonAI/releases/tag/v4.5.139)

---
Source page: https://erroneo.us/security/cve/CVE-2026-40288/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
