Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-40149: CWE-396: Declaration of Catch for Generic Exception in MervinPraison PraisonAI

0
High
VulnerabilityCVE-2026-40149cvecve-2026-40149cwe-396
Published: Thu Apr 09 2026 (04/09/2026, 21:23:03 UTC)
Source: CVE Database V5
Vendor/Project: MervinPraison
Product: 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

AILast updated: 04/10/2026, 00:36:13 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses