AIOHTTP is Vulnerable to Deserialization of Untrusted Data
Description
Published by the National Vulnerability Database
Jun 2, 2026
Published to the GitHub Advisory Database
Jun 3, 2026
Reviewed
Jun 3, 2026
Last updated
Jun 3, 2026
Summary
Using
CookieJar.load()with untrusted input may allow arbitrary code execution.Impact
Most applications using this function will be doing so with the user's own data, so this is unlikely to affect many applications.
Workaround
If an application does allow attacker controlled files to be loaded, a workaround on older releases would be to sanitise the files before loading.
Patch: aio-libs/aiohttp@dcf40f3
References