CVE-2026-42998: 
NixOS vulnerability analysis and mitigation

Overview

CVE-2026-42998 is an incorrect authorization vulnerability in OpenStack Keystone that allows authenticated attackers to impersonate other users via application credential authentication. The Keystone application credential plugin fails to verify that the user specified in an authentication request matches the owner of the application credential being used, enabling token impersonation. Affected versions span OpenStack Keystone 14.0.0 through 26.x (fixed in 27.0.2), 28.0.0–28.0.1 (fixed in 28.0.2), and 29.0.0–29.0.1 (fixed in 29.0.2). It was published on May 28, 2026, with a CVSS v3.1 base score of 8.8 (High) per NVD, though the GitHub Advisory Database rates it 6.0 (Moderate) using a different vector (GitHub Advisory, OpenStack OSSA).

Technical details

The root cause is CWE-863 (Incorrect Authorization): the Keystone application credential authentication plugin does not validate that the user field in the authentication request body corresponds to the owner of the supplied application credential ID and secret. An attacker with valid application credentials can craft an authentication request substituting a victim's username and domain in the request body while providing their own credential ID and secret. Keystone processes the request without cross-checking ownership, issuing a project-scoped token attributed to the victim user. The resulting token carries the intersection of the attacker's application credential roles and the victim's actual roles on the shared project (GitHub Advisory, Launchpad Bug).

Impact

Successful exploitation allows any authenticated OpenStack user with valid application credentials to obtain project-scoped tokens impersonating other users within shared projects. This enables unauthorized actions on behalf of the victim, reading the victim's credentials, and audit evasion since malicious activity appears attributed to the victim rather than the attacker. The confidentiality, integrity, and availability impacts are all rated High under NVD's scoring, with potential for lateral movement across shared OpenStack projects and exposure of sensitive cloud resources (GitHub Advisory, OpenStack OSSA).

Exploitability

No confirmed exploit code or proof-of-concept is publicly available, and there is no evidence of in-the-wild exploitation as of the time of reporting. The Feedly executive summary notes that all analyzed URLs were classified as non-exploitable, and no threat actor attribution has been made. The EPSS score is approximately 0.058% (0.000580), indicating a low near-term exploitation probability. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Nessus detection plugins (IDs 318131 and 319887) are available for scanning (GitHub Advisory, Launchpad Bug).

Exploitation steps

  1. Reconnaissance: Identify a target OpenStack deployment running a vulnerable Keystone version (14.0.0–26.x, 28.0.0–28.0.1, or 29.0.0–29.0.1). Enumerate shared projects and identify victim usernames and domains via legitimate API calls or social engineering.
  2. Obtain own application credentials: As a legitimate user, create or use an existing application credential (ID and secret) via the Keystone API (POST /v3/users/{user_id}/application_credentials).
  3. Craft malicious authentication request: Send a POST /v3/auth/tokens request using the application_credential auth method, supplying your own application credential ID and secret, but substituting the victim's name and domain in the user field of the request body.
  4. Receive impersonated token: Keystone, without verifying user-credential ownership, issues a project-scoped token attributed to the victim user carrying the intersection of the attacker's credential roles and the victim's project roles.
  5. Abuse the token: Use the impersonated token to perform actions as the victim within shared projects, read the victim's credentials, exfiltrate data, or conduct further lateral movement — all while audit logs attribute the activity to the victim (GitHub Advisory, OpenStack OSSA).

Indicators of compromise

  • Logs: Keystone authentication logs (keystone.log) showing application_credential auth method requests where the user.name/user.domain in the request body does not match the registered owner of the application credential ID used.
  • Logs: Audit logs recording actions attributed to a user whose session token was obtained via application credential authentication, particularly if that user has no active session or is unaware of the activity.
  • Network: Repeated POST /v3/auth/tokens requests with application_credential method from a single source IP cycling through different user.name values.
  • Logs: Token issuance events for project-scoped tokens where the application credential owner and the token subject differ — detectable by correlating application_credential_id with the token's user_id in Keystone event logs.

Mitigation and workarounds

Upgrade OpenStack Keystone to the patched versions: 27.0.2 (for versions 14.0.0–26.x), 28.0.2 (for versions 28.0.0–28.0.1), or 29.0.2 (for versions 29.0.0–29.0.1). No configuration-based workaround is documented; upgrading is the only confirmed remediation. Administrators should also monitor authentication logs for anomalous application credential usage patterns, particularly requests where the user identity in the request body does not match the credential owner (OpenStack OSSA, Launchpad Bug).

Community reactions

The vulnerability was disclosed via the OpenStack Security Advisory OSSA-2026-015 and the oss-security mailing list. Debian issued a security update for the keystone package in its LTS announcement. The YAOOK OpenStack operator project published commits addressing the vulnerability. Community discussion was noted on Bluesky (infosec.skyfleet.blue). No major vendor statements beyond OpenStack's own advisory or significant media coverage have been identified (OpenStack OSSA, oss-sec, Debian LTS).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

keystone: 2:22.0.2-0+deb12u3

Fixed

sid

keystone: 2:29.0.1-2

Fixed

trixie

keystone: 2:27.0.0-3+deb13u4

Fixed

Ubuntu

Fixed

bionic (esm-infra)

keystone

Unknown

devel

keystone

Not Affected

focal (esm-infra)

keystone

Unknown

jammy

keystone: 2:21.0.1-0ubuntu2.4

Fixed

noble

keystone: 2:25.0.0-0ubuntu1.4

Fixed

questing

keystone: 2:28.0.0-0ubuntu1.3

Fixed

resolute

keystone: 2:29.0.0-0ubuntu1.2

Fixed

xenial (esm-infra-legacy)

keystone

Unknown

RHEL / CentOS

Unknown

Source: This report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-123634CRITICAL9.2
  • NGINX logoNGINX
  • nginx:1.24::nginx
NoYesNov 18, 2026
CVE-2026-123633CRITICAL9.2
  • NGINX logoNGINX
  • nginx-mod-js-challenge
NoYesNov 18, 2026
CVE-2026-123007CRITICAL9.2
  • NGINX logoNGINX
  • nginx-mod-mail
NoYesNov 18, 2026
CVE-2026-125283MEDIUM6.9
  • NGINX logoNGINX
  • nginx-debugsource
NoYesNov 18, 2026
CVE-2026-123640MEDIUM6.9
  • NGINX logoNGINX
  • nginx-mod-vts-debuginfo
NoYesNov 18, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management