CVE-2026-40153 PraisonAIAgents Affected by Environment Variable Secret Exfiltration via os.path.expandvars() Bypassing shell=False in Shell Tool
MediumCVSS 6.5
EPSS 0.28%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi praisonaiagents(PyPI) | < 1.5.128 | 1.5.128 |
| pypi praisonaiagents(PyPI) | = 0.0.1 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.10 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.100 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.101 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.102 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.103 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.104 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.105 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.106 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.107 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.108 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.109 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.11 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.110 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.111 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.112 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.113 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.114 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.115 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.116 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.117 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.118 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.119 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.12 | No fix listed |
Show 175 more
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi praisonaiagents(PyPI) | = 0.0.120 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.121 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.122 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.123 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.124 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.125 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.126 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.127 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.128 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.129 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.13 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.130 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.131 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.132 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.133 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.134 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.135 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.136 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.137 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.138 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.139 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.14 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.140 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.141 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.142 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.143 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.144 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.145 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.146 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.147 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.148 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.149 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.15 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.150 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.151 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.152 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.153 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.154 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.155 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.156 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.157 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.158 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.159 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.16 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.160 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.161 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.162 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.163 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.164 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.165 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.166 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.167 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.168 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.169 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.17 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.170 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.171 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.172 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.173 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.174 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.175 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.176 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.177 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.178 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.179 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.18 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.180 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.181 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.182 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.183 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.184 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.185 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.187 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.188 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.189 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.19 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.190 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.191 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.192 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.193 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.194 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.195 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.196 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.197 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.198 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.199 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.2 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.20 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.21 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.22 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.23 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.24 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.25 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.26 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.27 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.28 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.29 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.3 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.30 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.31 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.32 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.33 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.34 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.35 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.36 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.37 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.38 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.39 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.4 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.40 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.41 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.42 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.43 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.44 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.45 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.46 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.47 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.48 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.49 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.5 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.50 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.51 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.52 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.53 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.54 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.56 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.57 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.58 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.59 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.6 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.60 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.61 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.62 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.63 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.64 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.65 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.66 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.67 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.68 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.69 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.7 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.70 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.71 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.72 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.73 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.74 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.75 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.76 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.77 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.78 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.79 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.8 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.80 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.81 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.82 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.83 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.84 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.85 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.86 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.87 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.88 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.89 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.9 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.90 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.91 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.92 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.93 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.94 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.95 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.96 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.97 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.98 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.0.99 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.1.0 | No fix listed |
| pypi praisonaiagents(PyPI) | = 0.1.1 | No fix listed |
References
- https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-v8g7-9q6v-p3x8 exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- pypi.org product
- github.com vendor-advisory