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.60Fix Suggestion:
Update to version v4.6.60praisonai (NPM):
Affected version(s) >=1.2.3 <1.7.2Fix Suggestion:
Update to version 1.7.2Related Resources (2)
Do you need more information?
Contact UsCVSS 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