Summary
CVE-2026-57140 is a critical missing-authentication vulnerability (CWE-306) in the AgentOS HTTP server shipped as part of the npm praisonai package, a multi-agent teams framework maintained by MervinPraison. Versions 1.6.0 up to and including 1.7.1 register the GET /api/agents and POST /api/chat endpoints without any authentication or authorization middleware, and the server defaults to binding on 0.0.0.0, making it reachable over the network. A remote, unauthenticated attacker can enumerate configured agents and invoke them directly, potentially reaching the agents’ underlying tools, memory, external API integrations, credentials, and workflow state. The issue carries a CVSS v3.1 base score of 9.4 (Critical).
Technical details
- Root cause: The
AgentOSimplementation (src/praisonai-ts/src/os/agentos.ts) inherits a default host binding of0.0.0.0fromsrc/praisonai-ts/src/os/config.ts, and registers theGET /api/agentsandPOST /api/chatroutes without any authentication middleware placed in front of them. - Trigger conditions: Simply running an AgentOS instance on an affected version with default configuration exposes it to any network client that can reach the listening port — no credentials or prior access are required.
- Attack vector: Network (AV:N), no privileges required (PR:N), no user interaction (UI:N), low attack complexity (AC:L).
- Impact: An attacker can call
GET /api/agentsto obtain agent names, roles, and instruction prefixes, then usePOST /api/chatto invoke a chosen agent. This can expose sensitive instruction/configuration data and allow the attacker to drive the agent’s connected tools, memory, external APIs, credentials, and workflow state — resulting in high confidentiality impact, high integrity impact, and low availability impact.
Affected software
- Vendor: MervinPraison
- Product: PraisonAI (npm
praisonaipackage, TypeScriptAgentOScomponent) - Affected versions: >= 1.6.0 and <= 1.7.1
- Fixed version: 1.7.2 and later
Severity
- CVSS v3.1 Base Score: 9.4 (Critical)
- Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L
Mitigation and recommended actions
- Immediate: Upgrade the
praisonainpm package to version 1.7.2 or later, which introduces an initial remediation for this issue. - If immediate patching is not possible:
- Do not expose AgentOS instances directly to untrusted networks; bind the service to a loopback interface (
127.0.0.1) rather than0.0.0.0where configuration allows. - Place the service behind a reverse proxy or gateway that enforces authentication/authorization before requests reach
/api/agentsand/api/chat. - Restrict network access to AgentOS ports using firewall rules or network segmentation, limiting reachability to trusted internal clients only.
- Monitor for unexpected calls to
/api/agentsand/api/chatfrom unfamiliar sources as an indicator of exploitation attempts.
- Do not expose AgentOS instances directly to untrusted networks; bind the service to a loopback interface (

