Declaration of Catch for Generic Exception Affecting praisonai package, versions [,4.5.128)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.01% (3rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Declaration of Catch for Generic Exception vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-PRAISONAI-16008613
  • published13 Apr 2026
  • disclosed10 Apr 2026
  • creditoffset

Introduced: 10 Apr 2026

NewCVE-2026-40149  (opens in a new tab)
CWE-306  (opens in a new tab)
CWE-396  (opens in a new tab)

How to fix?

Upgrade PraisonAI to version 4.5.128 or higher.

Overview

PraisonAI is a PraisonAI is an AI Agents Framework with Self Reflection. PraisonAI application combines PraisonAI Agents, AutoGen, and CrewAI into a low-code solution for building and managing multi-agent LLM systems, focusing on simplicity, customisation, and efficient human-agent collaboration.

Affected versions of this package are vulnerable to Declaration of Catch for Generic Exception through the /api/approval/allow-list endpoint when no authentication token is configured. An attacker can gain unauthorized access to modify the allowlist and enable auto-approval of dangerous tools by sending crafted POST requests.

Note: This is only exploitable if the authentication token is not set in the configuration.

CVSS Base Scores

version 4.0
version 3.1