Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-40153: CWE-526: Cleartext Storage of Sensitive Information in an Environment Variable in MervinPraison PraisonAIAgents

0
High
VulnerabilityCVE-2026-40153cvecve-2026-40153cwe-526
Published: Thu Apr 09 2026 (04/09/2026, 21:27:45 UTC)
Source: CVE Database V5
Vendor/Project: MervinPraison
Product: PraisonAIAgents

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/10/2026, 00:36:02 UTC

Technical Analysis

PraisonAIAgents, a multi-agent system, had a vulnerability in versions before 1.5.128 where the execute_command function in shell_tools.py used os.path.expandvars() on command arguments while running commands with shell=False. This manual environment variable expansion bypassed intended security controls, allowing secrets stored in environment variables to be exfiltrated. The approval system's display of unexpanded variables created a deceptive approval process, as the command shown to reviewers differed from the executed command. The vulnerability is classified under CWE-526 (Cleartext Storage of Sensitive Information) and carries a CVSS 3.1 score of 7.4 (High severity). The issue is resolved in version 1.5.128.

Potential Impact

An attacker or user able to influence command arguments could cause sensitive environment variable values (e.g., database credentials, API keys) to be exposed or exfiltrated. The deceptive approval display increases risk by hiding the true command executed, potentially leading to unauthorized disclosure of secrets. There is no indication of impact on integrity or availability. No known exploits in the wild have been reported.

Mitigation Recommendations

Upgrade PraisonAIAgents to version 1.5.128 or later, where this vulnerability is fixed. Since the vendor advisory indicates the issue is resolved in this version, applying this official fix is the recommended remediation. Patch status is not explicitly stated beyond the fix in 1.5.128, so verify with the vendor for any additional guidance.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-04-09T19:31:56.013Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 69d843771cc7ad14da3fb5cf

Added to database: 4/10/2026, 12:25:27 AM

Last enriched: 4/10/2026, 12:36:02 AM

Last updated: 4/10/2026, 8:14:25 AM

Views: 7

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses