MEDIUM 6.4 PyPI

AIOHTTP is Vulnerable to Deserialization of Untrusted Data

GHSA-jg22-mg44-37j8 · CVE-2026-34993 · PYSEC-2026-2104

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

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: https://github.com/aio-libs/aiohttp/commit/dcf40f30637e8752c76781cf6703b5a236749a00

Ready to move

Start Securing

Free, no credit card | First findings in minutes