CVE-2026-34939

MEDIUM

PraisonAI: ReDoS via Unvalidated User-Controlled Regex in MCPToolIndex.search_tools()

Title source: cna

Description

PraisonAI is a multi-agent teams system. Prior to version 4.5.90, MCPToolIndex.search_tools() compiles a caller-supplied string directly as a Python regular expression with no validation, sanitization, or timeout. A crafted regex causes catastrophic backtracking in the re engine, blocking the Python thread for hundreds of seconds and causing a complete service outage. This issue has been patched in version 4.5.90.

Scores

CVSS v3 6.5
EPSS 0.0002
EPSS Percentile 3.4%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

CWE
CWE-1333
Status published
Products (3)
MervinPraison/PraisonAI < 4.5.90
praison/praisonai < 4.5.90
pypi/praisonai 0 - 4.5.90PyPI
Published Apr 03, 2026
Tracked Since Apr 04, 2026