Skip to main content

PraisonAI EUVDEUVD-2026-42900

| CVE-2026-61437 HIGH
Protection Mechanism Failure (CWE-693)
8.5
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious workflow file + sibling tools.py
  2. Delivery
    Deliver workflow to victim (repo/template/shared dir)
  3. Exploit
    Victim loads via load_yaml or WorkflowManager
  4. Execution
    String output_pydantic triggers _resolve_pydantic_class
  5. Persist
    importlib exec_module runs tools.py
  6. Impact
    Arbitrary Python executes as workflow runner

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V15 - Secure Coding and Architecture Protection mechanism completeness
Exploitation Conditions

Exploitation requires that (1) the attacker controls a PraisonAI workflow file AND its sibling tools.py in the same directory, (2) the workflow step uses a string-typed output_pydantic reference (the specific feature that triggers _resolve_pydantic_class's directory search), and (3) a victim executes that workflow via WorkflowManager or after load_yaml. Limiting factors: the vector is local (AV:L) not network, and success depends on victim interaction (UI:P) - the target must actually load and run the attacker-supplied workflow - so this is not remotely triggerable against a default service. The normally-protective PRAISONAI_ALLOW_*_TOOLS environment variables do NOT limit this path because the vulnerable loader ignores them, removing a control operators may assume is in place.

Impact

The CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P, VC:H/VI:H/VA:H, base 8.5) frames this as a high-impact but locally-scoped, interaction-dependent issue: full confidentiality, integrity and availability loss on the vulnerable system, but only after a victim executes a workflow the attacker influenced (UI:P). This is effectively a malicious-file / untrusted-input code-execution class, not a remote unauthenticated network exploit - the practical prerequisite is that the attacker controls both the workflow file and its sibling tools.py that the runner then loads. No EPSS score, KEV listing, or public POC was provided, so real-world exploitation pressure appears low-to-targeted rather than mass-scan driven; the danger concentrates in environments that ingest, share, or auto-execute third-party PraisonAI workflows. Note a tension worth verifying: PR:N implies no privileges, yet exploitation requires the attacker to place files the victim loads, so the true barrier is delivery and victim execution rather than authentication.

Exploit ScenarioDerived

An attacker publishes or shares a seemingly benign PraisonAI workflow file (e.g., in a repo, template gallery, or shared directory) that uses a string output_pydantic reference and ships a malicious sibling tools.py containing top-level code such as a reverse shell. When a victim loads and runs that workflow via WorkflowManager or load_yaml, importlib exec_module executes the tools.py and the attacker's Python runs with the runner's privileges. No public POC has been identified, and the local vector plus required user execution (UI:P) mean the attacker depends on social delivery of the workflow rather than remote triggering.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 10, 2026

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.

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.

Affected VersionsENISA

PraisonAI 0 <1.6.78

Affected Packages

pypi praisonaiagents fix: 1.6.78
euvd praisonai fix: 1.6.78

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in pypi, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

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.

Know when Praisonai gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 8.5 HIGH
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
vuln.today AI 7.8 HIGH

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.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Jul 10, 2026 - 16:16 EUVD

DescriptionCVE.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.

Executive ViewAI

Why It Matters

PraisonAI workflow automation framework (praisonaiagents) contains a vulnerability enabling arbitrary code execution through supplied workflow files, exposing organizations that deploy this tool to direct system compromise and privilege escalation. The flaw bypasses built-in security guardrails and executes with workflow runner privileges, creating immediate risk to any system or data accessed by the automation platform.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict workflow file sourcing exclusively to internal, peer-reviewed channels with audit logging; (2) Execute workflow engine under isolated service account with least-privilege access and network segmentation from production systems; (3) Implement mandatory human code review for workflow files and tools.py modules before execution; (4) Deploy file integrity monitoring with alerting on workflow directories; (5) Enforce air-gapped or network-isolated execution environment for workflow systems until patched.

Threat Intelligence Overview

EPSS Score
0.1%
Top 97% exploitable
Prevalence
Low
niche open-source multi-agent Python framework, limited production footprint
Threat Intel
1
1 sources
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

CVE-2026-61447 CRITICAL POC
10.0 Jul 11

Remote code execution in PraisonAI before 1.6.78 allows attackers to run arbitrary Python on the host by manipulating th

CVE-2026-57139 CRITICAL POC
9.8 Sep 15

PraisonAI's TypeScript MCP server (npm package `praisonai`, versions 1.5.0 through 1.7.1) exposes an HTTP JSON-RPC trans

CVE-2026-55536 CRITICAL POC
9.1 Aug 25

WebSocket origin-validation bypass in PraisonAI's Browser Server (praisonai/browser/server.py) before 4.6.58 lets an att

CVE-2026-55541 HIGH POC
8.8 Aug 25

PraisonAI's `praisonai serve` subsystem (agents and unified modes) accepts an `--api-key` CLI flag that is parsed but ne

CVE-2026-61439 HIGH POC
8.7 Jul 11

System prompt extraction and unauthorized tool invocation in PraisonAI before 4.6.78 arise because the prompt-injection

CVE-2026-55534 HIGH POC
8.6 Aug 25

Unauthenticated remote agent invocation in PraisonAI versions 4.6.34 through 4.6.57 allows any network-reachable caller

CVE-2026-55526 HIGH POC
8.5 Aug 25

SSRF protection bypass in PraisonAI's praisonaiagents library (all versions before 1.6.58) lets low-privileged users rou

CVE-2026-61429 HIGH POC
8.4 Jul 11

Server-side request forgery in PraisonAI's Crawl4AI/Chromium crawling backend (all versions before 1.6.78) lets low-priv

CVE-2026-55533 HIGH POC
8.2 Aug 25

Authentication fail-open in PraisonAI's Recipe HTTP server allows unauthenticated remote attackers to invoke recipe exec

CVE-2026-55528 HIGH POC
8.2 Aug 25

Authentication bypass in PraisonAI's AgentServer component exposes all routes - /publish, /events, /info, /health - to u

CVE-2026-55522 HIGH POC
7.8 Aug 05

Arbitrary Python code execution in PraisonAI's workflow include feature allows an attacker who controls a local recipe d

CVE-2026-55523 HIGH POC
7.7 Aug 05

Server-side request forgery in PraisonAI's web_crawl() function (versions 1.5.128-1.6.57) allows an attacker who can inf

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy