UBUNTU-CVE-2026-22797

Source
https://ubuntu.com/security/CVE-2026-22797
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-22797.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-22797
Upstream
  • CVE-2026-22797
Downstream
Related
Published
2026-01-19T18:16:00Z
Modified
2026-02-04T07:39:05.683323Z
Severity
  • 9.9 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L CVSS Calculator
  • Ubuntu - medium
Summary
[none]
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 externaloauth2token 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 externaloauth2token middleware are affected.

References

Affected packages

Ubuntu:24.04:LTS / python-keystonemiddleware

Package

Name
python-keystonemiddleware
Purl
pkg:deb/ubuntu/python-keystonemiddleware@10.6.0-0ubuntu1.1?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
10.6.0-0ubuntu1.1

Affected versions

10.*
10.4.1-0ubuntu1
10.5.0-0ubuntu1
10.5.0-0ubuntu2
10.6.0-0ubuntu1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "10.6.0-0ubuntu1.1",
            "binary_name": "python3-keystonemiddleware"
        }
    ],
    "availability": "No subscription required"
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-22797.json"

Ubuntu:25.10 / python-keystonemiddleware

Package

Name
python-keystonemiddleware
Purl
pkg:deb/ubuntu/python-keystonemiddleware@10.12.0-0ubuntu1.1?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
10.12.0-0ubuntu1.1

Affected versions

10.*
10.9.0-0ubuntu1
10.11.0-0ubuntu1
10.12.0-0ubuntu1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "10.12.0-0ubuntu1.1",
            "binary_name": "python3-keystonemiddleware"
        }
    ],
    "availability": "No subscription required"
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-22797.json"