CVE-2026-61437 PUBLISHED

PraisonAI before 1.6.78 Remote Code Execution via tools.py

Assigner: VulnCheck
Reserved: 09.07.2026 Published: 10.07.2026 Updated: 10.07.2026

PraisonAI (pip package praisonaiagents) before 1.6.78 contains an unsafe dynamic module loading vulnerability in AgentFlow.resolve_pydantic_class (src/praisonai-agents/praisonaiagents/workflows/workflows.py). When a workflow step uses a string output_pydantic reference, the framework locates and imports a sibling tools.py from the workflow file's directory via importlib exec_module without sandboxing, ignoring the PRAISONAI_ALLOW*_TOOLS environment variables. An attacker who controls a workflow file and its sibling tools.py can execute arbitrary Python code with the workflow runner's privileges when the workflow is executed via WorkflowManager or after load_yaml.

Metrics

CVSS Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CVSS Score: 8.5

Product Status

Vendor MervinPraison
Product PraisonAI
Versions Default: unaffected
  • affected from 0 to 1.6.78 (excl.)
  • Version 1.6.78 is unaffected

Credits

  • Nx7n reporter

References

Problem Types

  • Protection Mechanism Failure CWE