PraisonAI Agents have a vulnerability in their tool approval system where approval is cached only by tool name, not by invocation arguments. This allows subsequent shell command executions to bypass user consent prompts after a single approval. The system also passes all environment variables, including sensitive API keys, to subprocesses without filtering. This combination enables an LLM agent to exfiltrate secrets silently after one approved command. The approval cache persists for the entire agent execution without clearing or expiration. A fix is available in version 4.5.128 that enforces per-invocation approval for critical tools.
PraisonAI versions up to 1.6.77 have a server-side request forgery (SSRF) vulnerability in the Crawl4AI/Chromium backend. This flaw allows attackers to bypass SSRF validation by leveraging DNS rebinding and HTTP redirects, enabling access to internal services and sensitive data such as canary values. The advisory is a duplicate and has been withdrawn in favor of GHSA-6g59-gm2v-qhvq. The vulnerability has a high severity score of 8.5 and affects versions up to 1.6.77.
The praisonaiagents package contains a vulnerability in its tool execution mechanism where unresolved tool names are resolved against module globals and __main__, allowing invocation of undeclared callables. By default, the permission system does not restrict tool calls, enabling attackers who can influence tool-call names to execute unintended application functions. This issue affects praisonaiagents versions prior to 1.6.37 and PraisonAI versions prior to 4.6.37. A fix is available in versions 1.6.37 and 4.6.37.
PraisonAI Browser Server exposes a WebSocket endpoint that accepts unauthenticated clients without an Origin header, allowing them to hijack connected browser automation sessions. An attacker can connect remotely, initiate a session, and receive action/status streams from a connected browser extension without any credentials. This vulnerability arises from the server's trust model, which assumes WebSocket clients are local and trusted, but does not enforce authentication or strict origin checks.
PraisonAI versions prior to 1.5.140 and 4.5.139 contain a critical remote code execution vulnerability via untrusted YAML workflow files of type 'job'. The vulnerability allows execution of arbitrary shell commands and Python code through the workflow run command, enabling full system compromise if exploited. A crafted YAML file can execute commands on the host system without any user interaction or privileges.
PraisonAIAgents contains a critical OS command injection vulnerability (CVE-2026-40111) in its memory hooks executor. The vulnerability arises because user-controlled command strings are passed directly to subprocess.run() with shell=True without any sanitization or filtering. This allows shell metacharacters to be interpreted, enabling arbitrary command execution. Two attack surfaces exist: hooks registered via configuration events and the lifecycle hooks.json file, which can be overwritten by an attacker with file-write access to execute commands silently during agent operation. A fix is available in version 1.5.128.
The praisonaiagents package version 1.5.113 and earlier contains a critical sandbox escape vulnerability in the execute_code() function when run in subprocess sandbox mode. The subprocess sandbox uses an insufficient attribute blocklist that omits key frame-traversal attributes, allowing user-supplied code to access the real Python builtins via exception traceback traversal. This enables arbitrary code execution on the host, including file read/write, environment access, and process termination. No patch was available at the time of the report, but a fix exists in version 1.5.115.
The praisonaiagents package's execute_code() function runs attacker-controlled Python code inside a sandbox that can be fully bypassed by passing a str subclass with an overridden startswith() method. This allows arbitrary OS command execution on the host process user. The vulnerability affects versions prior to 1.5.90 and has a CVSS score of 10. Deployments with auto-approval enabled can be triggered silently via indirect prompt injection.