Skip to main content

aiohttp CVE-2026-34993

| EUVDEUVD-2026-34001 HIGH
Deserialization of Untrusted Data (CWE-502)
2026-06-02 GitHub_M GHSA-jg22-mg44-37j8
7.3
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain write access to cookie file path
  2. Delivery
    Plant crafted serialized cookie file
  3. Exploit
    Application calls CookieJar.load()
  4. Execution
    Malicious object deserialized (CWE-502)
  5. Impact
    Arbitrary code executes in app process

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V1 - Encoding and Sanitization Safe deserialization, type allowlists
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the application calls aiohttp's CookieJar.load() on a file whose contents the attacker controls - for example a cookie-persistence file stored in an attacker-writable location or otherwise sourced from untrusted input. This is a non-default usage pattern: the documented and common case is loading the user's own trusted data, which is not exploitable. Limiting factors are significant - the attack is local (AV:L), needs the victim application to actively load the file (UI:R), and depends on a deployment that feeds attacker-controlled files into load() rather than only first-party data, so default and typical usages are not affected.

Impact

Signals converge on this being a real but low-priority issue. The CVSS 3.1 base score is 7.3 (High) but the vector is local (AV:L), low complexity, requires some privileges (PR:L) and user interaction (UI:R) - meaning the application must be made to load a malicious file. EPSS is 0.06% (18th percentile), and CISA SSVC reports Exploitation: none, Automatable: no, Technical Impact: partial, all pointing to low real-world urgency. There is no KEV listing and no POC. The vendor itself notes most callers use CookieJar.load() on the user's own data, so exploitation is gated on an unusual deployment where attacker-controlled files reach load(). Net: patch in the normal maintenance cycle; this is not an emergency despite the High CVSS.

Exploit ScenarioDerived

An application persists cookies with CookieJar.save() to a path that an attacker can overwrite (e.g. a shared/temp directory or a synced location), then the attacker plants a crafted serialized file. When the application later calls CookieJar.load() on that path, the malicious payload deserializes and runs arbitrary code in the application's process. No public POC is currently available, and the local attack vector plus required load action make this opportunistic rather than scalable.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv5 – Jun 30, 2026

Arbitrary code execution in the aiohttp Python framework (versions prior to 3.14.0) arises when CookieJar.load() deserializes an attacker-controlled file, classed as CWE-502 unsafe deserialization. An attacker who can plant or substitute the persisted cookie file and induce the application to load it gains code execution in the host process. There is no public exploit identified at time of analysis, EPSS is very low (0.06%), and CISA SSVC rates exploitation as none - consistent with the library's own note that the function is normally used on the user's own trusted data.

Earlier versions of this analysis (4)
v4 Jun 30, 2026 - 04:13 cvss changed CVSS 7.3

Arbitrary code execution in aiohttp before 3.14.0 occurs when an application passes attacker-controlled input to CookieJar.load(), which deserializes data unsafely (CWE-502). Because most applications call this method only on the user's own previously-saved cookie data, real-world exposure is limited to deployments that load externally-supplied or attacker-influenced cookie files. There is no public exploit identified at time of analysis, EPSS risk is very low (0.06%), and the issue is not in CISA KEV; version 3.14.0 fixes it.

v3 Jun 30, 2026 - 04:13 cvss changed CVSS 7.3

Insecure deserialization in the aio-libs aiohttp framework (all versions prior to 3.14.0) lets an attacker achieve arbitrary code execution when an application calls CookieJar.load() on an attacker-controlled file. Because most deployments call this method on the user's own data, real-world exposure is narrow, and there is no public exploit identified at time of analysis with an EPSS score of just 0.06%. SSVC rates exploitation as none and technical impact as partial, indicating this is a latent risk dependent on unusual application design rather than an actively-targeted flaw.

v2 Jun 30, 2026 - 04:12 cvss changed CVSS 7.3

Arbitrary code execution in aiohttp (aio-libs) prior to 3.14.0 occurs when an application calls CookieJar.load() on an untrusted, attacker-controlled file, a CWE-502 deserialization flaw. Affected is the asyncio HTTP client/server framework's cookie persistence feature; an attacker who can supply the loaded cookie file can run arbitrary Python code in the process. There is no public exploit identified at time of analysis and exploitation is constrained because most applications load only the user's own data; EPSS is very low at 0.06%.

