Advisory

UBUNTU-CVE-2026-22797

Also known as: CVE-2026-22797

Summary

The record has no summary.

Details

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.

Severity

Critical Basis: CVSS v3 score 9.9, vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L

Dates

Published
2026-01-19 18:16 UTC
Modified
2026-06-30 18:17 UTC

Affected packages and fixes

python-keystonemiddleware

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 10.6.0-0ubuntu1.1 (ecosystem)

Fixed versions

10.6.0-0ubuntu1.1

Fix

  • Fixed version 10.6.0-0ubuntu1.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

python-keystonemiddleware

Debian packages (deb) · Ubuntu 25.10

Affected

  • introduced 0, fixed 10.12.0-0ubuntu1.1 (ecosystem)

Fixed versions

10.12.0-0ubuntu1.1

Fix

  • Fixed version 10.12.0-0ubuntu1.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences