CVE Explorer
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, crea
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"PraisonAIAgents","vendor":"MervinPraison","versions":[{"status":"affected","version":"< 1.5.128"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:29400f802f1637f3cca088fbc8947878e11d4d0905c62e9daede28bfd6d22790 · sha256:8983b2fc54ba5c21… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.4,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:29400f802f1637f3cca088fbc8947878e11d4d0905c62e9daede28bfd6d22790 · sha256:8983b2fc54ba5c21… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-526","description":"CWE-526: Cleartext Storage of Sensitive Information in an Environment Variable","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:29400f802f1637f3cca088fbc8947878e11d4d0905c62e9daede28bfd6d22790 · sha256:8983b2fc54ba5c21… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"name":"https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-v8g7-9q6v-p3x8","tags":["x_refsource_CONFIRM"],"url":"https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-v8g7-9q6v-p3x8"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:29400f802f1637f3cca088fbc8947878e11d4d0905c62e9daede28bfd6d22790 · sha256:8983b2fc54ba5c21… · /containers/cna/references/0
{"tags":["exploit"],"url":"https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-v8g7-9q6v-p3x8"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:29400f802f1637f3cca088fbc8947878e11d4d0905c62e9daede28bfd6d22790 · sha256:8983b2fc54ba5c21… · /containers/adp/0/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.