v1 Jun 02, 2026 - 20:30 CVSS 6.4

Arbitrary code execution in aiohttp's CookieJar.load() prior to version 3.14.0 stems from use of Python's unsafe pickle.load() to deserialize cookie files, allowing a malicious pickle payload to execute arbitrary Python code at load time. Affected are all aiohttp releases below 3.14.0 where an application passes attacker-controlled file input to CookieJar.load(). The CVSS vector (AV:L/AC:H/PR:H/UI:R) and the upstream advisory both note that exploitation requires an unusual application design where attacker-supplied files reach this API; no public exploit identified at time of analysis.

RemediationAI

Vendor-released patch: aiohttp 3.14.0 - upgrade to 3.14.0 or later, which contains the fix (commit dcf40f30637e8752c76781cf6703b5a236749a00). On Red Hat systems, apply the packages in RHSA-2026:24977. If immediate upgrade is not possible, the upstream-recommended workaround is to never call CookieJar.load() on files that could be attacker-controlled and to sanitize/validate cookie files before loading them; alternatively restrict filesystem permissions on the persisted cookie file so only the trusted application user can write it, accepting that this only helps where local file tampering is the threat. Refer to the advisory at https://github.com/aio-libs/aiohttp/security/advisories/GHSA-jg22-mg44-37j8.

Affected VersionsENISA

aiohttp < 3.14.0

Affected Packages

pypi aiohttp fix: 3.14.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

aiohttp is a widely used asynchronous HTTP client/server framework for Python's asyncio. The flaw is in the client-side CookieJar persistence API: CookieJar.save() and CookieJar.load() serialize/deserialize the cookie store, and load() reconstructs Python objects from the file in a way that can execute embedded payloads (the classic pickle/deserialization pattern, mapped here to CWE-502). The single affected CPE is cpe:2.3:a:aio-libs:aiohttp:*, i.e. the upstream aio-libs aiohttp package; the root cause is trusting the structure and types of an externally supplied serialized blob rather than validating it against a safe schema.

Know when Aiohttp gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 7.3 HIGH
AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
vuln.today AI 7.8 HIGH

Exploitation needs the app to load an attacker-supplied local file (AV:L, UI:R) under existing app privileges (PR:L); successful deserialization yields full code execution, so C/I/A:H.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE 6.4 MEDIUM
AV:L/AC:H/PR:H/UI:R/S:C/C:L/I:H/A:L
Red Hat 7.2 HIGH

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

7
Analysis Updated
Jun 30, 2026 - 04:14 vuln.today
v5 - CVSS changed
Analysis Updated
Jun 30, 2026 - 04:13 vuln.today
v4 - CVSS changed
Analysis Updated
Jun 30, 2026 - 04:13 vuln.today
v3 - CVSS changed
Analysis Updated
Jun 30, 2026 - 04:12 vuln.today
v2 - CVSS changed
Severity Changed
Jun 30, 2026 - 03:24 NVD
MEDIUM HIGH
CVSS changed
Jun 30, 2026 - 03:24 NVD
6.4 (MEDIUM) 7.3 (HIGH)
Patch available
Jun 02, 2026 - 21:02 EUVD

DescriptionNVD

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.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 15 pypi packages depend on aiohttp (12 direct, 3 indirect)

Ecosystem-wide dependent count for version 3.14.0.

Executive ViewAI

Why It Matters

aiohttp Python framework versions prior to 3.14.0 contain an unsafe deserialization vulnerability enabling arbitrary code execution if an application loads a malicious cookie file. Exploitation requires an attacker to substitute or plant a crafted cookie file on the system-a constraint that significantly limits real-world attack likelihood. A vendor patch is available and should be prioritized within standard update cycles.

Business Impact: Medium
Compensating Controls

Apply vendor patch: upgrade to aiohttp 3.14.0 or later. Interim: restrict filesystem write access to cookie storage directories; enable monitoring and alerting for unauthorized file creation or modification in those paths.

Threat Intelligence Overview

EPSS Score
0.1%
Top 82% exploitable
Prevalence
High
extremely popular Python async HTTP framework, millions of PyPI downloads
Threat Intel
1
1 source
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
Medium
Technical Impact
Partial

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

