Authentication Bypass Affecting python-keystonemiddleware package, versions <10.9.0-2+deb13u1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.65% (51st 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-DEBIAN13-PYTHONKEYSTONEMIDDLEWARE-15013235
  • published16 Jan 2026
  • disclosed19 Jan 2026

Introduced: 16 Jan 2026

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

How to fix?

Upgrade Debian:13 python-keystonemiddleware to version 10.9.0-2+deb13u1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python-keystonemiddleware package and not the python-keystonemiddleware package as distributed by Debian. See How to fix? for Debian:13 relevant fixed versions and status.

An issue was discovered in OpenStack keystonemiddleware 10.5 through 10.7 before 10.7.2, 10.8 and 10.9 before 10.9.1, and 10.10 through 10.12 before 10.12.1. The external_oauth2_token middleware fails to sanitize incoming authentication headers before processing OAuth 2.0 tokens. By sending forged identity headers such as X-Is-Admin-Project, X-Roles, or X-User-Id, an authenticated attacker may escalate privileges or impersonate other users. All deployments using the external_oauth2_token middleware are affected.

CVSS Base Scores

version 3.1