Summary
CVE-2026-57131 is a critical missing-authentication vulnerability in PraisonAI, an open-source multi-agent orchestration framework. Prior to version 4.6.58, the framework’s asynchronous Jobs API is mounted at /api/v1/runs without any authentication or authorization checks, allowing any network-reachable client to submit and execute arbitrary agent jobs, read other users’ job results, and cancel or delete jobs system-wide. The issue carries a CVSS v3.1 base score of 9.8 (Critical).
Technical details
- Root cause:
praisonai.jobs.server.create_appmounts the router built bypraisonai.jobs.router.create_routerunder/api/v1/runswithout registering any authentication middleware, router-level dependency, or per-route/per-job ownership check. - Trigger conditions: The vulnerability is exploitable whenever the PraisonAI Jobs API service is reachable over the network — e.g., bound to a non-loopback interface, published via a container port mapping, placed behind a reverse proxy, or exposed through a tunneling service.
- Attack vector: Network (AV:N), no privileges or user interaction required. An unauthenticated attacker can issue plain HTTP requests to the exposed endpoints.
- Impact:
POST /api/v1/runs— submit attacker-controlled prompts and agent/tool configuration for execution under the operator’s service credentials, enabling code execution and abuse of any connected tools or API keys (CWE-94).GET /api/v1/runsandGET /api/v1/runs/{job_id}— enumerate and read all jobs in the shared store, exposing other users’ prompts, agent reasoning, tool inputs/outputs, and retrieved data (information disclosure).GET /api/v1/runs/{job_id}/stream— passively monitor live output of any in-flight job via server-sent events.DELETE/cancel endpoints — terminate or delete arbitrary jobs belonging to other users, resulting in denial of service.
- Related weaknesses: CWE-306 (Missing Authentication for Critical Function), CWE-862 (Missing Authorization), CWE-94 (Code Injection).
Affected software
- Product: PraisonAI (PyPI package
praisonai), maintained by MervinPraison - Affected versions: All releases prior to 4.6.58 that include the FastAPI-based Jobs API (
praisonai/jobs/server.py,praisonai/jobs/router.py) - Fixed version: 4.6.58 and later
Severity
- CVSS v3.1 Base Score: 9.8 (Critical)
- Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Mitigation and recommended actions
- Immediate: Upgrade PraisonAI to version 4.6.58 or later, which introduces authentication enforcement for the Jobs API.
- Configuration: After upgrading, explicitly enable and configure the Jobs API authentication token/environment variable so that requests to
/api/v1/runsrequire a valid credential rather than relying on default settings. - If immediate patching is not possible:
- Do not expose the PraisonAI Jobs API service on a public or otherwise untrusted network interface; keep it bound to localhost or an internal-only network segment.
- Place the service behind a reverse proxy or API gateway that enforces authentication/authorization before requests reach
/api/v1/runs. - Restrict inbound access with firewall rules or network ACLs limiting connectivity to trusted operator hosts only.
- Monitor for unexpected job submissions, unfamiliar prompts/agent configurations, or unusual job enumeration/cancellation activity as indicators of exploitation attempts.

