# CVE-2026-42998: OpenStack Keystone doesn't verify that the user supplied in the authentication request matches the owner of the application credential

- Severity: Medium 6.0 (CVSS:3.1, scored by mitre) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 22% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-28T00:00:00.000Z
- Modified: 2026-10-26T13:10:00.140Z
- Also known as: GHSA-8f8m-wrvr-wcvf, PYSEC-2026-599
- Weaknesses: CWE-863
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- OpenStack Keystone: from 14.0.0 before 27.0.2; from 28.0.0 before 28.0.2; from 29.0.0 before 29.0.2
- keystone (PyPI): from 14.0.0 before 27.0.2; from 28.0.0 before 28.0.2; from 29.0.0 before 29.0.2

## Every score

- mitre: CVSS:3.1 6.0 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:L`
- GitHub: CVSS:3.1 6.0 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:L`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://bugs.launchpad.net/keystone/+bug/2148477> (exploit, fix, issue-tracking, patch, third-party-advisory, web)
- <https://security.openstack.org/ossa/OSSA-2026-015.html> (fix, patch, vendor-advisory, web)
- <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)

## Sources

- CVE List: [CVE-2026-42998](https://www.cve.org/CVERecord?id=CVE-2026-42998), CVE Terms of Use, modified 2026-05-28
- GitHub Advisory Database: [GHSA-8f8m-wrvr-wcvf](https://github.com/advisories/GHSA-8f8m-wrvr-wcvf), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-42998](https://nvd.nist.gov/vuln/detail/CVE-2026-42998), Public domain, modified 2026-10-26
- PyPA Advisory Database: [PYSEC-2026-599](https://osv.dev/vulnerability/PYSEC-2026-599), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-42998 · Whole record: https://cve.day/CVE-2026-42998.json · Rebuilt by cve.day 2026-11-25T22:59:22.999Z
