Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain ability to supply workflow YAML
-
DeliveryAuthor step with import os + os.system()
-
ExploitBypass AST sandbox validation
-
ExecutionWorkflow executed by user or scheduler
-
ImpactArbitrary OS commands run at process privileges
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the attacker to supply or modify a PraisonAI workflow file (YAML) that contains an inline-Python step processed by JobWorkflowExecutor._exec_inline_python(), and that step must then be executed - the CVSS UI:P/AV:L metrics confirm the attacker needs local influence over workflow input plus a legitimate user or scheduler running it, not remote unauthenticated access. The concrete malicious primitive is an |
| Impact | The signals point to a real but access-gated risk rather than a mass-exploitation threat. The vendor CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H) yields 7.0 (High) and, critically, is LOCAL (AV:L) with low privileges required (PR:L) and passive user interaction (UI:P) - meaning the attacker must already be able to introduce or influence a workflow file that a legitimate user or scheduler then runs. This is not a remote, unauthenticated, wormable bug. There is no EPSS score, no CISA KEV entry, and no POC referenced, so exploitation probability data is absent; the primary corroboration is the GitHub Security Advisory (GHSA-26mh-57q7-jfvr) and VulnCheck's write-up. The impact if triggered is severe (full C/I/A on the vulnerable system, VC:H/VI:H/VA:H). Net: prioritize for any deployment where workflow definitions can originate from untrusted or multi-tenant sources; deprioritize where only trusted operators author workflows on isolated hosts. Note the scope is unchanged (SC/SI/SA:N), so impact is bounded to the process's own privilege context. |
| Exploit ScenarioDerived | In a shared or automated environment, an attacker who can drop or edit a workflow YAML crafts a step containing |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 15, 2026
OS command execution in PraisonAI before 4.6.78 lets an attacker who can supply a workflow definition escape the inline-Python sandbox and run arbitrary shell commands with the privileges of the agent process. The flaw lives in JobWorkflowExecutor._exec_inline_python(), whose AST-based validation fails to reject import os followed by os.system(), turning a malicious YAML workflow file into RCE. No public exploit code or CISA KEV listing is identified at time of analysis, though the bypass technique is described in detail in the vendor advisory.
RemediationAI
Vendor-released patch: 4.6.78 - upgrade PraisonAI to 4.6.78 or later as the primary and definitive fix, per GHSA-26mh-57q7-jfvr (https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-26mh-57q7-jfvr). Until you can upgrade, treat all workflow YAML as untrusted code: restrict who can create or modify workflow files and lock down the directories and pipelines that feed JobWorkflowExecutor so only vetted operators can supply inline-Python steps (trade-off: blocks legitimate self-service workflow authoring). Where possible, disable or avoid inline-Python steps entirely, and run the PraisonAI worker under a dedicated low-privilege service account inside a container or sandbox with no outbound network and minimal filesystem access, so that a successful command-injection is contained (trade-off: added operational overhead and possible loss of functionality for workflows that legitimately shell out). Do not rely on the built-in AST sandbox as a security boundary on pre-4.6.78 versions, since bypassing it is the vulnerability.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
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-based multi-agent orchestration framework in which workflows are defined declaratively (typically YAML) and can contain inline Python 'steps' executed by JobWorkflowExecutor. To make inline steps safe, the executor parses each step into an Abstract Syntax Tree (AST) and attempts to block dangerous operations before evaluation. The root cause is CWE-78 (OS Command Injection) arising from incomplete allow/deny logic in that AST walk: the sandbox does not fully account for module imports and attribute-call chains, so a step that performs import os and then calls os.system(...) passes validation and reaches execution. This is a classic sandbox-bypass pattern where a denylist of node types or names is insufficient to contain the full expressiveness of the Python AST. The single affected package is identified by CPE cpe:2.3:a:mervinpraison:praisonai:*:*:*:*:*:*:*:* (all versions prior to the fix).
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
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Attacker must supply a local workflow file (AV:L, PR:L) that a user then runs (UI:R); sandbox escape yields full code execution, so C/I/A:H with unchanged scope.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
PraisonAI before 4.6.78 contains a remote code execution vulnerability in JobWorkflowExecutor._exec_inline_python() due to insufficient AST validation of workflow script steps. Attackers can create malicious YAML workflow files with import os statements followed by os.system() calls that bypass sandbox checks and execute arbitrary OS commands with process privileges.
Executive ViewAI
PraisonAI versions before 4.6.78 contain a remote code execution vulnerability allowing attackers who submit workflow definitions to execute arbitrary shell commands on affected systems. Organizations relying on PraisonAI for automated tasks face complete system compromise and data exfiltration risk if malicious workflows are processed.
Restrict workflow submission to authenticated, authorized personnel; segment PraisonAI systems to limit lateral movement if compromised; disable the service if not operationally critical; monitor and log all workflow submissions and execution activity for anomalies; implement application-level input validation to reject workflows containing system-level import patterns pending patch availability.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Remote code execution in PraisonAI before 1.6.78 allows attackers to run arbitrary Python on the host by manipulating th
PraisonAI's TypeScript MCP server (npm package `praisonai`, versions 1.5.0 through 1.7.1) exposes an HTTP JSON-RPC trans
Unauthenticated authentication bypass in praisonai-platform prior to 0.1.6 (and PraisonAI before 4.6.51) allows a remote
WebSocket origin-validation bypass in PraisonAI's Browser Server (praisonai/browser/server.py) before 4.6.58 lets an att
Unauthenticated agent access in PraisonAI before 1.7.3 lets remote attackers read agent instructions and system prompts
PraisonAI's `praisonai serve` subsystem (agents and unified modes) accepts an `--api-key` CLI flag that is parsed but ne
System prompt extraction and unauthorized tool invocation in PraisonAI before 4.6.78 arise because the prompt-injection
Unauthenticated remote agent invocation in PraisonAI versions 4.6.34 through 4.6.57 allows any network-reachable caller
SSRF protection bypass in PraisonAI's praisonaiagents library (all versions before 1.6.58) lets low-privileged users rou
Server-side request forgery in PraisonAI's Crawl4AI/Chromium crawling backend (all versions before 1.6.78) lets low-priv
Authentication fail-open in PraisonAI's Recipe HTTP server allows unauthenticated remote attackers to invoke recipe exec
Authentication bypass in PraisonAI's AgentServer component exposes all routes - /publish, /events, /info, /health - to u
EUVD-2026-44643
GHSA-26mh-57q7-jfvr
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB