Description
In OpenStack Keystone before 29.0.3, any authenticated user holding role:reader on any project can list every project-scoped role assignment under any domain by passing a domain ID as scope.project.id with include_subtree to the GET /v3/role_assignments endpoint. The domain's project record has domain_id=null, causing the policy domain_id check to pass for any caller. With include_names, the response discloses the names and home-domain IDs of every user, group, project, and role involved. The literal "default" domain ID works against any deployment created with keystone-manage bootstrap. An attacker can harvest domain IDs from the response and repeat the query to map role assignments across the entire cloud. This is caused by misuse of "None" in
list_role_assignments_for_tree.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| OpenStack | Keystone | 16.0.0 – < 27.0.3, 28.0.0 – < 28.0.3, 29.0.0 – < 29.0.3 | 27.0.3 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | keystone | 2:29.0.2-2 | — |
| Debian 13 | keystone | 2:27.0.0-3+deb13u5 | — |
| Debian 12 | keystone | 2:22.0.2-0+deb12u4 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.04 LTS | keystone | 2:29.0.0-0ubuntu1.4 | USN-8854-1 |
| Ubuntu 24.04 LTS | keystone | 2:25.0.0-0ubuntu1.6 | USN-8854-1 |
| Ubuntu 22.04 LTS | keystone | 2:21.0.1-0ubuntu2.6 | USN-8854-1 |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | keystone | 2:17.0.1-0ubuntu2+esm2 | USN-8854-1 |
| Ubuntu Pro 18.04 LTS | keystone | 2:13.0.4-0ubuntu1+esm1 | USN-8854-1 |
| Ubuntu Pro 16.04 LTS | keystone | 2:9.3.0-0ubuntu3.2+esm2 | USN-8854-1 |
Advisories 1
- USN-8854-1 keystone vulnerabilities Ubuntu Security Notices (USN) · Oct 1, 2026
References
- https://launchpad.net/bugs/2154645 issue-tracking