Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-47265: CWE-346: Origin Validation Error in aio-libs aiohttp

0
Medium
VulnerabilityCVE-2026-47265cvecve-2026-47265cwe-346
Published: Tue Jun 02 2026 (06/02/2026, 18:32:50 UTC)
Source: CVE Database V5
Vendor/Project: aio-libs
Product: aiohttp

Description

AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to version 3.14.0, cookies set with the `cookies` parameter on requests are sent after following a cross-origin redirect. If a developer uses the `cookies` parameter on a per-request basis then sensitive data might be leaked to an attacker if they manage to control a redirect. Version 3.14.0 patches the issue. If unable to upgrade, using a `Cookie` header in the `headers` parameter is not vulnerable.

CVSS v4.0

Score 6.6medium

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/02/2026, 20:04:24 UTC

Technical Analysis

The vulnerability in aiohttp (an asynchronous HTTP client/server framework for Python) involves improper origin validation related to cookie handling on redirects. Specifically, when cookies are set using the `cookies` parameter on requests, these cookies are sent even after a cross-origin redirect, potentially exposing sensitive cookie data to an attacker controlling the redirect. This issue is identified as CWE-346 (Origin Validation Error). The vulnerability is fixed in aiohttp version 3.14.0. As a workaround, using the `Cookie` header directly in the `headers` parameter avoids the vulnerability.

Potential Impact

If exploited, sensitive cookie data may be leaked to an attacker who can control a redirect, potentially leading to unauthorized access or session hijacking. The vulnerability does not require user interaction or privileges and can be triggered remotely. The CVSS 4.0 base score is 6.6 (medium severity), reflecting network attack vector, low attack complexity, and high impact on confidentiality.

Mitigation Recommendations

Upgrade aiohttp to version 3.14.0 or later, where this 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. No other vendor advisory or patch information is provided, so check official aiohttp release notes for confirmation.

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

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-05-18T23:03:37.229Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a1f3494e29bf47b50fa2527

Added to database: 6/2/2026, 7:52:52 PM

Last enriched: 6/2/2026, 8:04:24 PM

Last updated: 6/3/2026, 5:00:45 AM

Views: 10

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