{"id":"CVE-2026-54276","aliases":["CVE-2026-54276","GHSA-hpj7-wq8m-9hgp","PYSEC-2026-2109"],"related":[],"kind":"vulnerability","state":"published","title":"AIOHTTP: DigestAuthMiddleware Applies Credentials to Cross-Origin Redirect Challenges","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Summary\n\n``DigestAuthMiddleware`` can send an authentication response after following a cross-origin redirect.\n\n### Impact\n\nIf the client follows a redirect (the default option) to an attacker controlled domain, the attacker may be able to extract the auth digest.\n\nThis 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.\n\n### Workaround\n\nDisable ``follow_redirects`` if this is a concern.\n\n-----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/38d16060037e1bfcd6d677abababa3c2a4bb58fa","format":"markdown","source":"ghsa"},{"lang":"es","text":"AIOHTTP es un framework HTTP cliente/servidor asíncrono para asyncio y Python. Antes de la versión 3.14.1, DigestAuthMiddleware puede enviar una respuesta de autenticación después de seguir una redirección de origen cruzado. Esto probablemente requiere una vulnerabilidad de redirección abierta o similar en el dominio objetivo para que un atacante pueda ejecutarlo. Además, el atacante solo está recibiendo el digest, por lo que solo debería poder extraer las credenciales del usuario si la criptografía es débil o si hay algún tipo de reutilización de contraseña. Esta vulnerabilidad está corregida en la versión 3.14.1.","source":"nvd"}],"published":"2026-06-15T20:09:06.000Z","modified":"2026-10-25T23:10:00.167Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","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","score":6.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","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","score":6.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","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","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-200","CWE-522","CWE-601"],"affected":[{"ranges":[{"version":"< 3.14.1","status":"affected"}],"vendor":"aio-libs","product":"aiohttp","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.14.1"}],"ecosystem":"PyPI","package":"aiohttp","purl":"pkg:pypi/aiohttp","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"3.12.0","fixed":"3.14.1"}],"vendor":"aiohttp","product":"aiohttp","cpe":"cpe:2.3:a:aiohttp:aiohttp:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.14.1"}],"ecosystem":"PyPI","package":"aiohttp","purl":"pkg:pypi/aiohttp","source":"pysec"}],"references":[{"url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-hpj7-wq8m-9hgp","tags":["advisory","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/aio-libs/aiohttp/commit/38d16060037e1bfcd6d677abababa3c2a4bb58fa","tags":["fix","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/aio-libs/aiohttp","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-06-23T16:06:50.514Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-54276","url":"https://www.cve.org/CVERecord?id=CVE-2026-54276","licence":"CVE Terms of Use","modified":"2026-06-23T16:10:07.862Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-hpj7-wq8m-9hgp","url":"https://github.com/advisories/GHSA-hpj7-wq8m-9hgp","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:49.899Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-54276","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54276","licence":"Public domain","modified":"2026-10-25T23:10:00.167Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-2109","url":"https://osv.dev/vulnerability/PYSEC-2026-2109","licence":"CC-BY-4.0","modified":"2026-07-13T07:15:14.193Z"}],"updatedAt":"2026-11-25T22:59:25.395Z","epss":{"score":0.00178,"percentile":0.07738,"date":"2026-12-01T12:00:22.000Z"}}