CVE-2026-40153
MEDIUM EPSS 19.0%
Published Apr 9, 20262mo ago · Modified Jun 17, 20261w ago
6.5 CVSS 3.1
Published Apr 9, 2026 2mo ago
Last Modified Jun 17, 2026 1w ago
Description
PraisonAIAgents is a multi-agent teams system. Prior to 1.5.128, the execute_command function in shell_tools.py calls os.path.expandvars() on every command argument at line 64, manually re-implementing shell-level environment variable expansion despite using shell=False (line 88) for security. This allows exfiltration of secrets stored in environment variables (database credentials, API keys, cloud access keys). The approval system displays the unexpanded $VAR references to human reviewers, creating a deceptive approval where the displayed command differs from what actually executes. This vulnerability is fixed in 1.5.128.
CVSS Details
Base Score
Exploitability
Impact
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction Required
Scope Unchanged
Confidentiality High
Integrity None
Availability None
Threat Intelligence
EPSS Exploit Probability
19.0% percentile
Exploit & Patch Status
Public Exploit Known
No Patch Available
Weaknesses 1
CWE-526
Affected Products 1
| Vendor | Product | Version | Range |
|---|---|---|---|
| praison | praisonaiagents | * | <1.5.128 |
References 1
- github.com https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-v8g7-9q6v-p3x8
Remediation
No remediation data recorded yet
Check vendor advisories and the NVD entry for patch availability.