Advisory record · GHSA-hpj7-wq8m-9hgp

aiohttp: DigestAuthMiddleware Applies Credentials to Cross-Origin Redirect Challenges

CVSS 6.3 MediumEPSS 0.0031 · 23rd percentile

Published by the GitHub Advisory Database at 15 Jun 2026, 20:09 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
aiohttpPyPI<3.14.13.14.1
Identifiers
GHSA-hpj7-wq8m-9hgp · CVE-2026-54276 · PYSEC-2026-2109
Weakness (CWE)
CWE-200 · CWE-522
Published
15 Jun 2026
Updated
10 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

The aiohttp package before 3.14.1 has a flaw in DigestAuthMiddleware, which can send an authentication response after the client follows a cross-origin redirect. An attacker would likely need an open redirect or similar weakness on the target domain, and could then obtain the digest, which exposes the user's credentials only if the cryptography is weak or the password is reused. Upgrade to aiohttp 3.14.1. Alternatively, disable follow_redirects.

Written 4 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
6.3 Medium 4.0 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 CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0031, the 23rd percentile, on 11 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 8 Jun 2026, 20:09 UTC Published by the maintainers as a GitHub repository advisory
  2. 31 Oct 2026, 14:29 UTC First seen by agentprime
  3. 31 Oct 2026, 14:29 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.