ubuntu-cve-2026-42998
Vulnerability from osv_ubuntu
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.
{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "keystone",
"binary_version": "2:9.3.0-0ubuntu3.2"
},
{
"binary_name": "python-keystone",
"binary_version": "2:9.3.0-0ubuntu3.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:16.04:LTS",
"name": "keystone",
"purl": "pkg:deb/ubuntu/keystone@2:9.3.0-0ubuntu3.2?arch=source\u0026distro=xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2:8.0.0-0ubuntu1",
"2:9.0.0~b1-0ubuntu1",
"2:9.0.0~b2-0ubuntu1",
"2:9.0.0~b3-0ubuntu1",
"2:9.0.0~rc1-0ubuntu1",
"2:9.0.0-0ubuntu1",
"2:9.0.2-0ubuntu1",
"2:9.0.2-0ubuntu2",
"2:9.1.0-0ubuntu1",
"2:9.2.0-0ubuntu1",
"2:9.3.0-0ubuntu1",
"2:9.3.0-0ubuntu2",
"2:9.3.0-0ubuntu3",
"2:9.3.0-0ubuntu3.1",
"2:9.3.0-0ubuntu3.2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "keystone",
"binary_version": "2:13.0.4-0ubuntu1"
},
{
"binary_name": "python-keystone",
"binary_version": "2:13.0.4-0ubuntu1"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "keystone",
"purl": "pkg:deb/ubuntu/keystone@2:13.0.4-0ubuntu1?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2:12.0.0-0ubuntu1",
"2:13.0.0~b1-0ubuntu1",
"2:13.0.0~b2-0ubuntu1",
"2:13.0.0~b3-0ubuntu1",
"2:13.0.0~rc1-0ubuntu1",
"2:13.0.0~rc2-0ubuntu1",
"2:13.0.0-0ubuntu1",
"2:13.0.1-0ubuntu1",
"2:13.0.2-0ubuntu1",
"2:13.0.2-0ubuntu3",
"2:13.0.4-0ubuntu1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "keystone",
"binary_version": "2:17.0.1-0ubuntu2+esm1"
},
{
"binary_name": "keystone-common",
"binary_version": "2:17.0.1-0ubuntu2+esm1"
},
{
"binary_name": "python3-keystone",
"binary_version": "2:17.0.1-0ubuntu2+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:20.04:LTS",
"name": "keystone",
"purl": "pkg:deb/ubuntu/keystone@2:17.0.1-0ubuntu2+esm1?arch=source\u0026distro=esm-infra/focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2:16.0.0-0ubuntu1",
"2:17.0.0~b1~git2019121613.db81fee63-0ubuntu1",
"2:17.0.0~b2~git2020020513.99733f172-0ubuntu1",
"2:17.0.0~b3~git2020032415.9f9040257-0ubuntu1",
"2:17.0.0~b3~git2020032415.9f9040257-0ubuntu2",
"2:17.0.0~b3~git2020041013.7bb6314e4-0ubuntu1",
"2:17.0.0-0ubuntu0.20.04.1",
"2:17.0.1-0ubuntu1",
"2:17.0.1-0ubuntu2",
"2:17.0.1-0ubuntu2+esm1"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "keystone",
"binary_version": "2:21.0.1-0ubuntu2.4"
},
{
"binary_name": "keystone-common",
"binary_version": "2:21.0.1-0ubuntu2.4"
},
{
"binary_name": "python3-keystone",
"binary_version": "2:21.0.1-0ubuntu2.4"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "keystone",
"purl": "pkg:deb/ubuntu/keystone@2:21.0.1-0ubuntu2.4?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2:21.0.1-0ubuntu2.4"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2:20.0.0-0ubuntu1",
"2:20.0.0+git2021120815.2ddf8f321-0ubuntu1",
"2:20.0.0+git2022011217.771c943ad-0ubuntu1",
"2:20.0.0+git2022030313.a3fc9e7c3-0ubuntu1",
"2:21.0.0-0ubuntu1",
"2:21.0.1-0ubuntu1",
"2:21.0.1-0ubuntu2",
"2:21.0.1-0ubuntu2.1",
"2:21.0.1-0ubuntu2.2"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "keystone",
"binary_version": "2:25.0.0-0ubuntu1.4"
},
{
"binary_name": "keystone-common",
"binary_version": "2:25.0.0-0ubuntu1.4"
},
{
"binary_name": "python3-keystone",
"binary_version": "2:25.0.0-0ubuntu1.4"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "keystone",
"purl": "pkg:deb/ubuntu/keystone@2:25.0.0-0ubuntu1.4?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2:25.0.0-0ubuntu1.4"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2:24.0.0-0ubuntu1",
"2:24.0.0+git2024011916.adfa92b4-0ubuntu1",
"2:25.0.0~rc1-0ubuntu1",
"2:25.0.0-0ubuntu1",
"2:25.0.0-0ubuntu1.1",
"2:25.0.0-0ubuntu1.2"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "keystone",
"binary_version": "2:28.0.0-0ubuntu1.3"
},
{
"binary_name": "keystone-common",
"binary_version": "2:28.0.0-0ubuntu1.3"
},
{
"binary_name": "python3-keystone",
"binary_version": "2:28.0.0-0ubuntu1.3"
}
]
},
"package": {
"ecosystem": "Ubuntu:25.10",
"name": "keystone",
"purl": "pkg:deb/ubuntu/keystone@2:28.0.0-0ubuntu1.3?arch=source\u0026distro=questing"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2:28.0.0-0ubuntu1.3"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2:27.0.0-0ubuntu1",
"2:27.0.0+git2025080113.e066e18ab-0ubuntu1",
"2:28.0.0~rc1-0ubuntu1",
"2:28.0.0-0ubuntu1",
"2:28.0.0-0ubuntu1.1"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "keystone",
"binary_version": "2:29.0.0-0ubuntu1.2"
},
{
"binary_name": "keystone-common",
"binary_version": "2:29.0.0-0ubuntu1.2"
},
{
"binary_name": "python3-keystone",
"binary_version": "2:29.0.0-0ubuntu1.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.04:LTS",
"name": "keystone",
"purl": "pkg:deb/ubuntu/keystone@2:29.0.0-0ubuntu1.2?arch=source\u0026distro=resolute"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2:29.0.0-0ubuntu1.2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2:28.0.0-0ubuntu1",
"2:28.0.0-0ubuntu2",
"2:28.0.0+git20260119.61.8a42793e7-0ubuntu1",
"2:29.0.0~rc1-0ubuntu1",
"2:29.0.0-0ubuntu1"
]
}
],
"aliases": [],
"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\u0027s 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\u0027s roles and the victim\u0027s actual roles on the project. This enables audit evasion, reading the victim\u0027s credentials, and acting as the victim within shared projects.",
"id": "UBUNTU-CVE-2026-42998",
"modified": "2026-06-17T00:05:14Z",
"published": "2026-05-28T19:16:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2026-42998"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-42998"
},
{
"type": "REPORT",
"url": "https://bugs.launchpad.net/keystone/+bug/2148477"
},
{
"type": "REPORT",
"url": "https://security.openstack.org/ossa/OSSA-2026-015.html"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-8433-1"
}
],
"related": [
"USN-8433-1"
],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:L",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2026-42998"
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.