CVE-2026-55522
Received Received - Intake

Code Execution in PraisonAI Workflow Include Feature

Vulnerability report for CVE-2026-55522, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-05

Last updated on: 2026-08-05

Assigner: GitHub, Inc.

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-05
Last Modified
2026-08-05
Generated
2026-08-06
AI Q&A
2026-08-05
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 4 associated CPEs
Vendor Product Version / Range
praisonai praiseonai From 3.9.26 (inc) to 4.6.57 (inc)
praisonai praiseonaiagents From 0.12.12 (inc) to 1.6.57 (inc)
praisonai praisonai From 3.9.26 (inc) to 4.6.58 (exc)
praisonai praisonaiagents From 0.12.12 (inc) to 1.6.58 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-829 The product imports, requires, or includes executable functionality (such as a library) from a source that is outside of the intended control sphere.
CWE-94 The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.
CWE-426 The product searches for critical resources using an externally-supplied search path that can point to resources that are not under the product's direct control.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in PraisonAI versions 3.9.26 through 4.6.57 and PraisonAIAgents versions 0.12.12 through 1.6.57 allows arbitrary code execution via the workflow 'include' feature. The system improperly imports and runs tools.py from included recipes without proper security checks, bypassing safeguards like PRAISONAI_ALLOW_TEMPLATE_TOOLS.

Detection Guidance

Check for PraisonAI versions between 3.9.26-4.6.57 or 0.12.12-1.6.57. Inspect workflow files for 'include' statements pointing to untrusted local directories. Review Python module imports in tools.py files within included recipes.

Impact Analysis

An attacker could exploit this to execute malicious Python code on your system if you run a workflow or recipe that includes an untrusted local directory. This could lead to full control of the PraisonAI process, data theft, or further system compromise.

Compliance Impact

This vulnerability could lead to unauthorized code execution, potentially violating data protection requirements under GDPR or HIPAA by enabling access to or exfiltration of sensitive personal or health data. Compliance may be compromised if the system processes regulated data.

Mitigation Strategies

Upgrade PraisonAI to version 4.6.58 or later and praisonaiagents to 1.6.58 or later. Disable workflow 'include' features if not required. Restrict file system permissions to prevent untrusted recipe execution. Monitor for unauthorized Python code execution attempts.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-55522. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart