PraisonAI has Unrestricted Upload Size in WSGI Recipe Registry Server that Enables Memory Exhaustion DoS
CVE-2026-40115 · GHSA-2xgv-5cv2-47vv · published 2026-04-10 · updated 2026-04-24
- Severity
- Medium
- CVSS score
- 6.2
- Chance of exploitation (EPSS)
- 0.35%
- Fixed in
- 4.5.128
- Exploitation Public proof of concept
- Automatable No
- Technical impact Partial
- CISA SSVC
Memory exhaustion: A single large request can consume all available memory, crashing the server process (and potentially other processes via OOM killer). Disk exhaustion: Repeated uploads persist bundles to disk at ~/.praison/registry/ with no quota, potentially filling the filesystem. No authentication barrier: Default configuration requires no token, so any local process (including via SSRF from other services on the same host) can trigger this. Availability impact: The registry server becomes unavailable, blocking recipe publish/download operations. The default bind address of 127.0.0.1 limits exploitability to local attackers or SSRF scenarios. …
Upgrade praisonai to 4.5.128 or later. If you start it from an MCP config with npx or uvx, pin that version so an old cached copy is not used.
Add a request size limit to the WSGI application, consistent with serve.py's 10MB default:
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| praisonai | PyPI | < 4.5.128 | 4.5.128 |
1 registered MCP server installs an affected version today, by the dependency versions a fresh install resolves.
- io.github.MervinPraison/praisonaipraisonai@2.3.42
- HightsParticles: Unbounded HTTP Request Body Buffering in @tsparticles/mcp-server Leads to Remote DoS@tsparticles/mcp-server
- HighMissing request-wide media budget allows single-request frontend resource exhaustionvllm
- HighMCP TypeScript SDK: HTTP server transports and handlers did not limit request body size or JSON-RPC batch length@modelcontextprotocol/hono, @modelcontextprotocol/node, @modelcontextprotocol/sdk, @modelcontextprotocol/server
- HighvLLM : DoS via unvalidated mm_processor_kwargs in multimodal image processors (Isaac, InternVL, H2OVL, etc.)vllm
- HighMCP TypeScript SDK: One HTTP request within the default size limit could exhaust server memory during validation@modelcontextprotocol/sdk, @modelcontextprotocol/server
- HighFrame-count cap bypass in VideoMediaIO.load_base64 for video/jpeg via media_io_kwargs.video.num_framesvllm
- CriticalPraisonAI: AICoder Arbitrary File Write and Command Execution via LLM Tool Callspraisonai
- CriticalPraisonAI: Code Injection via f-string Interpolation in Deploy API Server Generationpraisonai
- CriticalPraisonAI has a Browser Server WebSocket origin validation bypass via unanchored regex (patch bypass of CVE-2026-40289 / GHSA-8x8f-54wf-vv92praisonai
- CriticalPraisonAI: Arbitrary File Read/Write via `multiedit` Tool Without Path Validationpraisonai
- CriticalPraisonAI: Unauthenticated RCE via Jobs API + Approval Bypasspraisonaiagents, praisonai
- CriticalPraisonAI: AgentOS remains unauthenticated after incomplete fix version and allows remote agent invocationpraisonai
The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.