Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
8.8
CVE-2026-42999: OpenStack Keystone allows unauthorized access by users
CVE-2026-42999 · published 5 months ago
Summary
OpenStack Keystone, a component of OpenStack, has a security issue that allows any authenticated user to access resources they shouldn't have access to. This is a significant risk because it can be exploited by any user, not just administrators. To protect against this issue, update OpenStack Keystone to version 29.0.2 or later.
What to do
- Update openstack keystone to version 27.0.2.
- Update openstack keystone to version 28.0.2.
- Update openstack keystone to version 29.0.2.
- Update canonical keystone to version 2:21.0.1-0ubuntu2.4.
- Update canonical keystone to version 2:25.0.0-0ubuntu1.4.
- Update canonical keystone to version 2:28.0.0-0ubuntu1.3.
- Update canonical keystone to version 2:29.0.0-0ubuntu1.2.
- Update debian keystone to version 2:22.0.2-0+deb12u3.
- Update debian keystone to version 2:27.0.0-3+deb13u4.
- Update debian keystone to version 2:29.0.1-2.
Affected software
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| Debian:11 | debian | keystone | All versions |
| Debian:12 | debian | keystone |
< 2:22.0.2-0+deb12u3 Fix: upgrade to 2:22.0.2-0+deb12u3
|
| Debian:13 | debian | keystone |
< 2:27.0.0-3+deb13u4 Fix: upgrade to 2:27.0.0-3+deb13u4
|
| Debian:14 | debian | keystone |
< 2:29.0.1-2 Fix: upgrade to 2:29.0.1-2
|
| – | openstack | keystone |
>= 14.0.0, < 27.0.2 >= 28.0.0, < 28.0.2 >= 29.0.0, < 29.0.2 < 27.0.2 cpe:2.3:a:openstack:keystone:*:*:*:*:*:*:*:* |
| pip | openstack | keystone |
>= 14.0.0, < 27.0.2 >= 28.0.0, < 28.0.2 >= 29.0.0, < 29.0.2 Fix: upgrade to 27.0.2
|
| Ubuntu:16.04:LTS | canonical | keystone | All versions |
| Ubuntu:18.04:LTS | canonical | keystone | All versions |
| Ubuntu:Pro:20.04:LTS | canonical | keystone | All versions |
| Ubuntu:22.04:LTS | canonical | keystone |
< 2:21.0.1-0ubuntu2.4 Fix: upgrade to 2:21.0.1-0ubuntu2.4
|
| Ubuntu:24.04:LTS | canonical | keystone |
< 2:25.0.0-0ubuntu1.4 Fix: upgrade to 2:25.0.0-0ubuntu1.4
|
| Ubuntu:25.10 | canonical | keystone |
< 2:28.0.0-0ubuntu1.3 Fix: upgrade to 2:28.0.0-0ubuntu1.3
|
| Ubuntu:26.04:LTS | canonical | keystone |
< 2:29.0.0-0ubuntu1.2 Fix: upgrade to 2:29.0.0-0ubuntu1.2
|
Original advisory text
OpenStack Keystone has an Authorization Bypass
An issue was discovered in OpenStack Keystone before 29.0.2. The Keystone RBAC policy enforcer in enforce_call unconditionally merges the raw JSON request body into the policy enforcement dictionary via policy_dict.update(json_input.copy()), overwriting trusted target data that was previously set from database lookups. Because flask.request.get_json is called with force=True, this works regardless of Content-Type or HTTP method. Any authenticated user can inject arbitrary policy target attributes (e.g., user_id, project_id) into the request body to bypass RBAC checks and perform unauthorized operations on resources belonging to other users or projects. This was introduced in commit 5ea59f52 (Rocky/14.0.0).
References
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42999... Vendor Advisory
- https://github.com/pypa/advisory-database/tree/main/vulns/keystone/PYSEC-2026-60...
- https://github.com/advisories/GHSA-2r23-2g6v-2m5f
- https://nvd.nist.gov/vuln/detail/CVE-2026-42999 Vendor Advisory
- https://security-tracker.debian.org/tracker/CVE-2026-42999 Vendor Advisory
- https://ubuntu.com/security/CVE-2026-42999 Third Party Advisory
- https://bugs.launchpad.net/keystone/+bug/2148398 Exploit Issue Tracking Patch Third Party Advisory
- https://security.openstack.org/ossa/OSSA-2026-015.html Patch Vendor Advisory
- https://access.redhat.com/security/cve/CVE-2026-42999
- https://bugzilla.redhat.com/show_bug.cgi?id=2482840
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42999.json
- https://www.cve.org/CVERecord?id=CVE-2026-42999 Third Party Advisory
- https://ubuntu.com/security/notices/USN-8433-1 Vendor Advisory
Internet-facing
60 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit
- Gives an attacker partial control
Type
CWE-863Incorrect Authorization
CWE-639Authorization Bypass Through User-Controlled Key
Timeline
Published28 May 2026
Updated4 Nov 2026
First seen28 May 2026
Sources
DEBIAN-CVE-2026-42999 · OSV
UBUNTU-CVE-2026-42999 · OSV
CVE-2026-42999 · NVD
GHSA-2r23-2g6v-2m5f · GHSA
PYSEC-2026-600 · OSV
CVE-2026-42999 · MITRE
CVE-2026-42999 · OSV
Track software like this
Free during beta