# CVE-2026-54276: AIOHTTP: DigestAuthMiddleware Applies Credentials to Cross-Origin Redirect Challenges

- Severity: Medium 6.3 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 7% of CVEs (2026-12-01)
- Published: 2026-06-15T20:09:06.000Z
- Modified: 2026-10-25T23:10:00.167Z
- Also known as: GHSA-hpj7-wq8m-9hgp, PYSEC-2026-2109
- Weaknesses: CWE-200, CWE-522, CWE-601
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- aio-libs aiohttp: < 3.14.1
- aiohttp (PyPI): before 3.14.1
- aiohttp aiohttp: from 3.12.0 before 3.14.1

## Every score

- GitHub_M: CVSS:4.0 6.3 Medium `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`
- GitHub: CVSS:4.0 Medium `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`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- PyPA Advisory Database: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/aio-libs/aiohttp/security/advisories/GHSA-hpj7-wq8m-9hgp> (advisory, vendor-advisory, web)
- <https://github.com/aio-libs/aiohttp/commit/38d16060037e1bfcd6d677abababa3c2a4bb58fa> (fix, patch, web)
- <https://github.com/aio-libs/aiohttp> (package)

## Sources

- CVE List: [CVE-2026-54276](https://www.cve.org/CVERecord?id=CVE-2026-54276), CVE Terms of Use, modified 2026-06-23
- GitHub Advisory Database: [GHSA-hpj7-wq8m-9hgp](https://github.com/advisories/GHSA-hpj7-wq8m-9hgp), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-54276](https://nvd.nist.gov/vuln/detail/CVE-2026-54276), Public domain, modified 2026-10-25
- PyPA Advisory Database: [PYSEC-2026-2109](https://osv.dev/vulnerability/PYSEC-2026-2109), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-54276 · Whole record: https://cve.day/CVE-2026-54276.json · Rebuilt by cve.day 2026-11-25T22:59:25.395Z
