Vulnerability · Published May 28, 2026 · Assigned by mitre
CVE-2026-42998
Medium 6.0
In plain English
A medium-severity incorrect authorization in Keystone from OpenStack. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 23% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
An issue was discovered in OpenStack Keystone before 29.0.2. The Keystone application credential authentication plugin does not verify that the user supplied in the authentication request matches the owner of the application credential. An attacker can authenticate with their own application credential ID and secret while specifying a different user's name and domain in the request body. Keystone issues a token attributed to the victim user. The impersonated token is project-scoped and carries the intersection of the application credential's roles and the victim's actual roles on the project. This enables audit evasion, reading the victim's credentials, and acting as the victim within shared projects.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | keystone | 2:22.0.2-0+deb12u3 | DEBIAN-CVE-2026-42998 |
| Debian:13 | keystone | 2:27.0.0-3+deb13u4 | DEBIAN-CVE-2026-42998 |
| Debian:14 | keystone | 2:29.0.1-2 | DEBIAN-CVE-2026-42998 |
| PyPI | keystone | 27.0.2, 28.0.2, 29.0.2 | PYSEC-2026-599 |
| PyPI | keystone | 27.0.2 | GHSA-8f8m-wrvr-wcvf |
| PyPI | keystone | 28.0.2 | GHSA-8f8m-wrvr-wcvf |
| PyPI | keystone | 29.0.2 | GHSA-8f8m-wrvr-wcvf |
| Ubuntu:22.04:LTS | keystone | 2:21.0.1-0ubuntu2.4 | UBUNTU-CVE-2026-42998 |
| Ubuntu:24.04:LTS | keystone | 2:25.0.0-0ubuntu1.4 | UBUNTU-CVE-2026-42998 |
| Ubuntu:25.10 | keystone | 2:28.0.0-0ubuntu1.3 | UBUNTU-CVE-2026-42998 |
| Ubuntu:26.04:LTS | keystone | 2:29.0.0-0ubuntu1.2 | UBUNTU-CVE-2026-42998 |
Affected products (as reported)
Weakness: CWE-863 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:L