CVE-2026-42998
HIGH 8.8CVSS 3.1OpenStack Keystone doesn't verify that the user supplied in the authentication request matches the owner of the application credential
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.
- Published
- 28 May 2026
- Last modified
- 26 Oct 2026
- Assigned by
- cve@mitre.org
- NVD status
- Analyzed
- Weakness
- CWE-863
- Also known as
- GHSA-8f8m-wrvr-wcvfPYSEC-2026-599
- Sources
- NVDJSONOSV GHSA-8f8m-wrvr-wcvfJSONOSV PYSEC-2026-599JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | PyPA | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | cve@mitre.org (Secondary) | CVSS 3.1 | MEDIUM 6.0 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.0 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | openstack | keystonecpe:2.3:a:openstack:keystone:*:*:*:*:*:*:*:* |
>= 14.0.0, < 27.0.2 | 27.0.2 |
| NVD | openstack | keystonecpe:2.3:a:openstack:keystone:*:*:*:*:*:*:*:* |
>= 28.0.0, < 28.0.2 | 28.0.2 |
| NVD | openstack | keystonecpe:2.3:a:openstack:keystone:*:*:*:*:*:*:*:* |
>= 29.0.0, < 29.0.2 | 29.0.2 |
| OSV | PyPI | keystone | >= 14.0.0, < 27.0.2 | 27.0.2 |
| OSV | PyPI | keystone | >= 28.0.0, < 28.0.2 | 28.0.2 |
| OSV | PyPI | keystone | >= 29.0.0, < 29.0.2 | 29.0.2 |
| OSV | PyPI | keystone | >= 14.0.0, < 27.0.2; >= 28.0.0, < 28.0.2; >= 29.0.0, < 29.0.2 | 27.0.2, 28.0.2, 29.0.2 |
References
- https://bugs.launchpad.net/keystone/+bug/2148477 · Exploit, Issue Tracking, Patch, Third Party Advisory, WEB, FIX
- https://security.openstack.org/ossa/OSSA-2026-015.html · Patch, Vendor Advisory, WEB, FIX
- https://nvd.nist.gov/vuln/detail/CVE-2026-42998 · ADVISORY
- https://github.com/openstack/keystone · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/keystone/PYSEC-2026-599.yaml · WEB
- https://github.com/advisories/GHSA-8f8m-wrvr-wcvf · ADVISORY
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 28 May 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 28 May 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 28 May 2026)