Vulnerability 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 Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Praison | Praisonaiagents | < 1.5.128 |
Related Weaknesses (CWE)
References
- https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-v8g7-9q6v-p3ExploitVendor Advisory
- https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-v8g7-9q6v-p3ExploitVendor Advisory
FAQ
What is CVE-2026-40153?
CVE-2026-40153 is a vulnerability with a CVSS score of 7.4 (HIGH). 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-implementin...
How severe is CVE-2026-40153?
CVE-2026-40153 has been rated HIGH with a CVSS base score of 7.4/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-40153?
Check the references section above for vendor advisories and patch information. Affected products include: Praison Praisonaiagents.