CVE & CISA-KEV Catalog

CVE-2026-40153

HIGH
7.4
CVSS v3
NVD

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.

How to fix

Remediation Available
praisonaiagentsNVD
Affected:< 1.5.128Fixed in:1.5.128CVE-2026-40153derived from NVD

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

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionRequired
ScopeChanged

Impact

ConfidentialityHigh
IntegrityNone
AvailabilityNone

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N

Exploit Intelligence

0.27%probability of exploitation in 30 days
19thpercentile

Low risk: more likely to be exploited than 19% of all known CVEs.

References

Exploit1

Related Vulnerabilities

Other CWE-526 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2014-2377Medium5.01.8%--
CVE-2023-5720High7.70.8%-Fix
CVE-2023-35931Low3.10.8%-Fix
CVE-2024-11736Medium4.90.8%-Fix
CVE-2024-4369Medium6.80.7%-Fix
CVE-2026-49377Medium4.30.7%-Fix
Embed a live status badge for CVE-2026-40153
CVE-2026-40153 severity badge

Markdown

[![CVE-2026-40153](https://tridentstack.com/cve/badge/CVE-2026-40153.svg)](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.

See how it worksStart freeThis CVE lookup is free and always will be.

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.