/

CVE-2026-57132

Severity:

HIGH RISK

(8.2)

Authentication Bypass (CWE-287) in PraisonAI Agents

CVE-2026-57132

Deferred

Vulnerability type

Category:

Authentication Bypass

CWE:

CWE-287

Impact:

Unauthenticated Agent Invocation and Unauthorized Access

Severity:

HIGH RISK

(8.2)

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 versions before 4.6.62 can bypass token authentication for agent invocation when the advertised PRAISONAI_CALL_AUTH=disabled setting is used. In deployments where agents expose connected tools or private context, unauthenticated users may invoke registered agents and access or affect protected resources.

Affected context

The vulnerability occurs in PraisonAI deployments that expose the /api/v1/agents/{id}/invoke endpoint and configure call authentication as disabled. Under this condition, the token verification logic accepts invocation requests without requiring CALL_SERVER_TOKEN authentication, potentially placing registered agents, connected tools, and private contextual data within reach of unauthenticated network clients.

Exploit preconditions

  • Attack surface: The HTTP API endpoint used to invoke registered agents
  • Required access: Network access to the exposed PraisonAI API; valid credentials may not be required when call authentication is disabled
  • Trigger point: A request to /api/v1/agents/{id}/invoke
  • Why exploitation is possible: The authentication verification path treats the configured opt-out as sufficient to accept requests, even when the endpoint is reachable by untrusted clients

Why this happens

The underlying issue is an authentication decision that permits sensitive API operations without an effective identity check when a configuration flag disables call authentication. This maps to CWE-287: Improper Authentication, because the application does not reliably verify that a requester is authorized to invoke an agent. The insecure pattern is allowing a broad configuration-based bypass for a privileged operation without compensating access controls or deployment-scope restrictions.

Potential impact

  • Unauthenticated users may invoke registered agents
  • Attackers could access information held in agent private context
  • Connected tools may be triggered without the intended authorization
  • Agent workflows could be manipulated or abused
  • Downstream systems and data may be exposed or altered
  • Service resources could be consumed through unauthorized requests

General mitigation guidance

Mitigation generally focuses on preserving authentication for sensitive agent operations and reducing the trust placed in configuration-based opt-out settings.

Common defensive patterns include:

  • Require strong authentication and authorization for agent invocation endpoints
  • Avoid disabling call authentication on interfaces reachable by untrusted networks
  • Apply network-level access controls, gateway authentication, or mutually authenticated service communication where appropriate
  • Enforce per-agent authorization and least-privilege access to connected tools and private context
  • Use secure-by-default configuration profiles that do not expose privileged operations anonymously
  • Treat authentication-related configuration changes as security-sensitive and subject them to review and policy enforcement

How teams detect issues like this

Organizations can look for this issue through:

  • Configuration scans identifying deployments with call authentication disabled
  • API inventories that expose agent invocation endpoints outside trusted network boundaries
  • Static analysis and code review checks for authentication branches that accept requests solely because a feature flag disables verification
  • Integration tests confirming that unauthenticated requests to sensitive agent operations are rejected under every supported configuration
  • Gateway and application logs showing agent invocation without an authenticated principal
  • Policy enforcement preventing anonymous access to agent APIs and connected tools

Automated security review tools may help identify authentication bypass patterns and risky configuration combinations.

Sources

SourceLink
github.comgithub.com/MervinPraison/PraisonAI/commit/2a855c470077c7d2e2479a575f7ef7f548d51c33
github.comgithub.com/MervinPraison/PraisonAI/releases/tag/v4.6.62
github.comgithub.com/MervinPraison/PraisonAI/security/advisories/GHSA-8ccj-p46r-jwqq

Frequently asked

questions

It can be remotely exploitable when the PraisonAI API is reachable by an attacker and call authentication is disabled. Exposure depends on network routing, gateway controls, and other deployment restrictions.

Not necessarily. When the affected configuration is active, the invocation endpoint may accept requests without the expected CALL_SERVER_TOKEN authentication.

Keep authentication enabled for agent invocation and place the API behind appropriate network and gateway controls. Authorization should also limit which agents and tools each identity can use.

Test security-sensitive configuration modes, reject anonymous access to privileged endpoints, review authentication bypass branches, and enforce policies that prevent public exposure of agent invocation APIs.

Find out what's already
exploitable in your codebase.