Skip to main content

Python aiohttp: Prior to version 3.14.0, cookies set with the cookies parameter on requests are sent after following a cross-origin redirect. (CVE-2026-47265)

0
Medium
Published: 06/02/2026 (06/02/2026, 20:16:00 UTC)
Source: GCVE Database
Product: python-aiohttp

Description

Python aiohttp versions prior to 3.14.0 have a vulnerability where cookies set via the cookies parameter on requests are sent after following a cross-origin redirect. This behavior can lead to sensitive cookie data being leaked if an attacker controls the redirect. Version 3.14.0 addresses this issue. Using a Cookie header in the headers parameter is not vulnerable.

CVSS v3.1

Score 7.5high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected software

Ubuntu:Pro:16.04:LTSmore threats →ghsa
python-aiohttp
pkg:deb/ubuntu/python-aiohttp?arch=source&distro=esm-apps-legacy/xenial
Affected versions
=0.17.2-1=0.17.4-1=0.17.4-1build1=0.20.2-1=0.20.2-1ubuntu0.1~esm1
Ubuntu:Pro:18.04:LTSmore threats →ghsa
python-aiohttp
pkg:deb/ubuntu/python-aiohttp?arch=source&distro=esm-apps/bionic
Affected versions
=2.2.3-1build1=2.2.3-2=2.3.6-1=3.0.1-1=3.0.1-1ubuntu0.1~esm1=3.0.1-1ubuntu0.1~esm4=3.0.1-1ubuntu0.1~esm5=3.0.1-1ubuntu0.1~esm6=3.0.1-1ubuntu0.1~esm7
Ubuntu:Pro:20.04:LTSmore threats →ghsa
python-aiohttp
pkg:deb/ubuntu/python-aiohttp?arch=source&distro=esm-apps/focal
Affected versions
=3.5.4-1=3.5.4-1build1=3.6.1-1=3.6.2-1=3.6.2-1build1=3.6.2-1ubuntu0.1~esm1=3.6.2-1ubuntu1=3.6.2-1ubuntu1+esm1=3.6.2-1ubuntu1+esm3=3.6.2-1ubuntu1+esm4=3.6.2-1ubuntu1+esm5=3.6.2-1ubuntu1+esm6
Ubuntu:Pro:22.04:LTSmore threats →ghsa
python-aiohttp
pkg:deb/ubuntu/python-aiohttp?arch=source&distro=esm-apps/jammy
Affected versions
=3.7.4-1=3.7.4-1build2=3.8.1-3=3.8.1-4=3.8.1-4build1=3.8.1-4ubuntu0.2=3.8.1-4ubuntu0.2+esm1=3.8.1-4ubuntu0.2+esm2=3.8.1-4ubuntu0.2+esm3
Ubuntu:Pro:24.04:LTSmore threats →ghsa
python-aiohttp
pkg:deb/ubuntu/python-aiohttp?arch=source&distro=esm-apps/noble
Affected versions
=3.8.4-1=3.9.1-1=3.9.1-1build1=3.9.1-1ubuntu0.1=3.9.1-1ubuntu0.1+esm1=3.9.1-1ubuntu0.1+esm2=3.9.1-1ubuntu0.1+esm3
Ubuntu:25.10more threats →ghsa
python-aiohttp
pkg:deb/ubuntu/python-aiohttp?arch=source&distro=questing
Affected versions
=3.10.11-1build1=3.11.16-1=3.11.16-1ubuntu0.1
Ubuntu:26.10more threats →ghsa
python-aiohttp
pkg:deb/ubuntu/python-aiohttp?arch=source&distro=stonking
Affected versions
=3.13.3-3ubuntu1=3.14.1-4=3.14.1-5=3.14.3-1
Ubuntu:Pro:26.04:LTSmore threats →ghsa
python-aiohttp
pkg:deb/ubuntu/python-aiohttp?arch=source&distro=esm-apps/resolute
Affected versions
=3.11.16-1=3.13.1-1=3.13.3-3=3.13.3-3ubuntu1=3.13.3-3ubuntu1+esm1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/18/2026, 01:22:38 UTC

Technical Analysis

The aiohttp asynchronous HTTP client/server framework for Python versions before 3.14.0 improperly send cookies set with the cookies parameter after following cross-origin redirects. This can cause sensitive cookie data to be leaked to attackers who control the redirect destination. The vulnerability is fixed in version 3.14.0. As a workaround, using the Cookie header in the headers parameter avoids the vulnerability.

Potential Impact

Sensitive cookie data may be leaked to an attacker controlling a cross-origin redirect, potentially exposing confidential information. The vulnerability does not affect integrity or availability but impacts confidentiality.

Mitigation Recommendations

Upgrade to aiohttp version 3.14.0 or later, where the issue is patched. If upgrading is not possible, avoid using the cookies parameter on requests and instead set cookies via the Cookie header in the headers parameter, which is not vulnerable.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
UBUNTU-CVE-2026-47265
Osv Schema Version
1.7.0
Ecosystems
["Ubuntu:Pro:16.04:LTS","Ubuntu:Pro:18.04:LTS","Ubuntu:Pro:20.04:LTS","Ubuntu:Pro:22.04:LTS","Ubuntu:Pro:24.04:LTS","Ubuntu:25.10","Ubuntu:26.10","Ubuntu:Pro:26.04:LTS"]
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6ad3f6482cdf04f6566653f7

Added to database: 10/17/2026, 22:27:20 UTC

Last enriched: 10/18/2026, 01:22:38 UTC

Last updated: 10/18/2026, 01:22:38 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses