<?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://db.gcve.eu</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>Thu, 08 Oct 2026 19:36:12 +0000</lastBuildDate>
    <item>
      <title>fkie_cve-2026-62176</title>
      <link>https://db.gcve.eu/vuln/fkie_cve-2026-62176</link>
      <description>&lt;p&gt;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.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;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.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/fkie_cve-2026-62176</guid>
    </item>
    <item>
      <title>GHSA-g6j7-pffp-8whg — PraisonAI: Code Injection via f-string Interpolation in Deploy API Server Generation</title>
      <link>https://db.gcve.eu/vuln/ghsa-g6j7-pffp-8whg</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: PraisonAI&lt;/p&gt;
&lt;p&gt;### 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.&lt;/p&gt;
&lt;p&gt;### Details&lt;/p&gt;
&lt;p&gt;`src/praisonai/praisonai/deploy/api.py` (line 80):&lt;/p&gt;
&lt;p&gt;```python
code = f&amp;#39;&amp;#39;&amp;#39;...
    praisonai = PraisonAI(agent_file=&amp;#34;{agents_file}&amp;#34;)
...
    &amp;#34;agent_file&amp;#34;: &amp;#34;{agents_file}&amp;#34;
...&amp;#39;&amp;#39;&amp;#39;
```&lt;/p&gt;
&lt;p&gt;The generated code is then executed (line 190):
```python
subprocess.Popen([&amp;#39;python&amp;#39;, server_file])
```&lt;/p&gt;
&lt;p&gt;`agents_file` is never sanitized or validated. A malicious value breaks out of the string context:&lt;/p&gt;
&lt;p&gt;```python
agents_file = &amp;#39;&amp;#34;); import os; os.system(&amp;#34;id&amp;#34;); #&amp;#39;
# Generated code becomes:
# praisonai = PraisonAI(agent_file=&amp;#34;&amp;#34;); import os; os.system(&amp;#34;id&amp;#34;); #&amp;#34;)
```&lt;/p&gt;
&lt;p&gt;The same pattern exists in `deploy/docker.py` (line 33) for Dockerfile generation.&lt;/p&gt;
&lt;p&gt;### PoC&lt;/p&gt;
&lt;p&gt;```python
# The injection:
agents_file = &amp;#39;&amp;#34;); import os; os.system(&amp;#34;id&amp;#34;); #&amp;#39;&lt;/p&gt;
&lt;p&gt;# What the generated code looks like:
template = f&amp;#39;praisonai = PraisonAI(agent_file=&amp;#34;{agents_file}&amp;#34;)&amp;#39;
print(template)
# Output: praisonai = PraisonAI(agent_file=&amp;#34;&amp;#34;); import os; os.system(&amp;#34;id&amp;#34;); #&amp;#34;)
```&lt;/p&gt;
&lt;p&gt;### 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&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: PraisonAI&lt;/p&gt;
&lt;p&gt;### 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.&lt;/p&gt;
&lt;p&gt;### Details&lt;/p&gt;
&lt;p&gt;`src/praisonai/praisonai/deploy/api.py` (line 80):&lt;/p&gt;
&lt;p&gt;```python
code = f&amp;#39;&amp;#39;&amp;#39;...
    praisonai = PraisonAI(agent_file=&amp;#34;{agents_file}&amp;#34;)
...
    &amp;#34;agent_file&amp;#34;: &amp;#34;{agents_file}&amp;#34;
...&amp;#39;&amp;#39;&amp;#39;
```&lt;/p&gt;
&lt;p&gt;The generated code is then executed (line 190):
```python
subprocess.Popen([&amp;#39;python&amp;#39;, server_file])
```&lt;/p&gt;
&lt;p&gt;`agents_file` is never sanitized or validated. A malicious value breaks out of the string context:&lt;/p&gt;
&lt;p&gt;```python
agents_file = &amp;#39;&amp;#34;); import os; os.system(&amp;#34;id&amp;#34;); #&amp;#39;
# Generated code becomes:
# praisonai = PraisonAI(agent_file=&amp;#34;&amp;#34;); import os; os.system(&amp;#34;id&amp;#34;); #&amp;#34;)
```&lt;/p&gt;
&lt;p&gt;The same pattern exists in `deploy/docker.py` (line 33) for Dockerfile generation.&lt;/p&gt;
&lt;p&gt;### PoC&lt;/p&gt;
&lt;p&gt;```python
# The injection:
agents_file = &amp;#39;&amp;#34;); import os; os.system(&amp;#34;id&amp;#34;); #&amp;#39;&lt;/p&gt;
&lt;p&gt;# What the generated code looks like:
template = f&amp;#39;praisonai = PraisonAI(agent_file=&amp;#34;{agents_file}&amp;#34;)&amp;#39;
print(template)
# Output: praisonai = PraisonAI(agent_file=&amp;#34;&amp;#34;); import os; os.system(&amp;#34;id&amp;#34;); #&amp;#34;)
```&lt;/p&gt;
&lt;p&gt;### 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&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/ghsa-g6j7-pffp-8whg</guid>
    </item>
  </channel>
</rss>
