PraisonAI (pip) | Vendor advisory || Field | Value |
|---|---|
| CVE / NVD | CVE-2026-40159 |
| Date (index) | 2026-04-10 |
| Affected product (index) | PraisonAI MCP integration:PraisonAI (pip) |
| GHSA ID | GHSA-pj2r-f9mw-vrcq |
| OWASP MCP Top 10 (2025) | MCP01 — Token Mismanagement & Secret Exposure |
| Published / disclosed | 2026-04-10 |
| Ecosystem | Application / upstream project |
| Component | PraisonAI MCP integration:PraisonAI (pip) |
| EPSS score | 0.001820000 (FIRST EPSS, 2026-06-30) |
| CVSS score | 5.5 MEDIUM CVSS v3.1 (NVD) |
| CWE | CWE-526 |
| Affected versions | PraisonAI < 4.5.128 |
| Fixed versions | 4.5.128 |
| Fix status | Patch exists, but version needs verification |
| Exploit status | Public CVE record |
PraisonAI Vulnerable to Sensitive Environment Variable Exposure via Untrusted MCP Subprocess Execution
The attacker needs control over tool arguments, command parameters, or MCP configuration that is forwarded into a process execution path. Exposure is worst when the service accepts remote requests or untrusted project/config input.
Parent process environment forwarded to spawned MCP subprocesses
MCP STDIO subprocesses should receive minimal explicit environment variables. Because the affected product orchestrates MCP on behalf of users, exploitation can become platform-level code execution or unauthorized downstream tool use.
Add a minimal vulnerable code snippet here after reviewing the linked source locations.
The fix reduces credential exposure by limiting what is stored, inherited, or returned by the affected MCP path, and by tightening trust boundaries around subprocesses or persisted state.
https://github.com/MervinPraison/PraisonAI/releases/tag/v4.5.128