<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://vulnerability.circl.lu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-09-30T03:38:30.408489+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@circl.lu</email>
  </author>
  <link href="https://vulnerability.circl.lu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/pysec-2026-3522</id>
    <title>PYSEC-2026-3522 — PraisonAI: Compute-bridged file tools allow shell command injection</title>
    <updated>2026-09-30T03:38:30.409789+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> PyPI: praisonai</p>
<p># Compute-bridged file tools allow shell command injection</p>
<p>## Summary</p>
<p>`LocalManagedAgent` / `SandboxedAgent` compute bridging wraps
`read_file`, `list_files`, and `write_file` when a compute provider is
attached. The bridge converts those file operations into shell command strings
using raw path arguments, then sends those strings to shell-backed compute
providers.</p>
<p>An attacker who can influence a file-tool path argument can break out of the
quoted path and execute arbitrary shell commands in the compute environment.
With `compute="local"`, commands execute through the local subprocess compute
provider on the host. With Docker, commands execute in the container.</p>
<p>## Affected Product</p>
<p>- Repository: `MervinPraison/PraisonAI`
- Package: `praisonai`
- Component: `src/praisonai/praisonai/integrations/managed_local.py`
- Confirmed affected:
  - `v4.6.10`
  - `v4.6.56`
  - `v4.6.57`
  - current `main` at `2f9677abb2ea68eab864ee8b6a828fd0141612e1`
- Confirmed not affected:
  - `v4.6.9`
  - `v4.6.1`
  - `v4.5.149`
- Suggested affected range: `&gt;= 4.6.10, &lt;= 4.6.57`</p>
<p>## Root Cause</p>
<p>Current `managed_local.py` defines the bridged tool set:</p>
<p>```python
compute_bridged_tools = {"execute_command", "read_file", "write_file", "list_files"}
```</p>
<p>For file tools, `_bridge_file_tool()` constructs shell command strings:</p>
<p>```python
command = f'cat "{filepath}"'
command = f'ls -la "{directory}"'
command = f'cat &gt; "{filepath}" &lt;&lt; "EOF"\n{content}\nEOF'
```</p>
<p>The local compute provider executes the st…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/pysec-2026-3522"/>
  </entry>
</feed>
