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.

EPSS: 0.003 (19.3th percentile) — read the EPSS interpretation.

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.

Affected products

Weakness classification (CWE)

References

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.