Advisory

UBUNTU-CVE-2026-42999

Also known as: CVE-2026-42999

Summary

The record has no summary.

Details

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

Severity

Medium Basis: CVSS v3 score 6, vector CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:L

Dates

Published
2026-05-28 19:16 UTC
Modified
2026-09-30 18:23 UTC

Affected packages and fixes

keystone

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 2:21.0.1-0ubuntu2.4 (ecosystem)

Fixed versions

2:21.0.1-0ubuntu2.4

Fix

  • Fixed version 2:21.0.1-0ubuntu2.4
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

keystone

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 2:25.0.0-0ubuntu1.4 (ecosystem)

Fixed versions

2:25.0.0-0ubuntu1.4

Fix

  • Fixed version 2:25.0.0-0ubuntu1.4
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

keystone

Debian packages (deb) · Ubuntu 25.10

Affected

  • introduced 0, fixed 2:28.0.0-0ubuntu1.3 (ecosystem)

Fixed versions

2:28.0.0-0ubuntu1.3

Fix

  • Fixed version 2:28.0.0-0ubuntu1.3
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

keystone

Debian packages (deb) · Ubuntu 26.04

Affected

  • introduced 0, fixed 2:29.0.0-0ubuntu1.2 (ecosystem)

Fixed versions

2:29.0.0-0ubuntu1.2

Fix

  • Fixed version 2:29.0.0-0ubuntu1.2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences