CVE-2026-42999
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).
What to do
Fixed builds are available from Debian, PyPI, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | keystone | Fixed | 2:29.0.0-0ubuntu1.2 | UBUNTU-CVE-2026-42999 |
| Ubuntu 25.10 | keystone | Fixed | 2:28.0.0-0ubuntu1.3 | UBUNTU-CVE-2026-42999 |
| Ubuntu 24.04 | keystone | Fixed | 2:25.0.0-0ubuntu1.4 | UBUNTU-CVE-2026-42999 |
| Ubuntu 22.04 | keystone | Fixed | 2:21.0.1-0ubuntu2.4 | UBUNTU-CVE-2026-42999 |
| Ubuntu 20.04 | keystone | Fix pending | UBUNTU-CVE-2026-42999 | |
| Ubuntu 18.04 | keystone | Fix pending | UBUNTU-CVE-2026-42999 | |
| Ubuntu 16.04 | keystone | Fix pending | UBUNTU-CVE-2026-42999 | |
| Debian 14 | keystone | Fixed | 2:29.0.1-2 | DEBIAN-CVE-2026-42999 |
| Debian 13 | keystone | Fixed | 2:27.0.0-3+deb13u4 | DEBIAN-CVE-2026-42999 |
| Debian 12 | keystone | Fixed | 2:22.0.2-0+deb12u3 | DEBIAN-CVE-2026-42999 |
| PyPI library | keystone | Fixed | 28.0.2 | PYSEC-2026-600 |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- OpenStack Keystone: affected: 14.0.0 to before 27.0.2, 28.0.0 to before 28.0.2, 29.0.0 to before 29.0.2; fixed in
27.0.2,28.0.2,29.0.2
References
- https://bugs.launchpad.net/keystone/+bug/2148398
- https://security.openstack.org/ossa/OSSA-2026-015.html
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.