CVE-2026-40288 json
PraisonAI: Critical RCE via `type: job` workflow YAML
published 2026-04-10 6 mo ago modified 2026-10-26 13 d ago also GHSA-vc46-vw85-3wvm , PYSEC-2026-477 , PYSEC-2026-488 , EUVD-2026-22209
- cvss
- 9.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 49%
- public exploits
- 0
- none known
Summary
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 <file.yaml> loads a YAML file with type: job, the JobWorkflowExecutor in job_workflow.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 action_run() in workflow.py and _exec_shell(), _exec_inline_python(), and _exec_python_script() in job_workflow.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.
Patch / fix
- pypi praisonaiagents 1.5.140
- pypi praisonai 4.5.139
- praison praisonai 4.5.139
- praison praisonaiagents 1.5.140
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- total
- Assessed
- 6 mo ago
Exploit prediction
0.61% chance of exploitation in the next 30 days, higher than 49% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-vc46-vw85-3wvm referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | praisonaiagents | <1.5.140 |
1.5.140 |
| pypi | praisonai | <4.5.139 |
4.5.139 |
Affected products
- MervinPraison PraisonAI
- MervinPraison praisonaiagents
Classification
References
-
github.com
/MervinPraison/PraisonAI/security/advisories/GHSA-vc46-vw85-3wvm
web, exploit, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2026-40288
advisory
-
github.com
/MervinPraison/PraisonAI
package
-
github.com
/MervinPraison/PraisonAI/releases/tag/v4.5.139
web
-
pypi.org
/project/praisonaiagents
package
-
github.com
/advisories/GHSA-vc46-vw85-3wvm
advisory
-
pypi.org
/project/praisonai
package
Sources
- CVE List CVE-2026-40288
- GitHub Advisory GHSA-vc46-vw85-3wvm
- NVD CVE-2026-40288
- OSV PYSEC-2026-488
- OSV PYSEC-2026-477
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.