aiohttp: Payload Response Resources Are Not Closed After Mid-Body Disconnect
Description
Published to the GitHub Advisory Database
Jun 15, 2026
Reviewed
Jun 15, 2026
Last updated
Jun 15, 2026
Summary
Payload resources are not closed correctly when a client disconnects in the middle of a write.
Impact
If a payload is using an open file or similar limited resource, then an attacker may be able to cause resource starvation temporarily until garbage collection or similar closes the file.
Patch: aio-libs/aiohttp@a762eda
References