AIOHTTP: Unbounded buffering of data received during an upgrade request
GHSA-pw86-h8fm-j323 · CVE-2026-128129 · PYSEC-2026-4397
Published · Modified
AI SAST
Find this class of vulnerability in your own code
Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.
Description
Summary
While a request flagged as an upgrade (e.g. a WebSocket handshake) was being handled, all further data received on the connection was buffered with no size limit or flow control until the handler completed.
Impact
An attacker could cause unbounded memory use by streaming data behind an upgrade request to any handler that does not immediately accept or reject the upgrade.
Patch: https://github.com/aio-libs/aiohttp/commit/3d850ee9b92573c7e913821cbcb96005beb3f4df
References
- WEB https://github.com/aio-libs/aiohttp/security/advisories/GHSA-pw86-h8fm-j323
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-128129
- WEB https://github.com/aio-libs/aiohttp/pull/13501
- WEB https://github.com/aio-libs/aiohttp/pull/13511
- WEB https://github.com/aio-libs/aiohttp/commit/3d850ee9b92573c7e913821cbcb96005beb3f4df
- WEB https://github.com/aio-libs/aiohttp/commit/c207cadb257e0959b192ffca0548eca8c71eb96a
- PACKAGE https://github.com/aio-libs/aiohttp
- WEB https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4
Ready to move
Start Securing
Free, no credit card | First findings in minutes