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/11/2026, 05:19:10 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. The subprocess inherits all environment variables from the parent process, including sensitive credentials. When MCP commands invoke external tools (e.g., via 'npx -y'), arbitrary code from external or compromised packages may execute with access to these environment variables, risking exposure of secrets and enabling supply chain attacks. This vulnerability is addressed in PraisonAI version 4.5.128.

Potential Impact

The vulnerability can lead to exposure of sensitive information such as API keys, authentication tokens, and database credentials to unauthorized actors if untrusted MCP commands are executed. This may facilitate supply chain attacks through silent exfiltration of secrets. The CVSS score of 5.5 indicates a medium severity impact, with confidentiality affected but no impact on integrity or availability.

Mitigation Recommendations

Upgrade PraisonAI to version 4.5.128 or later, where this vulnerability is fixed. Until then, avoid executing untrusted or third-party MCP commands that could inherit sensitive environment variables. Patch status is not explicitly stated beyond the fix in 4.5.128; therefore, check 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/11/2026, 5:19:10 AM

Last updated: 4/11/2026, 1:44:18 PM

Views: 6

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