Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-40159: CWE-200: Exposure of Sensitive Information to an Unauthorized Actor in MervinPraison PraisonAI

0
Medium
VulnerabilityCVE-2026-40159cvecve-2026-40159cwe-200cwe-214
Published: Fri Apr 10 2026 (04/10/2026, 16:57:11 UTC)
Source: CVE Database V5
Vendor/Project: MervinPraison
Product: PraisonAI

Description

PraisonAI is a multi-agent teams system. Prior to 4.5.128, PraisonAI’s MCP (Model Context Protocol) integration allows spawning background servers via stdio using user-supplied command strings (e.g., MCP("npx -y @smithery/cli ...")). These commands are executed through Python’s subprocess module. By default, the implementation forwards the entire parent process environment to the spawned subprocess. As a result, any MCP command executed in this manner inherits all environment variables from the host process, including sensitive data such as API keys, authentication tokens, and database credentials. This behavior introduces a security risk when untrusted or third-party commands are used. In common scenarios where MCP tools are invoked via package runners such as npx -y, arbitrary code from external or potentially compromised packages may execute with access to these inherited environment variables. This creates a risk of unintended credential exposure and enables potential supply chain attacks through silent exfiltration of secrets. This vulnerability is fixed in 4.5.128.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/18/2026, 14:05:04 UTC

Technical Analysis

PraisonAI's MCP integration prior to version 4.5.128 allows spawning background servers using user-supplied command strings executed through Python's subprocess module. By default, the subprocess inherits all environment variables from the parent process, including sensitive information such as API keys, authentication tokens, and database credentials. This behavior creates a risk when untrusted or third-party commands are executed, as they gain access to these sensitive environment variables. The vulnerability can lead to exposure of sensitive information and potential supply chain attacks via silent exfiltration of secrets. The issue is resolved in PraisonAI version 4.5.128.

Potential Impact

The vulnerability exposes sensitive environment variables to subprocesses spawned by user-supplied commands, potentially leaking API keys, authentication tokens, and database credentials. This exposure can lead to unauthorized access to sensitive information and enable supply chain attacks through compromised or malicious third-party packages. The CVSS score of 5.5 reflects a medium severity impact, primarily confidentiality loss without direct integrity or availability impact.

Mitigation Recommendations

A fix for this vulnerability is available in PraisonAI version 4.5.128. Users should upgrade to version 4.5.128 or later to remediate the issue. Until the upgrade is applied, avoid executing untrusted or third-party MCP commands that could inherit sensitive environment variables. Patch status is not explicitly stated beyond the version fix; therefore, verify the vendor advisory for the latest remediation guidance.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-04-09T19:31:56.014Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 69d9d9751cc7ad14da3f871d

Added to database: 4/11/2026, 5:17:41 AM

Last enriched: 4/18/2026, 2:05:04 PM

Last updated: 5/26/2026, 3:41:08 PM

Views: 111

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses