<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://cve.radiocsirt.org</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Sat, 03 Oct 2026 12:57:23 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-40153 — PraisonAIAgents Affected by Environment Variable Secret Exfiltration via os.path.expandvars() Bypassing shell=False in…</title>
      <link>https://cve.radiocsirt.org/vuln/cve-2026-40153</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; MervinPraison PraisonAIAgents&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; MervinPraison PraisonAIAgents&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/cve-2026-40153</guid>
    </item>
    <item>
      <title>GHSA-v8g7-9q6v-p3x8 — PraisonAIAgents: Environment Variable Secret Exfiltration via os.path.expandvars() Bypassing shell=False in Shell Tool</title>
      <link>https://cve.radiocsirt.org/vuln/ghsa-v8g7-9q6v-p3x8</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: praisonaiagents&lt;/p&gt;
&lt;p&gt;## Summary&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;## Details&lt;/p&gt;
&lt;p&gt;The vulnerable code is in `src/praisonai-agents/praisonaiagents/tools/shell_tools.py`:&lt;/p&gt;
&lt;p&gt;```python
# Line 60: command is split
command = shlex.split(command)&lt;/p&gt;
&lt;p&gt;# Lines 62-64: VULNERABLE — expands ALL env vars in every argument
# Expand tilde and environment variables in command arguments
# (shell=False means the shell won&amp;#39;t do this for us)
command = [os.path.expanduser(os.path.expandvars(arg)) for arg in command]&lt;/p&gt;
&lt;p&gt;# Line 88: shell=False is supposed to prevent shell feature access
process = subprocess.Popen(
    command,
    ...
    shell=False,  # Always use shell=False for security
)
```&lt;/p&gt;
&lt;p&gt;The security problem is a disconnect between the approval display and actual execution:&lt;/p&gt;
&lt;p&gt;1. The LLM generates a tool call: `execute_command(command=&amp;#34;cat $DATABASE_URL&amp;#34;)`
2. `_check_tool_approval_sync` in `tool_execution.py:558` passes `{&amp;#34;command&amp;#34;: &amp;#34;cat $DATABASE_URL&amp;#34;}` to the approval backend
3. `ConsoleBackend` (backends.py:81-85) displ…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: praisonaiagents&lt;/p&gt;
&lt;p&gt;## Summary&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;## Details&lt;/p&gt;
&lt;p&gt;The vulnerable code is in `src/praisonai-agents/praisonaiagents/tools/shell_tools.py`:&lt;/p&gt;
&lt;p&gt;```python
# Line 60: command is split
command = shlex.split(command)&lt;/p&gt;
&lt;p&gt;# Lines 62-64: VULNERABLE — expands ALL env vars in every argument
# Expand tilde and environment variables in command arguments
# (shell=False means the shell won&amp;#39;t do this for us)
command = [os.path.expanduser(os.path.expandvars(arg)) for arg in command]&lt;/p&gt;
&lt;p&gt;# Line 88: shell=False is supposed to prevent shell feature access
process = subprocess.Popen(
    command,
    ...
    shell=False,  # Always use shell=False for security
)
```&lt;/p&gt;
&lt;p&gt;The security problem is a disconnect between the approval display and actual execution:&lt;/p&gt;
&lt;p&gt;1. The LLM generates a tool call: `execute_command(command=&amp;#34;cat $DATABASE_URL&amp;#34;)`
2. `_check_tool_approval_sync` in `tool_execution.py:558` passes `{&amp;#34;command&amp;#34;: &amp;#34;cat $DATABASE_URL&amp;#34;}` to the approval backend
3. `ConsoleBackend` (backends.py:81-85) displ…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/ghsa-v8g7-9q6v-p3x8</guid>
    </item>
  </channel>
</rss>
