Authentication Bypass by Spoofing Affecting keystonemiddleware package, versions [10.5.0,10.7.2)[10.8.0,10.9.1)[10.10.0,10.12.1)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.14% (35th 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-KEYSTONEMIDDLEWARE-15038739
  • published20 Jan 2026
  • disclosed19 Jan 2026
  • creditGrzegorz Grasza

Introduced: 19 Jan 2026

CVE-2026-22797  (opens in a new tab)
CWE-290  (opens in a new tab)

How to fix?

Upgrade keystonemiddleware to version 10.7.2, 10.9.1, 10.12.1 or higher.

Overview

Affected versions of this package are vulnerable to Authentication Bypass by Spoofing in the external_oauth2_token middleware. An attacker can gain unauthorized access or escalate privileges by sending forged authentication headers such as X-Is-Admin-Project, X-Roles, or X-User-Id.

CVSS Base Scores

version 4.0
version 3.1