Description
PraisonAI before 4.5.128 contains an arbitrary shell command execution vulnerability where the UI modules hardcode approval_mode to auto, overriding administrator configuration from PRAISON_APPROVAL_MODE environment variable. Authenticated attackers can instruct the LLM agent to execute arbitrary shell commands via subprocess.run with shell=True, bypassing the manual approval gate and insufficient command sanitization blocklists.
Published: 2026-06-18
Score: 8.7 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

PraisonAI versions earlier than 4.5.128 contain a flaw that allows authenticated users to force the system to set its approval_mode to auto, overriding any administrator configuration. The LLM agent can then execute shell commands with subprocess.run(shell=True) without passing through the manual approval gate or the command sanitization filter. This flaw gives attackers the ability to execute arbitrary commands on the host, potentially leading to full system compromise. The weakness is classified as CWE‑863, reflecting a missing or incorrect feature enforcement.

Affected Systems

The vulnerability affects the PraisonAI application, as identified by the vendor PraisonAI. All releases before 4.5.128 are affected; newer releases have the hardcoded override removed. System administrators need to check the version of PraisonAI deployed and verify whether they are running a patched build.

Risk and Exploitability

The CVSS score of 8.7 marks this issue as high severity. EPSS data is not available, but the lack of a public exploit does not diminish the risk for organizations that rely on this software. Because the flaw depends on possessing authenticated access to the web interface and the ability to instruct the LLM agent, attackers likely must be users with privileged roles or otherwise authorized to submit queries. Once the condition is met, the attacker can achieve remote code execution by running arbitrary shell commands, which directly impacts confidentiality, integrity, and availability of the underlying host. The vulnerability is not listed in the CISA KEV catalog yet.

Generated by OpenCVE AI on June 19, 2026 at 00:21 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade PraisonAI to version 4.5.128 or later, as this release removes the hardcoded approval_mode override and includes proper command sanitization.
  • Limit authentication to only trusted staff by enforcing least‑privilege policies and ensuring that only authorized users can submit queries to the LLM agent.
  • Monitor application logs for calls to subprocess.run and any unusually large or frequent command execution events, and investigate promptly.

Generated by OpenCVE AI on June 19, 2026 at 00:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 18 Jun 2026 23:00:00 +0000

Type Values Removed Values Added
Description PraisonAI before 4.5.128 contains an arbitrary shell command execution vulnerability where the UI modules hardcode approval_mode to auto, overriding administrator configuration from PRAISON_APPROVAL_MODE environment variable. Authenticated attackers can instruct the LLM agent to execute arbitrary shell commands via subprocess.run with shell=True, bypassing the manual approval gate and insufficient command sanitization blocklists.
Title PraisonAI - Arbitrary Shell Command Execution via Hardcoded Approval Mode Override
First Time appeared Praison
Praison praisonai
Weaknesses CWE-863
CPEs cpe:2.3:a:praison:praisonai:*:*:*:*:*:*:*:*
Vendors & Products Praison
Praison praisonai
References
Metrics cvssV3_1

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

cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/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-06-18T22:12:23.417Z

Reserved: 2026-06-18T15:57:20.434Z

Link: CVE-2026-56075

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-19T00:30:17Z

Weaknesses