# CVE-2026-40115: PraisonAI has an Unrestricted Upload Size in WSGI Recipe Registry Server Enables Memory Exhaustion DoS

- Severity: Medium 6.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.35%, higher than 31% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-09T21:19:28.558Z
- Modified: 2026-10-26T21:10:00.170Z
- Also known as: GHSA-2xgv-5cv2-47vv, PYSEC-2026-2896
- Weaknesses: CWE-770
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

PraisonAI is a multi-agent teams system. Prior to 4.5.128, the WSGI-based recipe registry server (server.py) reads the entire HTTP request body into memory based on the client-supplied Content-Length header with no upper bound. Combined with authentication being disabled by default (no token configured), any local process can send arbitrarily large POST requests to exhaust server memory and cause a denial of service. The Starlette-based server (serve.py) has RequestSizeLimitMiddleware with a 10MB limit, but the WSGI server lacks any equivalent protection. This vulnerability is fixed in 4.5.128.

(As written by CVE List.)

## Affected

- MervinPraison PraisonAI: < 4.5.128
- praisonai (PyPI): before 4.5.128
- praison praisonai: before 4.5.128

## Every score

- GitHub_M: CVSS:3.1 6.2 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 6.2 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- PyPA Advisory Database: CVSS:3.1 6.2 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-2xgv-5cv2-47vv> (exploit, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-40115> (advisory)
- <https://github.com/MervinPraison/PraisonAI> (package)
- <https://github.com/MervinPraison/PraisonAI/releases/tag/v4.5.128> (web)
- <https://pypi.org/project/praisonai> (package)
- <https://github.com/advisories/GHSA-2xgv-5cv2-47vv> (advisory)

## Sources

- CVE List: [CVE-2026-40115](https://www.cve.org/CVERecord?id=CVE-2026-40115), CVE Terms of Use, modified 2026-04-13
- GitHub Advisory Database: [GHSA-2xgv-5cv2-47vv](https://github.com/advisories/GHSA-2xgv-5cv2-47vv), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2026-40115](https://nvd.nist.gov/vuln/detail/CVE-2026-40115), Public domain, modified 2026-10-26
- PyPA Advisory Database: [PYSEC-2026-2896](https://osv.dev/vulnerability/PYSEC-2026-2896), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-40115 · Whole record: https://cve.day/CVE-2026-40115.json · Rebuilt by cve.day 2026-11-25T22:59:18.455Z
