Insufficiently Protected Credentials Affecting aiohttp package, versions [,3.14.1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (13th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-AIOHTTP-17342365
  • published16 Jun 2026
  • disclosed15 Jun 2026
  • creditDenys Pakizh

Introduced: 15 Jun 2026

NewCVE-2026-54276  (opens in a new tab)
CWE-522  (opens in a new tab)

How to fix?

Upgrade aiohttp to version 3.14.1 or higher.

Overview

Affected versions of this package are vulnerable to Insufficiently Protected Credentials via the DigestAuthMiddleware class when authentication responses are sent after following cross-origin redirects. An attacker can obtain authentication digests by leveraging an open redirect or similar issue to redirect a client to an attacker-controlled domain.

Note: This is only exploitable if the client follows redirects to attacker-controlled domains.

Workaround

This vulnerability can be mitigated by disabling the follow_redirects option.

CVSS Base Scores

version 4.0
version 3.1