<?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-10-10T04:30:40.598788+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-3520</id>
    <title>PYSEC-2026-3520 — PraisonAI recipe.run_stream skips dangerous-tool policy enforcement</title>
    <updated>2026-10-10T04:30:40.618686+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> PyPI: praisonai</p>
<p># PraisonAI `recipe.run_stream()` skips dangerous-tool policy enforcement</p>
<p>## Summary</p>
<p>PraisonAI recipe execution blocks default-denied dangerous tools unless the
caller explicitly passes `allow_dangerous_tools=True`. The normal `recipe.run()`
path enforces this with `_check_tool_policy()`. The streaming path,
`recipe.run_stream()`, loads the same recipe, checks dependencies, and then
calls `_execute_recipe()` without running the dangerous-tool policy check.</p>
<p>As a result, a recipe that honestly declares `execute_command` in
`TEMPLATE.yaml requires.tools` is denied by `recipe.run()`, but reaches the
execution engine through `recipe.run_stream()` with
`allow_dangerous_tools=False`.</p>
<p>The local PoV uses a harmless `printf` canary, explicitly unsets
`PRAISONAI_AUTO_APPROVE`, and avoids network access.</p>
<p>## Affected Product</p>
<p>- Repository: `MervinPraison/PraisonAI`
- Package: `praisonai`
- Components:
  - `src/praisonai/praisonai/recipe/core.py`
  - `src/praisonai/praisonai/recipe/serve.py`
  - `src/praisonai/praisonai/cli/features/recipe.py`
  - `src/praisonai-agents/praisonaiagents/workflows/yaml_parser.py`
  - `src/praisonai-agents/praisonaiagents/workflows/workflows.py`</p>
<p>Validated affected:</p>
<p>- current main `2f9677abb2ea68eab864ee8b6a828fd0141612e1`
  (`v4.6.57-4-g2f9677ab`)
- `v4.6.57`
- `v4.6.56`
- `v4.6.10`
- `v4.6.9`
- `v4.5.128`
- `v4.5.120`
- `v4.5.96`
- `v4.5.87`</p>
<p>Suggested affected range: `&gt;= 4.5.87, &lt;= 4.6.57`.</p>
<p>PyPI lists `PraisonAI 4.6.57` as the latest release on 2026…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/pysec-2026-3520"/>
  </entry>
</feed>
