Summary
CVE-2026-57116 is a critical missing-authentication vulnerability (CWE-306) in the AgentOS FastAPI deployment of PraisonAI. Unauthenticated remote users can list agents and invoke them, including agents with private context, memory, API integrations, or cost-bearing model calls. The CVSS v3.1 base score is 9.8 (Critical). The record describes the flaw as a regression: an earlier fix for GHSA-pm96-6xpr-978x did not fully resolve it.
Technical details
- Root cause:
AgentOS._register_routes()registers the API routes without middleware, dependency, API key check, bearer-token check, or startup fail-closed guard.AgentOSConfighas no authentication fields and, by default, binds to0.0.0.0(all interfaces). - Affected endpoints:
GET /api/agentsexposes agent metadata (names, roles, instruction snippets).POST /api/chatruns an agent with user-supplied messages. - Trigger conditions: The service must be reachable over the network. Requests with no
Authorizationheader succeed. Requests with an invalid bearer token also succeed, because the route does not inspect the header. - Attack vector: Network. No privileges or user interaction are required, and attack complexity is low.
- Impact: Unauthorized disclosure of agent metadata and agent output. Unauthorized triggering of agent actions that use private context, memory, or connected APIs. Unauthorized consumption of cost-bearing model calls. Related weaknesses: CWE-200, CWE-862.
Affected software
- PraisonAI (MervinPraison) versions 4.2.1 up to, but not including, 4.6.59. The advisory lists 4.2.1 through 4.6.57 as vulnerable.
- Fixed in 4.6.59 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.59 or later.
- If you cannot patch immediately:
- Bind AgentOS to
127.0.0.1only. - Put the service behind an authenticating reverse proxy.
- Use firewall rules to limit access to trusted networks.
- Bind AgentOS to
- Review access logs for unexpected requests to
/api/agentsand/api/chatfrom untrusted sources.

