Security mailing lists by PureSourceCode

CVE-2026-56838

HIGH 7.8CVSS 3.1

PraisonAI recipe.run_stream skips dangerous-tool policy enforcement

PraisonAI is a multi-agent teams system. From version 4.5.87 to before version 4.6.59, 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. 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. This issue has been patched in version 4.6.59.

Published
23 Oct 2026
Last modified
29 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Deferred
Weakness
CWE-693CWE-78CWE-863
Also known as
GHSA-v847-hxxw-3pxgPYSEC-2026-3520
Sources
NVDJSONOSV GHSA-v847-hxxw-3pxgJSONOSV PYSEC-2026-3520JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.8 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 7.8 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
OSV PyPA CVSS 3.1 HIGH 7.8 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV PyPI praisonai >= 4.5.87, < 4.6.59 4.6.59

References

History

  • 25 Nov 2026 21:22 UTC · NVD: first stored (published 23 Oct 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 23 Jul 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 18 Jun 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.