Skip to content

CVE-2026-42999 OpenStack Keystone has an Authorization Bypass

HighCVSS 8.8 EPSS 0.33%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
UbuntuDebianRed Hat

Description

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).

Upgrade path

16 packages: 8 fixed, 8 with no fix yet.

PackageAffectedFixed inStatus
redhat openstack All versions No fix listed No fix yet
redhat/openstack-keystone(Red Hat openstack 16.2) All versions No fix listed No fix yet
redhat/openstack-keystone(Red Hat openstack 17.1) All versions No fix listed No fix yet
redhat/openstack-keystone(Red Hat openstack 18.0) All versions No fix listed No fix yet
redhat/rhoso/openstack-keystone-rhel9(Red Hat openstack 18.0) All versions No fix listed No fix yet
redhat/rhosp-rhel8/openstack-keystone(Red Hat openstack 16.2) All versions No fix listed No fix yet
redhat/rhosp-rhel9/openstack-keystone(Red Hat openstack 17.1) All versions No fix listed No fix yet
redhat/rhosp13/openstack-keystone(Red Hat openstack 13) All versions No fix listed No fix yet
debian/keystone(Debian 12) < 2:22.0.2-0+deb12u3; = 2:22.0.0-2; = 2:22.0.2-0+deb12u1; = 2:22.0.2-0+deb12u2 2:22.0.2-0+deb12u3 Fixed
debian/keystone(Debian 13) < 2:27.0.0-3+deb13u4; = 2:27.0.0-3; = 2:27.0.0-3+deb13u1; = 2:27.0.0-3+deb13u3 2:27.0.0-3+deb13u4 Fixed
debian/keystone(Debian 14) < 2:29.0.1-2; = 2:27.0.0-3; = 2:28.0.0-1; = 2:28.0.0-2 +13 more 2:29.0.1-2 Fixed
OpenStack Keystone >= 14.0.0, < 27.0.2; >= 28.0.0, < 28.0.2; >= 29.0.0, < 29.0.2 27.0.2, 28.0.2, 29.0.2 Fixed
pypi keystone(PyPI) = 14.0.0; = 14.0.1; = 14.1.0; = 14.2.0 +53 more 27.0.2, 28.0.2, 29.0.2 Fixed
ubuntu/keystone(Ubuntu 22.04) < 2:21.0.1-0ubuntu2.4 2:21.0.1-0ubuntu2.4 Fixed
ubuntu/keystone(Ubuntu 24.04) < 2:25.0.0-0ubuntu1.4 2:25.0.0-0ubuntu1.4 Fixed
ubuntu/keystone(Ubuntu 26.04) < 2:29.0.0-0ubuntu1.2 2:29.0.0-0ubuntu1.2 Fixed

Affected products

