Vulnerability in Mervinpraison Praisonaiagents
CVE-2026-40153
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.4 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N.
EPSS exploit prediction
EPSS: 0.004 (31.1th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 31st percentile — 31.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.004 · change: +0.001
Affected products
- Mervinpraison Praisonaiagents — versions < 1.5.128
- Praison Praisonaiagents
Weakness classification (CWE)
References
- github.com/MervinPraison/PraisonAI/security/advisories/GHSA-v8g7-9q6v-p3x8 (Exploit, Vendor Advisory)
Frequently asked questions
- What is CVE-2026-40153?
- CVE-2026-40153 is a high-severity vulnerability in Mervinpraison Praisonaiagents, classified under CWE-526. CVSS score: 7.4/10. Published 2026-04-09.
- How severe is CVE-2026-40153?
- High severity. CVSS v3 base score is 7.4 out of 10.