← Back to search

CVE-2026-57117

8.8 HIGHpublic exploit available

Published 2026-10-23 · Updated 2026-10-23

AI risk analysis

Summary
PraisonAI versions 4.6.10 to 4.6.58 contain a command injection flaw in LocalManagedAgent/SandboxedAgent where file operation paths passed to read_file, list_files, or write_file are improperly escaped before being embedded into shell commands for compute providers, allowing authenticated attackers to escape quoting and execute arbitrary shell commands on the host (local) or container (Docker).
Exploitability
Exploitation requires valid authentication and the ability to influence file-tool path arguments passed to affected functions; no user interaction is needed.
Blast radius
Successful exploitation grants full control over the compute environment—either the host system (with local compute) or the Docker container—enabling data theft, service disruption, or lateral movement.
Detection
Look for unexpected shell commands executed via subprocess or Docker exec calls that originate from file-tool operations (e.g., read_file, list_files, write_file) and contain shell metacharacters such as semicolons, pipes, backticks, or $() in logs of the compute provider or container runtime.
Prioritized remediation
Upgrade PraisonAI to version 4.6.59 or later, which patches the command injection vulnerability in LocalManagedAgent/SandboxedAgent.
command-injectionrcecontainer-breakoutauth-bypasslocal-file-inclusion

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

NVD description

PraisonAI is a multi-agent teams system. From version 4.6.10 to before version 4.6.59, LocalManagedAgent / SandboxedAgent compute bridging wraps read_file, list_files, and write_file when a compute provider is attached. The bridge converts those file operations into shell command strings using raw path arguments, then sends those strings to shell-backed compute providers. An attacker who can influence a file-tool path argument can break out of the quoted path and execute arbitrary shell commands in the compute environment. With compute="local", commands execute through the local subprocess compute provider on the host. With Docker, commands execute in the container. This issue has been patched in version 4.6.59.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Weaknesses

CWE-78, CWE-863

Public exploit & PoC references

All references

Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.

Related CVEs

Related by shared AI tags and CWE weakness class. Browse the full archive.