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% (53rd 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-ECHOLATEST-PYTHONKEYSTONEMIDDLEWARE-22555692
  • published15 Nov 2026
  • disclosed19 Jan 2026

Introduced: 19 Jan 2026

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

How to fix?

Upgrade Echo:latest 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 Echo. See How to fix? for Echo:latest 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