MediumVulnerability
CVE-2026-40159: PraisonAI MCP stdio integration leaks environment variables to spawned processes
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-40159
- Published
- Record updated
- Fixed in
- The source references a patch, a mitigation or a vendor advisory.
Summary
PraisonAI's MCP integration, prior to 4.5.128, spawns stdio servers from user-supplied command strings via Python's subprocess module. By default it forwards the entire parent process environment to those subprocesses, so commands like npx -y inherit secrets such as API keys, authentication tokens and database credentials.
Mitigation
Fixed in 4.5.128.
Topics
Related items
- HighCVE-2026-128877: IBM Langflow OSS 1.0.0 through 1.13.0 agentic MCP endpoint uses an internal client to send requests to the server's own…Similar attack, NVD/CVE Database
- MediumCVE-2026-120038: IBM Langflow OSS credential exposure via attacker-controlled OpenAI base_urlSimilar attack, NVD/CVE Database
- MediumCVE-2026-136957: Sonatype Nexus Repository 3 HuggingFace proxy download token verification flawSimilar attack, NVD/CVE Database
- HighCVE-2026-142134 - Uncontrolled search path element in the workflow linting tools in AWS HealthOmics MCP ServerSimilar attack, AWS Security Bulletins
- HighCVE-2026-142134: AWS HealthOmics MCP Server uncontrolled search path in workflow linting toolsSimilar attack, NVD/CVE Database