ProductAffected versionsFixed in
pypi keystone(PyPI) >= 14.0.0, < 27.0.2 27.0.2
pypi keystone(PyPI) = 14.0.0 No fix listed
pypi keystone(PyPI) = 14.0.1 No fix listed
pypi keystone(PyPI) = 14.1.0 No fix listed
pypi keystone(PyPI) = 14.2.0 No fix listed
pypi keystone(PyPI) = 15.0.0 No fix listed
pypi keystone(PyPI) = 15.0.0.0rc1 No fix listed
pypi keystone(PyPI) = 15.0.0.0rc2 No fix listed
pypi keystone(PyPI) = 15.0.1 No fix listed
pypi keystone(PyPI) = 16.0.0 No fix listed
pypi keystone(PyPI) = 16.0.0.0rc1 No fix listed
pypi keystone(PyPI) = 16.0.0.0rc2 No fix listed
pypi keystone(PyPI) = 16.0.1 No fix listed
pypi keystone(PyPI) = 16.0.2 No fix listed
pypi keystone(PyPI) = 17.0.0 No fix listed
pypi keystone(PyPI) = 17.0.0.0rc1 No fix listed
pypi keystone(PyPI) = 17.0.0.0rc2 No fix listed
pypi keystone(PyPI) = 17.0.1 No fix listed
pypi keystone(PyPI) = 18.0.0 No fix listed
pypi keystone(PyPI) = 18.0.0.0rc1 No fix listed
pypi keystone(PyPI) = 18.1.0 No fix listed
pypi keystone(PyPI) = 19.0.0 No fix listed
pypi keystone(PyPI) = 19.0.0.0rc1 No fix listed
pypi keystone(PyPI) = 19.0.0.0rc2 No fix listed
pypi keystone(PyPI) = 19.0.1 No fix listed
Show 71 more
ProductAffected versionsFixed in
pypi keystone(PyPI) = 20.0.0 No fix listed
pypi keystone(PyPI) = 20.0.0.0rc1 No fix listed
pypi keystone(PyPI) = 20.0.1 No fix listed
pypi keystone(PyPI) = 21.0.0 No fix listed
pypi keystone(PyPI) = 21.0.0.0rc1 No fix listed
pypi keystone(PyPI) = 21.0.1 No fix listed
pypi keystone(PyPI) = 22.0.0 No fix listed
pypi keystone(PyPI) = 22.0.0.0rc1 No fix listed
pypi keystone(PyPI) = 22.0.1 No fix listed
pypi keystone(PyPI) = 22.0.2 No fix listed
pypi keystone(PyPI) = 23.0.0 No fix listed
pypi keystone(PyPI) = 23.0.0.0rc1 No fix listed
pypi keystone(PyPI) = 23.0.1 No fix listed
pypi keystone(PyPI) = 23.0.2 No fix listed
pypi keystone(PyPI) = 24.0.0 No fix listed
pypi keystone(PyPI) = 24.0.0.0rc1 No fix listed
pypi keystone(PyPI) = 24.1.0 No fix listed
pypi keystone(PyPI) = 25.0.0 No fix listed
pypi keystone(PyPI) = 25.0.0.0rc1 No fix listed
pypi keystone(PyPI) = 26.0.0 No fix listed
pypi keystone(PyPI) = 26.0.0.0rc1 No fix listed
pypi keystone(PyPI) = 26.1.0 No fix listed
pypi keystone(PyPI) = 26.1.1 No fix listed
pypi keystone(PyPI) = 27.0.0 No fix listed
pypi keystone(PyPI) = 27.0.0.0rc1 No fix listed
pypi keystone(PyPI) = 27.0.1 No fix listed
pypi keystone(PyPI) >= 28.0.0, < 28.0.2 28.0.2
pypi keystone(PyPI) = 28.0.0 No fix listed
pypi keystone(PyPI) = 28.0.1 No fix listed
pypi keystone(PyPI) >= 29.0.0, < 29.0.2 29.0.2
pypi keystone(PyPI) = 29.0.0 No fix listed
pypi keystone(PyPI) = 29.0.1 No fix listed
OpenStack Keystone >= 14.0.0, < 27.0.2 27.0.2
OpenStack Keystone >= 28.0.0, < 28.0.2 28.0.2
OpenStack Keystone >= 29.0.0, < 29.0.2 29.0.2
redhat openstack All versions No fix listed
redhat/rhosp13/openstack-keystone(Red Hat:openstack:13) All versions No fix listed
redhat/openstack-keystone(Red Hat:openstack:16.2) All versions No fix listed
redhat/rhosp-rhel8/openstack-keystone(Red Hat:openstack:16.2) All versions No fix listed
redhat/openstack-keystone(Red Hat:openstack:17.1) All versions No fix listed
redhat/rhosp-rhel9/openstack-keystone(Red Hat:openstack:17.1) All versions No fix listed
redhat/openstack-keystone(Red Hat:openstack:18.0) All versions No fix listed
redhat/rhoso/openstack-keystone-rhel9(Red Hat:openstack:18.0) All versions No fix listed
debian/keystone(Debian:12) < 2:22.0.2-0+deb12u3 2:22.0.2-0+deb12u3
debian/keystone(Debian:12) = 2:22.0.0-2 No fix listed
debian/keystone(Debian:12) = 2:22.0.2-0+deb12u1 No fix listed
debian/keystone(Debian:12) = 2:22.0.2-0+deb12u2 No fix listed
debian/keystone(Debian:13) < 2:27.0.0-3+deb13u4 2:27.0.0-3+deb13u4
debian/keystone(Debian:13) = 2:27.0.0-3 No fix listed
debian/keystone(Debian:13) = 2:27.0.0-3+deb13u1 No fix listed
debian/keystone(Debian:13) = 2:27.0.0-3+deb13u3 No fix listed
debian/keystone(Debian:14) < 2:29.0.1-2 2:29.0.1-2
debian/keystone(Debian:14) = 2:27.0.0-3 No fix listed
debian/keystone(Debian:14) = 2:28.0.0-1 No fix listed
debian/keystone(Debian:14) = 2:28.0.0-2 No fix listed
debian/keystone(Debian:14) = 2:28.0.0-3 No fix listed
debian/keystone(Debian:14) = 2:28.0.0-4 No fix listed
debian/keystone(Debian:14) = 2:28.0.0-5 No fix listed
debian/keystone(Debian:14) = 2:28.0.0-6 No fix listed
debian/keystone(Debian:14) = 2:28.0.0~rc1-1 No fix listed
debian/keystone(Debian:14) = 2:28.0.0~rc1-2 No fix listed
debian/keystone(Debian:14) = 2:28.0.0~rc1-4 No fix listed
debian/keystone(Debian:14) = 2:29.0.0-1 No fix listed
debian/keystone(Debian:14) = 2:29.0.0-2 No fix listed
debian/keystone(Debian:14) = 2:29.0.0-3 No fix listed
debian/keystone(Debian:14) = 2:29.0.0~rc1-1 No fix listed
debian/keystone(Debian:14) = 2:29.0.0~rc1-2 No fix listed
debian/keystone(Debian:14) = 2:29.0.1-1 No fix listed
ubuntu/keystone(Ubuntu:22.04) < 2:21.0.1-0ubuntu2.4 2:21.0.1-0ubuntu2.4
ubuntu/keystone(Ubuntu:24.04) < 2:25.0.0-0ubuntu1.4 2:25.0.0-0ubuntu1.4
ubuntu/keystone(Ubuntu:26.04) < 2:29.0.0-0ubuntu1.2 2:29.0.0-0ubuntu1.2

References