Description
AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to 3.14.1, DigestAuthMiddleware can send an authentication response after following a cross-origin redirect. This likely requires an open redirect vulnerability or similar on the target domain for an attacker to be able to execute. Further, the attacker is only receiving the digest, so should only be able to extract the user's credentials if the cryptography is weak or there is some kind of password reuse. This vulnerability is fixed in 3.14.1.
Published: 2026-06-22
Score: 6.3 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability occurs when DigestAuthMiddleware sends authentication credentials after following a cross‑origin redirect. An attacker who can influence the redirect path—such as through an open‑redirect flaw on the target domain—can cause a client to transmit digest responses to a controlled server. If the digest is weak or credentials are reused, this may allow credential compromise. The weakness is an information disclosure of authentication secrets, mapping to CWE‑200 and CWE‑522.

Affected Systems

The issue affects the aio‑libs aiohttp asynchronous HTTP framework for Python. Any installation of aiohttp prior to version 3.14.1 that uses DigestAuthMiddleware and allows redirects to external origins is susceptible. The fix is released in 3.14.1.

Risk and Exploitability

With a CVSS score of 6.3 the vulnerability has moderate severity. Exploitability is limited by the need for an accessible redirect on the target domain. Attackers would need to deliver a crafted request that triggers a cross‑origin redirect that the library follows, causing the client's digest response to be sent to the attacker’s server. No published exploits are known, and the issue is not in CISA KEV. The EPSS is not reported; thus, the likelihood of public exploitation remains unclear, but the presence of an open‑redirect or similar makes it a realistic threat in vulnerable applications.

Generated by OpenCVE AI on June 22, 2026 at 18:38 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade aiohttp to 3.14.1 or newer.
  • Disable or configure DigestAuthMiddleware to reject cross‑origin redirects, enforcing same‑origin only.
  • Validate and sanitize redirect URLs to prevent open‑redirect attacks in your routing logic.

Generated by OpenCVE AI on June 22, 2026 at 18:38 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-hpj7-wq8m-9hgp aiohttp: DigestAuthMiddleware Applies Credentials to Cross-Origin Redirect Challenges
History

Mon, 22 Jun 2026 17:30:00 +0000

Type Values Removed Values Added
Description AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to 3.14.1, DigestAuthMiddleware can send an authentication response after following a cross-origin redirect. This likely requires an open redirect vulnerability or similar on the target domain for an attacker to be able to execute. Further, the attacker is only receiving the digest, so should only be able to extract the user's credentials if the cryptography is weak or there is some kind of password reuse. This vulnerability is fixed in 3.14.1.
Title AIOHTTP: DigestAuthMiddleware Applies Credentials to Cross-Origin Redirect Challenges
Weaknesses CWE-200
CWE-522
References
Metrics cvssV4_0

{'score': 6.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-06-22T16:36:23.022Z

Reserved: 2026-06-12T17:13:32.280Z

Link: CVE-2026-54276

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-22T18:45:04Z

Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor

  • CWE-522

    Insufficiently Protected Credentials