cve.bz

CVE-2026-40153 praison praisonaiagents

6.5 mediumExploit referenceEPSS 0.3%Fix available

Medium (6.5) in praison praisonaiagents. EPSS 0.3% estimated probability of exploitation activity in the next 30 days. Fixed in praisonaiagents 1.5.128.

On this page
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.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
EPSS
0.3% (unchanged from 0.3% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 20th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2026-04-13. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-526 Cleartext Storage of Sensitive Information in an Environment Variable
OWASP Top 10
A02:2025 Security Misconfiguration
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-40153 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-40153?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-40153?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-40153 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
praison:praisonaiagentsbefore 1.5.128

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-v8g7-9q6v-p3x8PyPIpraisonaiagents<1.5.1281.5.128
PYSEC-2026-2953PyPIpraisonaiagents<1.5.1281.5.128

References

Check your stackJSON