Advisory record · GHSA-8w9j-hc3g-3g7f

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

CVSS 6.5 MediumEPSS 0.0042 · 36th percentile

Published by the GitHub Advisory Database at 1 Apr 2026, 23:21 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
praisonaiPyPI<4.5.904.5.90
Identifiers
GHSA-8w9j-hc3g-3g7f · CVE-2026-34939 · PYSEC-2026-2907
Weakness (CWE)
CWE-1333
Published
1 Apr 2026
Updated
13 Jul 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

PraisonAI versions before 4.5.90 are vulnerable to regular expression denial of service in MCPToolIndex.search_tools(), which compiles caller-supplied strings as regular expressions without validation or timeout. A crafted pattern can cause catastrophic backtracking that blocks the thread for hundreds of seconds, and the source says the MCP server HTTP transport runs without an API key by default, so a network attacker could cause a complete outage by repeating such requests. Upgrade to PraisonAI 4.5.90 or later.

Written 6 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
6.5 Medium 3.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0042, the 36th percentile, on 15 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 15:01 UTC First seen by agentprime
  2. 31 Oct 2026, 15:01 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.