<?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://db.gcve.eu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-08T19:36:11.418744+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@gcve.eu</email>
  </author>
  <link href="https://db.gcve.eu" 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://db.gcve.eu/vuln/fkie_cve-2026-62176</id>
    <title>fkie_cve-2026-62176</title>
    <updated>2026-10-08T19:36:11.436793+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>PraisonAI is a multi-agent teams system. Prior to version 4.6.78, the `deploy/api.py` module generates Python server code by directly interpolating the `agents_file` parameter into an f-string that is then written to a file and executed via `subprocess.Popen()`. An attacker who controls the `agents_file` value (via CLI argument, configuration, or upstream API) can inject arbitrary Python code. Version 4.6.78 patches the issue.</p>
      </div>
    </content>
    <link href="https://db.gcve.eu/vuln/fkie_cve-2026-62176"/>
  </entry>
  <entry>
    <id>https://db.gcve.eu/vuln/ghsa-g6j7-pffp-8whg</id>
    <title>GHSA-g6j7-pffp-8whg — PraisonAI: Code Injection via f-string Interpolation in Deploy API Server Generation</title>
    <updated>2026-10-08T19:36:11.436873+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> PyPI: PraisonAI</p>
<p>### Summary
The `deploy/api.py` module generates Python server code by directly interpolating the `agents_file` parameter into an f-string that is then written to a file and executed via `subprocess.Popen()`. An attacker who controls the `agents_file` value (via CLI argument, configuration, or upstream API) can inject arbitrary Python code.</p>
<p>### Details</p>
<p>`src/praisonai/praisonai/deploy/api.py` (line 80):</p>
<p>```python
code = f'''...
    praisonai = PraisonAI(agent_file="{agents_file}")
...
    "agent_file": "{agents_file}"
...'''
```</p>
<p>The generated code is then executed (line 190):
```python
subprocess.Popen(['python', server_file])
```</p>
<p>`agents_file` is never sanitized or validated. A malicious value breaks out of the string context:</p>
<p>```python
agents_file = '"); import os; os.system("id"); #'
# Generated code becomes:
# praisonai = PraisonAI(agent_file=""); import os; os.system("id"); #")
```</p>
<p>The same pattern exists in `deploy/docker.py` (line 33) for Dockerfile generation.</p>
<p>### PoC</p>
<p>```python
# The injection:
agents_file = '"); import os; os.system("id"); #'</p>
<p># What the generated code looks like:
template = f'praisonai = PraisonAI(agent_file="{agents_file}")'
print(template)
# Output: praisonai = PraisonAI(agent_file=""); import os; os.system("id"); #")
```</p>
<p>### Impact
- **Arbitrary code execution** on the machine running the deploy command
- **Supply chain risk** if `agents_file` comes from a configuration file or CI/CD pipeline</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/ghsa-g6j7-pffp-8whg"/>
  </entry>
</feed>
