Skip to content
HighVulnerability

GHSA-hxmv-c4g6-5fqc: PraisonAI workflow include bypasses tools.py autoload opt-in and executes included recipe code

Published
Record updated
View JSON
Affected
  • PraisonAI >= 3.9.26, < 4.6.58, fixed in 4.6.58, released June 13, 2026, 73 days before disclosure
  • praisonaiagents >= 0.12.12, < 1.6.58, fixed in 1.6.58, released June 13, 2026, 73 days before disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.2%

Summary

PraisonAI's workflow include implementation in praisonaiagents (Workflow._execute_include() in praisonaiagents/workflows/workflows.py) imports and executes an included recipe's tools.py even when the documented PRAISONAI_ALLOW_LOCAL_TOOLS and PRAISONAI_ALLOW_TEMPLATE_TOOLS opt-ins are unset. This bypasses the hardening added for the earlier automatic tools.py advisory family. A workflow that includes an untrusted local recipe runs arbitrary Python module-level code as the PraisonAI process user before any model call.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.