CVE-2026-40149

7.9

MervinPraison · PraisonAI

PraisonAI versions prior to 4.5.128 contain an authentication bypass in the approval allowlist API, allowing unauthenticated attackers to modify tool permissions and bypass safety mechanisms.

Executive summary

An unauthenticated security bypass in PraisonAI allows attackers to modify tool approval lists, effectively disabling critical safety guardrails for multi-agent systems.

Vulnerability

The application fails to enforce authentication on the /api/approval/allow-list endpoint when the default configuration is used, allowing unauthorized modification of tool permissions. An attacker can add dangerous tools to the approval list, which forces the system to auto-approve potentially malicious agent actions.

Business impact

The exploitation of this vulnerability directly undermines the integrity of the agent workflow by stripping away human-in-the-loop safety controls. With a CVSS score of 7.9, this high-severity flaw enables an attacker to manipulate system tools to perform unauthorized file operations or system commands, potentially leading to total system compromise or data exfiltration.

Remediation

Immediate Action: Update the PraisonAI package to version 4.5.128 or later via your Python package manager to resolve the authentication flaw.

Proactive Monitoring: Review API access logs for any unauthorized requests to the /api/approval/allow-list endpoint and monitor for unexpected changes to tool approval configurations.

Compensating Controls: If immediate patching is not feasible, ensure that an auth_token is strictly configured for the PraisonAI gateway to prevent unauthenticated access to the underlying management endpoints.

Exploitation status

Public Exploit Available: Unknown

Analyst recommendation

Given the ability for unauthenticated actors to bypass critical safety mechanisms, organizations running PraisonAI must prioritize updating to version 4.5.128 immediately. Failure to patch leaves the system vulnerable to automated manipulation of agent capabilities, which could lead to severe security incidents within the automated environment.

More MervinPraison CVEs

Sources