CVE-2026-42998

NameCVE-2026-42998
DescriptionAn 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-4611-1, DSA-6331-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
keystone (PTS)bullseye2:18.0.0-3+deb11u1vulnerable
bullseye (security)2:18.1.0-1+deb11u3fixed
bookworm2:22.0.2-0+deb12u1vulnerable
bookworm (security)2:22.0.2-0+deb12u3fixed
trixie2:27.0.0-3+deb13u1vulnerable
trixie (security)2:27.0.0-3+deb13u4fixed
forky, sid2:29.0.1-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
keystonesourcebullseye2:18.1.0-1+deb11u3DLA-4611-1
keystonesourcebookworm2:22.0.2-0+deb12u3DSA-6331-1
keystonesourcetrixie2:27.0.0-3+deb13u4DSA-6331-1
keystonesource(unstable)2:29.0.1-2

Notes

https://bugs.launchpad.net/keystone/+bug/2148477
https://security.openstack.org/ossa/OSSA-2026-015.html

Search for package or bug name: Reporting problems