Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-57136
Published:July 20, 2026
Updated:August 27, 2026
The published npm package "praisonai" exports "SandboxExecutor", "CommandValidator", and "sandboxExec" as "safe command execution with restrictions." When "allowedCommands" is configured, "CommandValidator" checks only the first whitespace-delimited token of the command string. "SandboxExecutor" then passes the entire original string to "spawn("sh", ["-c", command])". With a policy that allows only "echo", this direct command is correctly rejected: but this chained command is accepted and executed: The shell executes "cat" even though "cat" is not allowlisted. This bypasses the command allowlist and can execute arbitrary shell commands with the PraisonAI process privileges when an application, CLI workflow, or agent pipeline exposes sandbox command execution to lower-trust users, prompts, or model output. The PoV is deterministic and local-only. It creates and reads only a temporary marker file.
Affected Packages
https://github.com/MervinPraison/PraisonAI.git (GITHUB):
Affected version(s) >=v3.9.10 <v4.6.60
Fix Suggestion:
Update to version v4.6.60
praisonai (NPM):
Affected version(s) >=1.2.3 <1.7.2
Fix Suggestion:
Update to version 1.7.2
Do you need more information?
Contact Us
CVSS v4
Base Score:
8.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
8.8
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Incorrect Authorization
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Protection Mechanism Failure