Skip to main content

Python aiohttp: Prior to 3.14.1, DigestAuthMiddleware can send an authentication response after following a cross-origin redirect. (CVE-2026-54276)

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

Description

A vulnerability in python-aiohttp prior to version 3.14.1 allows DigestAuthMiddleware to send an authentication response after following a cross-origin redirect. This behavior could be exploited if an attacker leverages an open redirect on the target domain. The attacker would only receive the digest authentication response, limiting credential exposure unless cryptography is weak or passwords are reused. The issue is fixed in version 3.14.1.

CVSS v3.1

Score 6.1medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/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, 00:49:35 UTC

Technical Analysis

The python-aiohttp asynchronous HTTP framework contains a vulnerability in DigestAuthMiddleware in versions prior to 3.14.1. Specifically, after following a cross-origin redirect, the middleware can send an authentication response, potentially exposing digest authentication data. Exploitation likely requires an open redirect vulnerability on the target domain. The attacker gains only the digest response, which may not directly reveal credentials unless weak cryptography or password reuse is present. This vulnerability is addressed in aiohttp version 3.14.1.

Potential Impact

An attacker exploiting this vulnerability could obtain digest authentication responses after a cross-origin redirect, potentially exposing user credentials if weak cryptography or password reuse exists. The vulnerability does not directly allow credential compromise without these additional factors. There is no indication of active exploitation in the wild.

Mitigation Recommendations

Upgrade python-aiohttp to version 3.14.1 or later, where this vulnerability is fixed. No other specific mitigations are indicated.

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-54276
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: 6ad3f5fd2cdf04f656663feb

Added to database: 10/17/2026, 22:26:05 UTC

Last enriched: 10/18/2026, 00:49:35 UTC

Last updated: 10/18/2026, 00:49:35 UTC

Views: 3

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