Skip to main content

Declaration of Catch for Generic Exception

CVE-2026-40149

Severity High
Score 7.3/10

Summary

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.

  • LOW
  • LOCAL
  • HIGH
  • CHANGED
  • NONE
  • LOW
  • LOW
  • NONE

CWE-396 - Declaration of Catch for Generic Exception

Catching overly broad exceptions promotes complex error handling code that is more likely to contain security vulnerabilities.

References

Advisory Timeline

  • Published