Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V14 - Data Protection Data exposure prevention
MITRE ATT&CK
2 techniques across 2 tactics: Collection, Discovery The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | CVSS 5.5 reflects a local attack vector (AV:L) requiring user interaction (UI:R), with no privileges required (PR:N), resulting in high confidentiality impact (C:H) but no integrity or availability impact. The moderate CVSS score masks the real-world severity: supply chain attacks via compromised npm packages are increasingly common, and unintended credential exposure is a persistent threat in AI/LLM tool chains where developers may not anticipate environment variable leakage. EPSS and KEV status are not provided, but the vulnerability's mechanics align with high exploitability in practice - an attacker controlling a malicious npm package or social engineering a developer to use a trojanized MCP tool could silently exfiltrate credentials at scale. The attack complexity is low (AC:L) and requires only user interaction to trigger (e.g., running a PraisonAI command that uses an MCP tool), making this a real priority for organizations using PraisonAI with sensitive credentials in environment variables. The lack of integrity/availability impact may lower perceived priority, but credential theft is a critical security failure in practice. |
| Exploit ScenarioDerived | A developer uses PraisonAI with API keys (e.g., OpenAI_API_KEY, DATABASE_PASSWORD) stored in environment variables. An attacker publishes a malicious npm package with a name similar to a popular MCP tool and tricks the developer into using it via an MCP tool configuration (e.g., MCP("npx -y @smithery/malicious-cli ...")). When the developer runs the PraisonAI command, the subprocess spawned by the vulnerable MCP integration inherits all environment variables, and the attacker's code silently exfiltrates the credentials to a remote server. This attack is feasible because npx automatically downloads and executes packages from npm without local caching by default, and developers often do not audit the subprocesses invoked by higher-level tools like PraisonAI. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 10, 2026
PraisonAI before version 4.5.128 exposes sensitive environment variables to untrusted subprocess commands executed through its MCP (Model Context Protocol) integration, enabling credential theft and supply chain attacks when third-party tools like npx packages are invoked. An unauthenticated local attacker with user interaction can trigger MCP commands that inherit the parent process environment, gaining access to API keys, authentication tokens, and database credentials without the knowledge of developers using PraisonAI. The vulnerability is fixed in version 4.5.128.
RemediationAI
Upgrade PraisonAI to version 4.5.128 or later, which fixes the environment variable exposure. No workaround is available without upgrading; however, organizations can mitigate risk by restricting sensitive environment variables in the runtime environment where PraisonAI executes (e.g., use dedicated service accounts with minimal credentials, avoid storing secrets in process-level environment variables, and instead use secret management systems or runtime injection mechanisms that do not forward credentials to subprocesses). Refer to the official GitHub security advisory at https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-pj2r-f9mw-vrcq for upgrade instructions and confirmation.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
PraisonAI's MCP integration spawns background server processes via Python's subprocess module using stdio-based command execution. The implementation passes user-supplied command strings directly to the subprocess module without sanitizing the environment dictionary. By default, Python's subprocess.Popen() forwards the entire parent process environment (os.environ) to child processes unless explicitly restricted via the env parameter. When MCP tools invoke external package runners such as npx -y, the spawned subprocess inherits sensitive environment variables from the host PraisonAI process, including API keys and credentials. This is a classic information disclosure vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) where the trust boundary between the parent process and dynamically-loaded third-party code is not properly enforced. The root cause is the absence of environment variable filtering or allowlisting before subprocess creation.
Know when Praisonai gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Primary rating from Vendor (GitHub_M) · only source for this CVE.
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Related Vulnerabilities in PraisonAI Multiple Code Execution and Path Traversal
View all 5Remote code execution in PraisonAI before 1.6.78 allows attackers to run arbitrary Python on the host by manipulating th
PraisonAI's TypeScript MCP server (npm package `praisonai`, versions 1.5.0 through 1.7.1) exposes an HTTP JSON-RPC trans
Unauthenticated authentication bypass in praisonai-platform prior to 0.1.6 (and PraisonAI before 4.6.51) allows a remote
WebSocket origin-validation bypass in PraisonAI's Browser Server (praisonai/browser/server.py) before 4.6.58 lets an att
Unauthenticated agent access in PraisonAI before 1.7.3 lets remote attackers read agent instructions and system prompts
PraisonAI's `praisonai serve` subsystem (agents and unified modes) accepts an `--api-key` CLI flag that is parsed but ne
System prompt extraction and unauthorized tool invocation in PraisonAI before 4.6.78 arise because the prompt-injection
Unauthenticated remote agent invocation in PraisonAI versions 4.6.34 through 4.6.57 allows any network-reachable caller
SSRF protection bypass in PraisonAI's praisonaiagents library (all versions before 1.6.58) lets low-privileged users rou
Server-side request forgery in PraisonAI's Crawl4AI/Chromium crawling backend (all versions before 1.6.78) lets low-priv
Authentication fail-open in PraisonAI's Recipe HTTP server allows unauthenticated remote attackers to invoke recipe exec
Authentication bypass in PraisonAI's AgentServer component exposes all routes - /publish, /events, /info, /health - to u
EUVD-2026-21511
GHSA-pj2r-f9mw-vrcq
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB