Skip to content
OpenAdvisories
Medium · 6.5 CVE-2026-55531 EUVD-2026-65498GHSA-wv94-5qcp-6m36PYSEC-2026-3897

PraisonAI: Unauthenticated unbounded session accumulation in the PraisonAI MCP HTTP server (memory exhaustion; session TTL never enforced)

Published Aug 25, 2026 · Updated Aug 25, 2026 · Assigned by GitHub_M

Description

PraisonAI is a multi-agent teams system. Prior to praisonai 4.6.58, the MCP HTTP Stream mcp_post handler creates a new _sessions entry for every initialize request but does not call _cleanup_sessions or enforce a maximum. An unauthenticated caller can exhaust memory. The fix invokes cleanup and limits sessions through PRAISONAI_MCP_MAX_SESSIONS. This issue is fixed in version 4.6.58.

Affected products

VendorProductAffectedFixed
MervinPraison PraisonAI < 4.6.58 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI praisonai < 4.6.58 4.6.58 GHSA-wv94-5qcp-6m36

References