Unsafe Dynamic Module Loading in PraisonAI by Mervin Praison
CVE-2026-61437

8.5HIGH

Key Information:

Status
Vendor
CVE Published:
10 July 2026

What is CVE-2026-61437?

PraisonAI versions prior to 1.6.78 have a vulnerability in the dynamic module loading process within the AgentFlow.resolve_pydantic_class. This flaw occurs when workflow steps utilize a string output_pydantic reference. The affected framework improperly imports sibling tools.py from the workflow file's directory without adequate sandboxing, overlooking the PRAISONAI_ALLOW*_TOOLS environment variables. As a result, an attacker with control over a workflow file can execute arbitrary Python code with the privileges of the workflow runner when the workflow executes via WorkflowManager or after load_yaml.

Affected Version(s)

PraisonAI 0 < 1.6.78

PraisonAI 1.6.78

References

CVSS V4

Score:
8.5
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Local
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
Unknown

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Nx7n
.