CVE-2023-47627 HIGH POC
7.5 Nov 14

aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. Rated high severity (CVSS 7.5), this vul

CVE-2023-37276 HIGH POC
7.5 Jul 19

aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. Rated high severity (CVSS 7.5), this vul

CVE-2026-69244 HIGH POC
7.1 Aug 03

Out-of-bounds heap read in aiohttp's C HTTP response parser (versions ≤ 3.14.2) allows an attacker-controlled server to

CVE-2026-59881 MEDIUM POC
6.9 Jul 30

Uncontrolled decompression in aiohttp's WebSocket client prior to version 3.14.2 allows a malicious server to exhaust CP

CVE-2023-47641 MEDIUM POC
6.5 Nov 14

aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. Rated medium severity (CVSS 6.5), this v

CVE-2026-69243 MEDIUM POC
6.3 Aug 03

HTTP request smuggling in aiohttp's server-side parser allows unauthenticated remote attackers to inject and misdirect H

CVE-2022-33124 MEDIUM POC
5.5 Jun 23

AIOHTTP 3.8.1 can report a "ValueError: Invalid IPv6 URL" outcome, which can lead to a Denial of Service (DoS). Rated me

CVE-2023-49082 MEDIUM POC
5.3 Nov 29

aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. Rated medium severity (CVSS 5.3), this v

CVE-2023-49081 MEDIUM POC
5.3 Nov 30

aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. Rated medium severity (CVSS 5.3), this v

CVE-2026-128127 HIGH
8.7 Nov 13

A remote attacker can exhaust server memory or stall the event loop through aiohttp's multipart parser in versions up to

CVE-2026-128131 HIGH
8.7 Nov 13

Quadratic CPU consumption in aiohttp before 3.14.4 lets a remote attacker stall a server's asyncio event loop by sending

CVE-2026-128126 HIGH
8.7 Nov 13

In aiohttp releases prior to 3.14.4, any unauthenticated POST that reaches a handler calling Request.post() can stall th

Vendor StatusVendor

SUSE

Severity: Medium
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed
SUSE Linux Enterprise Module for Public Cloud 15 SP7 Fixed
SUSE Linux Enterprise Module for Python 3 15 SP7 Fixed
SUSE Linux Enterprise Server 15 SP7 Fixed

References

Advisories & patches
ADVISORY https://access.redhat.com/errata/RHSA-2026:24977 ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-34993 ADVISORY https://vuldb.com/vuln/368053 REF https://access.redhat.com/errata/RHSA-2026:34456 REF https://access.redhat.com/errata/RHSA-2026:37275 REF https://access.redhat.com/errata/RHSA-2026:42644 REF https://access.redhat.com/errata/RHSA-2026:43038 REF https://access.redhat.com/errata/RHSA-2026:50319 REF https://access.redhat.com/errata/RHSA-2026:50336 REF https://access.redhat.com/errata/RHSA-2026:50340 REF https://access.redhat.com/errata/RHSA-2026:50357 REF https://access.redhat.com/errata/RHSA-2026:50479 REF https://access.redhat.com/errata/RHSA-2026:54760 REF https://access.redhat.com/errata/RHSA-2026:59135 REF https://access.redhat.com/errata/RHSA-2026:59136 REF https://access.redhat.com/errata/RHSA-2026:59518 REF https://access.redhat.com/errata/RHSA-2026:60520 REF https://access.redhat.com/errata/RHSA-2026:62335 REF https://access.redhat.com/errata/RHSA-2026:62336 REF https://access.redhat.com/errata/RHSA-2026:63327 REF https://access.redhat.com/errata/RHSA-2026:63385 REF https://access.redhat.com/errata/RHSA-2026:63386 REF https://access.redhat.com/errata/RHSA-2026:63387 REF https://access.redhat.com/security/cve/CVE-2026-34993 REF https://bugzilla.redhat.com/show_bug.cgi?id=2484099 REF https://github.com/aio-libs/aiohttp/commit/dcf40f30637e8752c76781cf6703b5a236749a00 REF https://github.com/aio-libs/aiohttp/security/advisories/GHSA-jg22-mg44-37j8 REF https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-34993.json

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy