GitHub Advisoryadvisory · PyPI

GHSA-8f8m-wrvr-wcvf OpenStack Keystone doesn't verify that the user supplied in the authentication request matches the owner of the application credential

MEDIUM Published 2026-05-28 Modified 2026-07-02 Official page ↗
Aliases
CVE-2026-42998
Ecosystem
PyPI
Packages
keystone
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:L
Weaknesses
CWE-863
Reviewed
2026-07-02

Affected packages

• PyPI keystone: >= 14.0.0, < 27.0.2 → fixed in 27.0.2 • PyPI keystone: >= 28.0.0, < 28.0.2 → fixed in 28.0.2 • PyPI keystone: >= 29.0.0, < 29.0.2 → fixed in 29.0.2

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.

Related

Alias · CVE (1)

  • CVE-2026-42998 An issue was discovered in OpenStack Keystone before 29.0.2. vulnerability

Weakness · CWE (1)

  • CWE-863 Incorrect Authorization weakness

References