/

CVE-2026-57118

Severity:

CRITICAL RISK

(9.8)

Missing Access Control (CWE-306) in PraisonAI Agents

CVE-2026-57118

Awaiting Analysis

Vulnerability type

Category:

Missing Authentication and Broken Access Control

CWE:

CWE-306, CWE-862

Impact:

Unauthorized Agent Invocation and Data Exposure

Severity:

CRITICAL RISK

(9.8)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

PraisonAI agent-team endpoints can be exposed without authentication or authorization checks, allowing unauthenticated clients to enumerate agents and invoke agent conversations. When the server is remotely reachable, this may consume model resources, expose connected private context, and trigger tools or workflow side effects.

PraisonAI agent-team endpoints can be exposed without authentication or authorization checks, allowing unauthenticated clients to enumerate agents and invoke agent conversations. When the server is remotely reachable, this may consume model resources, expose connected private context, and trigger tools or workflow side effects.

Affected context

The issue occurs in PraisonAI deployments using the affected agent-team interfaces, including the AgentTeam.launch flow or its Agents alias, when those interfaces are exposed through a remotely reachable server. Risk is higher when endpoint access is not placed behind authentication and authorization controls, particularly if agents can access private data, paid model services, external tools, or state-changing workflows.

The issue occurs in PraisonAI deployments using the affected agent-team interfaces, including the AgentTeam.launch flow or its Agents alias, when those interfaces are exposed through a remotely reachable server. Risk is higher when endpoint access is not placed behind authentication and authorization controls, particularly if agents can access private data, paid model services, external tools, or state-changing workflows.

Exploit preconditions

  • Attack surface: HTTP endpoints registered for agent listing and invocation
  • Required access: Network reachability; no valid credentials may be required
  • Trigger point: Requests to the agent-listing or agent-chat routes
  • Why exploitation is possible: The routes are registered without effective authentication and authorization checks before agent enumeration or chat execution
  • Attack surface: HTTP endpoints registered for agent listing and invocation
  • Required access: Network reachability; no valid credentials may be required
  • Trigger point: Requests to the agent-listing or agent-chat routes
  • Why exploitation is possible: The routes are registered without effective authentication and authorization checks before agent enumeration or chat execution

Why this happens

The underlying defect is an access-control design failure in which sensitive agent operations are exposed before the application verifies the caller's identity and permissions. Missing authentication maps to CWE-306, while the absence of authorization enforcement for protected agent resources and actions maps to CWE-862. The insecure pattern is registering operational endpoints without applying a consistent security boundary to every route and action.

The underlying defect is an access-control design failure in which sensitive agent operations are exposed before the application verifies the caller's identity and permissions. Missing authentication maps to CWE-306, while the absence of authorization enforcement for protected agent resources and actions maps to CWE-862. The insecure pattern is registering operational endpoints without applying a consistent security boundary to every route and action.

Potential impact

  • Unauthenticated clients may enumerate configured agents
  • Attackers could invoke agent conversations and consume model resources
  • Private context connected to agents may be disclosed
  • Agent tools may be triggered without user authorization
  • External systems or workflows may be altered through agent side effects
  • Excessive requests could cause service degradation or unexpected costs
  • Unauthenticated clients may enumerate configured agents
  • Attackers could invoke agent conversations and consume model resources
  • Private context connected to agents may be disclosed
  • Agent tools may be triggered without user authorization
  • External systems or workflows may be altered through agent side effects
  • Excessive requests could cause service degradation or unexpected costs

General mitigation guidance

Mitigation generally focuses on making authentication and authorization

mandatory for every agent-management and agent-invocation endpoint.

