CVE-2026-40153
HIGHDescription
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.
How to fix
TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works
Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
Exploit Intelligence
Low risk: more likely to be exploited than 19% of all known CVEs.
References
Related Vulnerabilities
Other CWE-526 vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2014-2377 | Medium | 5.0 | 1.8% | - | - |
| CVE-2023-5720 | High | 7.7 | 0.8% | - | Fix |
| CVE-2023-35931 | Low | 3.1 | 0.8% | - | Fix |
| CVE-2024-11736 | Medium | 4.9 | 0.8% | - | Fix |
| CVE-2024-4369 | Medium | 6.8 | 0.7% | - | Fix |
| CVE-2026-49377 | Medium | 4.3 | 0.7% | - | Fix |
Embed a live status badge for CVE-2026-40153
Markdown
[](https://tridentstack.com/cve/CVE-2026-40153)HTML
<a href="https://tridentstack.com/cve/CVE-2026-40153"><img src="https://tridentstack.com/cve/badge/CVE-2026-40153.svg" alt="CVE-2026-40153"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-04-20.