Advisory

GHSA-8f8m-wrvr-wcvf

Also known as: CVE-2026-42998, PYSEC-2026-599

Summary

OpenStack Keystone doesn't verify that the user supplied in the authentication request matches the owner of the application credential

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-05-28 21:32 UTC
Modified
2026-09-10 03:51 UTC

Affected packages and fixes

keystone

PyPI · All systems

Affected

  • introduced 14.0.0, fixed 27.0.2 (ecosystem)

Fixed versions

27.0.2

Fix

  • Fixed version 27.0.2
    pip install --upgrade keystone==27.0.2

keystone

PyPI · All systems

Affected

  • introduced 28.0.0, fixed 28.0.2 (ecosystem)

Fixed versions

28.0.2

Fix

  • Fixed version 28.0.2
    pip install --upgrade keystone==28.0.2

keystone

PyPI · All systems

Affected

  • introduced 29.0.0, fixed 29.0.2 (ecosystem)

Fixed versions

29.0.2

Fix

  • Fixed version 29.0.2
    pip install --upgrade keystone==29.0.2

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences