ZeroHour

CVE-2026-57125

niche

Unauthenticated Remote Command Execution in PraisonAI Jobs API

CVSS 3.1
9.8 critical
EPSS
Published
()
Modified
AI analysis

PraisonAI, an open-source multi-agent LLM framework, contains a critical authorization flaw (CVSS 9.8) in its unauthenticated POST /api/v1/runs Jobs API endpoint. A remote attacker can submit a request containing attacker-controlled agent_yaml and set the approve field to pre-approve the execute_command tool, bypassing the @require_approval check before it evaluates critical tools. This chain causes the configured language-model agent to invoke arbitrary operating-system commands on the host with no credentials and no operator interaction, giving the attacker full compromise of confidentiality, integrity, and availability. All deployments running praisonai before 4.6.59 or praisonaiagents before 1.6.59 that expose the Jobs API to a network are affected; the issue is fixed in those two releases. No public proof-of-concept is known and the vulnerability is not in CISA's KEV catalog, so exploitation in the wild appears unlikely at this time.

What to do: Upgrade praisonai to 4.6.59 or later and praisonaiagents to 1.6.59 or later immediately. If patching is delayed, ensure the Jobs API is not reachable by untrusted callers — bind it to localhost or place it behind an authenticated reverse proxy or VPN. Review server logs for unexpected POST /api/v1/runs requests containing agent_yaml or approve fields and investigate any resulting command executions for signs of compromise.

Affected
praisonai< 4.6.59 (all versions prior to 4.6.59)
praisonaiagents< 1.6.59 (all versions prior to 1.6.59)
Estimated exposure
nichelikely only dozens to a few hundred internet-reachable deployments; total installations unknown — PraisonAI is an open-source developer framework distributed via PyPI/GitHub with no published install counts, and remote exploitation requires the Jobs API server to be network-exposed, which is atypical for locally run agent setups.

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

PraisonAI is a multi-agent teams system. Prior to praisonai 4.6.59 and praisonaiagents 1.6.59, the unauthenticated POST /api/v1/runs Jobs API accepts attacker-controlled agent_yaml, and the approve field can mark execute_command as YAML-approved before @require_approval checks critical tools. This chain allows a remote caller to cause a configured language model agent to invoke arbitrary operating-system commands without credentials or operator interaction. This vulnerability is fixed in praisonai 4.6.59 and praisonaiagents 1.6.59 as fixed versions.

Weakness
CWE-306, CWE-863
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

In the news

No ingested article mentions this CVE yet.