Common defensive patterns include:

  • Require strong authentication before exposing agent routes
  • Enforce per-agent and per-action authorization on the server side
  • Apply deny-by-default policy for listing, chat, tool use, and workflow execution
  • Avoid exposing administrative or agent endpoints directly to untrusted networks
  • Use separate identities and least-privilege permissions for tools and connected data
  • Reduce input and context trust by constraining accessible data sources and capabilities
  • Add rate limits, quotas, auditing, and approval gates for costly or state-changing actions
  • Ensure security middleware covers aliases, dynamically registered routes, and alternate request paths

Mitigation generally focuses on making authentication and authorization

mandatory for every agent-management and agent-invocation endpoint.

Common defensive patterns include:

  • Require strong authentication before exposing agent routes
  • Enforce per-agent and per-action authorization on the server side
  • Apply deny-by-default policy for listing, chat, tool use, and workflow execution
  • Avoid exposing administrative or agent endpoints directly to untrusted networks
  • Use separate identities and least-privilege permissions for tools and connected data
  • Reduce input and context trust by constraining accessible data sources and capabilities
  • Add rate limits, quotas, auditing, and approval gates for costly or state-changing actions
  • Ensure security middleware covers aliases, dynamically registered routes, and alternate request paths

How teams detect issues like this

High-level detection can combine application review, automated testing, and

runtime monitoring.

  • Use static analysis to identify route registration without authentication or authorization middleware
  • Review whether every agent-listing, chat, tool, and workflow endpoint has an explicit access policy
  • Test unauthenticated and under-privileged requests against all route aliases and dynamically created paths
  • Monitor logs for anonymous agent enumeration, repeated chat requests, unusual tool invocation, and unexpected resource consumption
  • Enforce API gateway policies requiring identity, scopes, quotas, and audit logging
  • Add CI checks or automated security review tools that flag publicly reachable agent operations lacking access-control enforcement

High-level detection can combine application review, automated testing, and

runtime monitoring.

  • Use static analysis to identify route registration without authentication or authorization middleware
  • Review whether every agent-listing, chat, tool, and workflow endpoint has an explicit access policy
  • Test unauthenticated and under-privileged requests against all route aliases and dynamically created paths
  • Monitor logs for anonymous agent enumeration, repeated chat requests, unusual tool invocation, and unexpected resource consumption
  • Enforce API gateway policies requiring identity, scopes, quotas, and audit logging
  • Add CI checks or automated security review tools that flag publicly reachable agent operations lacking access-control enforcement

Sources

SourceLink
github.comgithub.com/MervinPraison/PraisonAI/commit/b4270173d4123fb1ee8910588f0896668ee21b59
github.comgithub.com/MervinPraison/PraisonAI/releases/tag/v4.6.59
github.comgithub.com/MervinPraison/PraisonAI/security/advisories/GHSA-x8cv-xmq7-p8xp

Frequently asked

questions

Yes, when the affected server is reachable over a network and its agent

endpoints are exposed without effective access controls. An attacker may not

need a valid account.

Network reachability to the relevant HTTP routes may be sufficient. The

vulnerable behavior does not reliably require authentication before agent

listing or chat execution.

Place all agent endpoints behind mandatory authentication and enforce

server-side authorization for each agent, tool, data source, and workflow

action. Use deny-by-default policies rather than relying on client controls.

Treat dynamically registered and aliased routes as security-sensitive, test

anonymous and low-privilege access in CI, and combine gateway policies with

application-level authorization, rate limits, auditing, and least privilege.

Yes, when the affected server is reachable over a network and its agent

endpoints are exposed without effective access controls. An attacker may not

need a valid account.

Network reachability to the relevant HTTP routes may be sufficient. The

vulnerable behavior does not reliably require authentication before agent

listing or chat execution.

Place all agent endpoints behind mandatory authentication and enforce

server-side authorization for each agent, tool, data source, and workflow

action. Use deny-by-default policies rather than relying on client controls.

Treat dynamically registered and aliased routes as security-sensitive, test

anonymous and low-privilege access in CI, and combine gateway policies with

application-level authorization, rate limits, auditing, and least privilege.

Find out what's already
exploitable in your codebase.