AIOHTTP: Pure-Python parser request replay and buffer growth behind a declined upgrade
GHSA-28qf-cpwq-vmc2 · CVE-2026-128130
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
When the pipelined request queue was full, the pure-Python parser stored the unparsed remainder internally and also returned it to the caller. After a handler declined an upgrade request, the buffered data was re-fed, so the buffer grew with each handled request and already-handled requests were dispatched to the application again.
Impact
If users are using the Python parser (AIOHTTP_NO_EXTENSIONS, or not a standard wheel installed), an attacker could cause excessive memory use and cause pipelined requests to be processed more than once.
Workaround
Switch to the default C parser.
Patch: https://github.com/aio-libs/aiohttp/commit/47babd8c23ca79e2bae6cc8dcb5752b61e369fc7
References
- WEB https://github.com/aio-libs/aiohttp/security/advisories/GHSA-28qf-cpwq-vmc2
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-128130
- WEB https://github.com/aio-libs/aiohttp/pull/13356
- WEB https://github.com/aio-libs/aiohttp/pull/13360
- WEB https://github.com/aio-libs/aiohttp/commit/47babd8c23ca79e2bae6cc8dcb5752b61e369fc7
- WEB https://github.com/aio-libs/aiohttp/commit/72eaa429cf89b1e20212590f3e704444239569fb
- 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