CVE-2026-34993

AIOHTTP Vulnerable to Deserialization of Untrusted Data

Published Jun 2, 2026 CVSS 3.1 · 6.4 Medium EPSS < 1% KEV · Not listed
Description
AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to version 3.14.0, using ``CookieJar.load()`` with untrusted input may allow arbitrary code execution. Most applications using this function will be doing so with the user's own data, so this is unlikely to affect many applications. Version 3.14.0 patches the issue. If an application does allow attacker controlled files to be loaded, a workaround on older releases would be to sanitize the files before loading.

Analysis

AI-generated

Technical impact

AIOHTTP, an asynchronous HTTP client/server framework for Python, contains a flaw in the CookieJar.load() function that may deserialize untrusted data. In versions prior to 3.14.0, this deserialization can execute arbitrary code, falling under CWE‑502. When a malicious file is loaded, the attacker can run code in the context of the application, potentially compromising confidentiality, integrity and availability of the affected service.

Affected Systems

The vulnerability affects the aio-libs aiohttp package for all releases before 3.14.0. Applications that invoke CookieJar.load() with data that could be supplied by a user, such as uploaded files or user‑controlled configuration, are at risk. In many deployments, CookieJar.load() is only used with the application's own data, which reduces exposure, but if the application accepts external inputs it becomes exploitable.

Risk and Exploitability

The CVSS score of 6.4 indicates moderate severity. EPSS data is not available, and the vulnerability is not listed in the CISA KEV catalog. The likely attack vector is that an attacker who can provide a crafted file to CookieJar.load() can trigger arbitrary code execution; if the application accepts remote uploads, the vector becomes remote. Consequently, the risk remains significant for affected deployments, especially those that process user‑supplied files.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade aiohttp to version 3.14.0 or later
  • If upgrading is not immediately possible, sanitize all files before passing them to CookieJar.load()
  • Review your codebase to ensure CookieJar.load() is only used with trusted input and restrict file uploads to trusted sources

Generated by OpenCVE AI on June 3, 2026 at 03:58 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4876-1 python-aiohttp security update
Github GHSA Github GHSA GHSA-jg22-mg44-37j8 AIOHTTP is Vulnerable to Deserialization of Untrusted Data
History
Type Values Removed Values Added
First Time appeared Redhat
Redhat openshift Ai
CPEs cpe:/a:redhat:openshift_ai:2.25::el9
Vendors & Products Redhat
Redhat openshift Ai
References
Metrics threat_severity

None

threat_severity

Important

Type Values Removed Values Added
First Time appeared Aiohttp
Aiohttp aiohttp
CPEs cpe:2.3:a:aiohttp:aiohttp:*:*:*:*:*:*:*:*
Vendors & Products Aiohttp
Aiohttp aiohttp
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Aio-libs
Aio-libs aiohttp
Vendors & Products Aio-libs
Aio-libs aiohttp
Type Values Removed Values Added
Description AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to version 3.14.0, using ``CookieJar.load()`` with untrusted input may allow arbitrary code execution. Most applications using this function will be doing so with the user's own data, so this is unlikely to affect many applications. Version 3.14.0 patches the issue. If an application does allow attacker controlled files to be loaded, a workaround on older releases would be to sanitize the files before loading.
Title AIOHTTP Vulnerable to Deserialization of Untrusted Data
Weaknesses CWE-502
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:L/I:H/A:L'}

Weaknesses
  • CWE-502

    Deserialization of Untrusted Data

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 17, 2026, 12:04 PM
Reserved
Mar 31, 2026, 7:38 PM
Status
Modified
Published
Jun 2, 2026, 8:16 PM
Modified
Sep 4, 2026, 1:19 PM
Severity
Important
Public date
Jun 2, 2026, 6:29 PM