CVE-2026-55522 Details
Description
PraisonAI is a multi-agent teams system. In versions 3.9.26 through 4.6.57 of praiseonai and 0.12.12 through 1.6.57 of praiseonaiagents, the workflow "include" feature is vulnerable to code execution. Workflow._execute_include() implicitly imports and runs an included recipe's tools.py via a raw importlib.util.spec_from_file_location() and spec.loader.exec_module() call, without honoring the PRAISONAI_ALLOW_TEMPLATE_TOOLS/PRAISONAI_ALLOW_LOCAL_TOOLS autoload opt-in gates or routing through the centralized safe loader that protects the other tools.py autoload paths. As a result, a workflow that includes an attacker-controlled local recipe directory executes arbitrary module-level Python code during include setup, before any child workflow parsing or model call, and the same sink is reachable through the higher-level praisonai.recipe.run() recipe API. An attacker who can cause a victim process to run a workflow or recipe that includes an untrusted local recipe achieves arbitrary Python code execution as the PraisonAI process user, a variant that bypasses the hardening applied to the previously disclosed automatic tools.py RCE advisory family. This issue has been fixed in version 4.6.58 of praisonai and 1.6.58 of praisonaiagents.
A code execution vulnerability has been identified in the workflow 'include' feature of PraisonAI versions 3.9.26 prior to 4.6.57 and PraisonAI Agents versions 0.12.12 prior to 1.6.57. The issue arises because the workflow._execute_include() method automatically imports and executes an included recipe's tools.py file via a raw importlib.util.spec_from_file_location() and spec.loader.exec_module() call. This occurs without respecting the PRAISONAI_ALLOW_TEMPLATE_TOOLS or PRAISONAI_ALLOW_LOCAL_TOOLS opt-in gates, and bypasses the centralized safe loader that protects other tools.py autoload paths. Consequently, a workflow that includes an attacker-controlled local recipe directory can execute arbitrary Python code as the PraisonAI process user, before any child workflow parsing or model call. This vulnerability can be exploited through the praisonai.recipe.run() API, when a steps-based recipe includes a local child recipe.
Users can update to PraisonAI version 4.6.58 or PraisonAI Agents version 1.6.58, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Aug 5, 2026CISA-ADP
Assessed Aug 6, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-hxmv-c4g6-5fqc | CISA-ADP | AdvisoryExploitRemedyVendor |
| https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-hxmv-c4g6-5fqc | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-426 | Untrusted Search Path | [email protected] |
| CWE-829 | Inclusion of Functionality from Untrusted Control Sphere | [email protected] |
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| MervinPraison PraisonAI | >= 3.9.26, <= 4.6.56 (semver) |
CPE
Remediation
| |
| MervinPraison PraisonAI Agents | >= 0.12.12, <= 1.6.56 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 6, 2026 | CVE Modified | CISA-ADP |
| Aug 5, 2026 | New CVE Received | [email protected] |
Volerion