Description
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.
Published: 2026-07-15
Score: 7 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

PraisonAI before version 4.6.78 allows attackers to craft malicious YAML workflow files that include “import os” followed by “os.system()” calls. The JobWorkflowExecutor._exec_inline_python() method does not fully validate the abstract syntax tree, enabling bypass of the sandbox and execution of arbitrary OS commands with the privileges of the executing process. This flaw is a classic command injection condition (CWE-78) that can compromise confidentiality, integrity, and availability of the host system.

Affected Systems

Affected are installations of PraisonAI from the vendor MervinPraison running any version older than 4.6.78. The vulnerability is tied to the JobWorkflowExecutor component and can be triggered by any user able to upload or otherwise submit workflow YAML files to the system.

Risk and Exploitability

The CVSS score of 7 indicates a high severity, and the EPSS score of < 1% suggests that exploitation is unlikely but not impossible. The issue is currently not listed in the CISA KEV catalog. The likely attack vector involves remote deployment or submission of a crafted workflow file; once processed, the untrusted script runs with the system’s process privileges, enabling full remote code execution. No additional prerequisites beyond the ability to provide a workflow file are specified, making the vulnerability exploitable by anyone with write access to that deployment mechanism.

Generated by OpenCVE AI on July 31, 2026 at 03:57 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade PraisonAI to version 4.6.78 or later to obtain the vendor‑patched code.
  • If an immediate upgrade is not possible, restrict the JobWorkflowExecutor from processing untrusted YAML scripts by disabling execution of import statements or by sanitizing the script before evaluation.
  • Run the workflow executor in an isolated container or sandbox that limits system call capabilities, ensuring that even if a malicious script executes, it cannot affect the host system.

Generated by OpenCVE AI on July 31, 2026 at 03:57 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 15 Jul 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 15 Jul 2026 12:00:00 +0000

Type Values Removed Values Added
Description 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.
Title PraisonAI before 4.6.78 Remote Code Execution via Broken AST Sandbox
First Time appeared Praison
Praison praisonai
Weaknesses CWE-78
CPEs cpe:2.3:a:praison:praisonai:*:*:*:*:*:*:*:*
Vendors & Products Praison
Praison praisonai
References
Metrics cvssV3_1

{'score': 7.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 7, 'vector': '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'}


Subscriptions

Praison Praisonai
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-07-15T13:53:15.502Z

Reserved: 2026-07-09T14:05:47.928Z

Link: CVE-2026-61438

cve-icon Vulnrichment

Updated: 2026-07-15T13:53:01.860Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-31T04:00:15Z

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')