Severity by source
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Local malicious-file RCE: attacker supplies workflow files (AV:L) and a victim must execute them (UI:R), no prior auth needed (PR:N), yielding full C/I/A compromise of the runner.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
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.
Articles & Coverage 1
AnalysisAI
Arbitrary Python code execution in PraisonAI (praisonaiagents) before 1.6.78 occurs when AgentFlow._resolve_pydantic_class resolves a string output_pydantic reference in a workflow step, causing the framework to import a sibling tools.py from the workflow file's directory via importlib exec_module without any sandboxing. Because this loader ignores the PRAISONAI_ALLOW_*_TOOLS environment guardrails, an attacker who supplies a malicious workflow file plus its tools.py runs code with the workflow runner's privileges the moment the workflow is executed via WorkflowManager or loaded through load_yaml. No public exploit is identified at time of analysis, and the flaw is not listed in CISA KEV.
Technical ContextAI
PraisonAI is a Python multi-agent orchestration framework distributed as the praisonaiagents pip package, where workflows are typically defined in YAML/Python files and can reference Pydantic output schemas by string name. The vulnerable path is in src/praisonai-agents/praisonaiagents/workflows/workflows.py: when a workflow step's output_pydantic is a string, _resolve_pydantic_class searches the workflow file's directory for a sibling tools.py and loads it with importlib's exec_module, which executes all top-level code in that module. The root cause maps to CWE-693 (Protection Mechanism Failure): the framework already ships PRAISONAI_ALLOW_*_TOOLS environment controls intended to gate tool loading, but this resolution path bypasses them entirely, so the intended security boundary is not enforced. The affected CPE is cpe:2.3:a:mervinpraison:praisonai:*:*:*:*:*:*:*:* for all versions prior to 1.6.78.
RemediationAI
Vendor-released patch: upgrade praisonaiagents to 1.6.78 or later (pip install --upgrade 'praisonaiagents>=1.6.78') as the primary fix, per advisory GHSA-4gfv-wg42-7jw5. Until upgraded, treat workflow files and their directories as untrusted code: only load workflows from directories you fully control, and never run WorkflowManager or load_yaml against workflow files obtained from third parties or user uploads, since a co-located tools.py will be executed. As a compensating control, avoid using string-form output_pydantic references (pass an imported class object instead) so the sibling-tools.py resolution path is not triggered, and restrict filesystem write access to any directory from which workflows are loaded so an attacker cannot drop a malicious tools.py; note that these controls constrain legitimate dynamic-tool workflows and do not fully substitute for the patch. Do not rely on PRAISONAI_ALLOW_*_TOOLS environment variables here - this code path ignores them.
Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t
BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser
pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi
The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python
BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica
OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph
pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.
Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301
In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse
Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne
Same weakness CWE-693 – Protection Mechanism Failure
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-42900
GHSA-c6pq-cprj-62fw