CVE-2026-40153 | MervinPraison PraisonAIAgents up to 1.5.127 shell_tools.py os.path.expandvars exposure of sensitive information through environmental variables (GHSA-v8g7-9q6v-p3x8)
VulDBArchived Apr 10, 2026✓ Full text saved
A vulnerability was found in MervinPraison PraisonAIAgents up to 1.5.127 . It has been rated as problematic . This impacts the function os.path.expandvars of the file shell_tools.py . The manipulation leads to exposure of sensitive information through environmental variables. This vulnerability is listed as CVE-2026-40153 . The attack may be initiated remotely. There is no available exploit. Upgrading the affected component is advised.
Full text archived locally
✦ AI Summary· Claude Sonnet
VDB-356784 · CVE-2026-40153 · GHSA-V8G7-9Q6V-P3X8
MERVINPRAISON PRAISONAIAGENTS UP TO 1.5.127 SHELL_TOOLS.PY OS.PATH.EXPANDVARS EXPOSURE OF SENSITIVE INFORMATION THROUGH ENVIRONMENTAL VARIABLES
HISTORYDIFFRELATEJSONXMLCTI
CVSS Meta Temp Score Current Exploit Price (≈) CTI Interest Score
5.7 $0-$5k 1.31+
Summaryinfo
A vulnerability categorized as problematic has been discovered in MervinPraison PraisonAIAgents up to 1.5.127. Affected is the function os.path.expandvars of the file shell_tools.py. The manipulation results in exposure of sensitive information through environmental variables. This vulnerability is cataloged as CVE-2026-40153. The attack may be launched remotely. There is no exploit available. It is advisable to upgrade the affected component.
Detailsinfo
A vulnerability was found in MervinPraison PraisonAIAgents up to 1.5.127. It has been classified as problematic. Affected is the function os.path.expandvars of the file shell_tools.py. The manipulation with an unknown input leads to a exposure of sensitive information through environmental variables vulnerability. CWE is classifying the issue as CWE-526. The product uses an environment variable to store unencrypted sensitive information. This is going to have an impact on confidentiality. CVE summarizes:
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.
The advisory is shared for download at github.com. This vulnerability is traded as CVE-2026-40153 since 04/09/2026. The exploitability is told to be easy. It is possible to launch the attack remotely. The exploitation doesn't require any form of authentication. Successful exploitation requires user interaction by the victim. There are known technical details, but no exploit is available. The MITRE ATT&CK project declares the attack technique as T1592.002.
Upgrading to version 1.5.128 eliminates this vulnerability.
Productinfo
Vendor
MervinPraison
Name
PraisonAIAgents
Version
1.5.127
CPE 2.3info
🔒
CPE 2.2info
🔒
CVSSv4info
VulDB Vector: 🔒
VulDB Reliability: 🔍
CVSSv3info
VulDB Meta Base Score: 5.8
VulDB Meta Temp Score: 5.7
VulDB Base Score: 4.3
VulDB Temp Score: 4.1
VulDB Vector: 🔒
VulDB Reliability: 🔍
CNA Base Score: 7.4
CNA Vector (GitHub_M): 🔒
CVSSv2info
Vector Complexity Authentication Confidentiality Integrity Availability
Unlock Unlock Unlock Unlock Unlock Unlock
Unlock Unlock Unlock Unlock Unlock Unlock
Unlock Unlock Unlock Unlock Unlock Unlock
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploitinginfo
Class: Exposure of sensitive information through environmental variables
CWE: CWE-526 / CWE-200 / CWE-284
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
Availability: 🔒
Status: Not defined
Price Prediction: 🔍
Current Price Estimation: 🔒
0-Day Unlock Unlock Unlock Unlock
Today Unlock Unlock Unlock Unlock
Threat Intelligenceinfo
Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍
Countermeasuresinfo
Recommended: Upgrade
Status: 🔍
0-Day Time: 🔒
Upgrade: PraisonAIAgents 1.5.128
Timelineinfo
04/09/2026 CVE reserved
04/10/2026 +1 days Advisory disclosed
04/10/2026 +0 days VulDB entry created
04/10/2026 +0 days VulDB entry last update
Sourcesinfo
Advisory: GHSA-v8g7-9q6v-p3x8
Status: Confirmed
CVE: CVE-2026-40153 (🔒)
GCVE (CVE): GCVE-0-2026-40153
GCVE (VulDB): GCVE-100-356784
Entryinfo
Created: 04/10/2026 06:58
Changes: 04/10/2026 06:58 (65)
Complete: 🔍
Cache ID: 99:BAC:101
Discussion
No comments yet. Languages: en.
Please log in to comment.
◂ PreviousOverviewNext ▸