CVE-2026-57136: PraisonAI SandboxExecutor allowedCommands bypass via shell chaining

Published Sep 15, 2026
·
Updated

PraisonAI is a multi-agent teams system. From 1.2.3 until 1.7.2, CommandValidator in src/praisonai-ts/src/cli/features/sandbox-executor.ts validates only the first whitespace-delimited executable against allowedCommands, then SandboxExecutor passes the complete command string to sh -c. A command beginning with an allowed executable can append a non-allowlisted command through shell metacharacters, causing arbitrary commands to run with the PraisonAI process privileges. This issue is fixed in version 1.7.2.

Affected Software

1 affected component
PraisonAI>=1.2.3<1.7.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade PraisonAI CommandValidator/SandboxExecutor to a version that resolves this vulnerability.

    Fixed in 1.7.2

Event History

Sep 15, 2026
CVE Published
via MITRE·10:21 AM
Data Sourced
via MITRE·10:21 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are affected?

PraisonAI versions from 1.2.3 through 1.7.2 are identified as affected. The issue is fixed in version 1.7.2.

2

What does an attacker need to exploit this issue?

An attacker needs privileges sufficient to cause SandboxExecutor to run a command. They can begin the command with an executable permitted by allowedCommands and append another command using shell metacharacters.

3

What is the impact of successful exploitation?

The appended command can run with the privileges of the PraisonAI process. This can result in arbitrary command execution and high impacts to confidentiality, integrity, and availability.

4

How can I determine whether I am exposed?

Check whether your PraisonAI version falls between 1.2.3 and 1.7.2 and whether SandboxExecutor is used to execute commands subject to allowedCommands validation. Exposure exists when untrusted or insufficiently trusted users can influence those command strings.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203