CVE-2026-40149: CWE-396: Declaration of Catch for Generic Exception in MervinPraison PraisonAI
PraisonAI is a multi-agent teams system. Prior to 4.5.128, the gateway's /api/approval/allow-list endpoint permits unauthenticated modification of the tool approval allowlist when no auth_token is configured (the default). By adding dangerous tool names (e.g., shell_exec, file_write) to the allowlist, an attacker can cause the ExecApprovalManager to auto-approve all future agent invocations of those tools, bypassing the human-in-the-loop safety mechanism that the approval system is specifically designed to enforce. This vulnerability is fixed in 4.5.128.
AI Analysis
Technical Summary
CVE-2026-40149 affects MervinPraison's PraisonAI multi-agent system. The vulnerability arises because the /api/approval/allow-list endpoint permits unauthenticated modification of the tool approval allowlist when no authentication token is set, which is the default configuration. Attackers can add dangerous tool names such as shell_exec or file_write to the allowlist, causing the ExecApprovalManager to auto-approve all future invocations of these tools by agents. This bypasses the human-in-the-loop approval mechanism designed to prevent unsafe tool execution. The issue is resolved in PraisonAI version 4.5.128.
Potential Impact
An attacker can bypass the safety mechanism that requires human approval for executing potentially dangerous tools by modifying the allowlist without authentication. This can lead to unauthorized execution of critical commands or file operations, impacting integrity and confidentiality. The CVSS score is 7.9 (high severity), indicating significant risk if exploited. There are no known exploits in the wild at this time.
Mitigation Recommendations
Upgrade PraisonAI to version 4.5.128 or later, where this vulnerability is fixed. Until the upgrade, ensure that an auth_token is configured to prevent unauthenticated access to the /api/approval/allow-list endpoint. Patch status is not explicitly stated beyond the fix in 4.5.128; check vendor advisories for the latest remediation guidance.
CVE-2026-40149: CWE-396: Declaration of Catch for Generic Exception in MervinPraison PraisonAI
Description
PraisonAI is a multi-agent teams system. Prior to 4.5.128, the gateway's /api/approval/allow-list endpoint permits unauthenticated modification of the tool approval allowlist when no auth_token is configured (the default). By adding dangerous tool names (e.g., shell_exec, file_write) to the allowlist, an attacker can cause the ExecApprovalManager to auto-approve all future agent invocations of those tools, bypassing the human-in-the-loop safety mechanism that the approval system is specifically designed to enforce. This vulnerability is fixed in 4.5.128.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-40149 affects MervinPraison's PraisonAI multi-agent system. The vulnerability arises because the /api/approval/allow-list endpoint permits unauthenticated modification of the tool approval allowlist when no authentication token is set, which is the default configuration. Attackers can add dangerous tool names such as shell_exec or file_write to the allowlist, causing the ExecApprovalManager to auto-approve all future invocations of these tools by agents. This bypasses the human-in-the-loop approval mechanism designed to prevent unsafe tool execution. The issue is resolved in PraisonAI version 4.5.128.
Potential Impact
An attacker can bypass the safety mechanism that requires human approval for executing potentially dangerous tools by modifying the allowlist without authentication. This can lead to unauthorized execution of critical commands or file operations, impacting integrity and confidentiality. The CVSS score is 7.9 (high severity), indicating significant risk if exploited. There are no known exploits in the wild at this time.
Mitigation Recommendations
Upgrade PraisonAI to version 4.5.128 or later, where this vulnerability is fixed. Until the upgrade, ensure that an auth_token is configured to prevent unauthenticated access to the /api/approval/allow-list endpoint. Patch status is not explicitly stated beyond the fix in 4.5.128; check vendor advisories for the latest remediation guidance.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-09T19:31:56.013Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69d843771cc7ad14da3fb5c3
Added to database: 4/10/2026, 12:25:27 AM
Last enriched: 4/10/2026, 12:36:13 AM
Last updated: 4/10/2026, 8:14:25 AM
Views: 7
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.