Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. keystone
  4. ›
  5. CVE-2026-42998

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

May 28, 2026 (updated July 2, 2026)

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.

References

  • bugs.launchpad.net/keystone/+bug/2148477
  • github.com/advisories/GHSA-8f8m-wrvr-wcvf
  • github.com/pypa/advisory-database/tree/main/vulns/keystone/PYSEC-2026-599.yaml
  • nvd.nist.gov/vuln/detail/CVE-2026-42998
  • security.openstack.org/ossa/OSSA-2026-015.html

Code Behaviors & Features

Detect and mitigate CVE-2026-42998 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 14.0.0 before 27.0.2, all versions starting from 28.0.0 before 28.0.2, all versions starting from 29.0.0 before 29.0.2

Fixed versions

  • 27.0.2
  • 28.0.2
  • 29.0.2

Solution

Upgrade to versions 27.0.2, 28.0.2, 29.0.2 or above.

Impact 6 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:L

Learn more about CVSS

Weakness

  • CWE-863: Incorrect Authorization

Source file

pypi/keystone/CVE-2026-42998.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 12 Jul 2026 12:16:23 +0000.