Advisory

PYSEC-2026-602

Also known as: CVE-2026-43001, GHSA-hhq2-3832-xxcv

Summary

The record has no summary.

Details

An issue was discovered in OpenStack Keystone before 29.0.2. POST /v3/credentials did not validate that the caller-supplied project_id for an EC2-type credential matched the project of the authenticating application credential. This allowed an attacker holding an unrestricted application credential for project A to create an EC2 credential targeting project B; a subsequent /v3/ec2tokens exchange would then issue a Keystone token scoped to project B while still carrying the original app_cred_id, enabling cross-project lateral movement within the credential owner's role footprint.

Severity

High Basis: CVSS v3 score 8, vector CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H

Dates

Published
2026-05-01 09:16 UTC
Modified
2026-07-13 16:45 UTC

Affected packages and fixes

keystone

PyPI · All systems

Affected

  • introduced 14.0.0, fixed 27.0.2, introduced 28.0.0, fixed 28.0.2, introduced 29.0.0, fixed 29.0.2 (ecosystem)

Fixed versions

27.0.2, 28.0.2, 29.0.2

Fix

  • Fixed version 27.0.2
    pip install --upgrade keystone==27.0.2
  • Fixed version 28.0.2
    pip install --upgrade keystone==28.0.2
  • Fixed version 29.0.2
    pip install --upgrade keystone==29.0.2

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: PyPA Advisory Database · CC BY 4.0

Sources & licences