Vulnerabilities in pkg:pypi/keystone

PACKAGE
Advisory Identifier: GHSA-whqr-fgm5-x77q
Advisory Summary

CVE-2026-44394 is a MODERATE (CVSS 6.0) openstack keystone's federated token rescoping vulnerability (CWE-863: Incorrect Authorization) affecting Keystone libraries in the PyPI ecosystem. The issue involves openstack keystone's federated token rescoping mechanism doesn't propagate the original token's expiry to the newly issued token. Remediation is available by upgrading affected packages to version 27.0.2, 28.0.2, 29.0.2.

39 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:pypi/keystone

39 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:pypi/keystone. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-whqr-fgm5-x77q CVE-2026-44394 MODERATE OpenStack Keystone's federated token rescoping mechanism doesn't propagate the original token's expiry to the newly issued token
GHSA-q623-f4j4-p4xj CVE-2026-43000 MODERATE OpenStack Keystone has an Incorrect Authorization issue
GHSA-2r23-2g6v-2m5f CVE-2026-42999 MODERATE OpenStack Keystone has an Authorization Bypass
GHSA-8f8m-wrvr-wcvf CVE-2026-42998 MODERATE OpenStack Keystone doesn't verify that the user supplied in the authentication request matches the owner of the application credential
GHSA-4phw-6824-6cfp CVE-2026-33551 LOW OpenStack Keystone: Restricted application credentials can create EC2 credentials
GHSA-hhq2-3832-xxcv CVE-2026-43001 HIGH OpenStack Keystone has an Incorrect Authorization Issue
GHSA-pfx2-9x9m-7ghx CVE-2026-40683 HIGH OpenStack Keystone: LDAP identity backend does not convert enabled attribute to boolean
GHSA-4ppj-4p4v-jf4p CVE-2013-0270 MODERATE OpenStack Keystone Denial of Service vulnerability via a large HTTP request
GHSA-hcqg-5g63-7j9h CVE-2025-65073 HIGH OpenStack Keystone allows /v3/ec2tokens or /v3/s3tokens request with valid AWS Signature to provide Keystone authorization.
GHSA-6mv3-p2gr-wgqf CVE-2014-2828 HIGH OpenStack Identity (Keystone) DoS through V3 API authentication chaining
GHSA-23x9-8hxr-978c CVE-2014-2237 HIGH OpenStack Identity (Keystone) Trustee token revocations does not work with memcache backend
GHSA-5qpp-v56f-mqfm CVE-2013-4294 MODERATE OpenStack Identity (Keystone) allows remote attackers to bypass intended access restrictions via revoked PKI token
GHSA-22q6-wwq7-2jj9 CVE-2013-1865 MODERATE OpenStack Keystone Improper Authentication vulnerability
GHSA-v8fq-gq9j-3v7h CVE-2014-5252 HIGH OpenStack Identity (Keystone) UUID v2 tokens does not expire with revocation events
GHSA-gmvp-5rf9-mxcm CVE-2014-5251 HIGH OpenStack Identity (Keystone) Multiple vulnerabilities in revocation events
GHSA-77w8-qv8m-386h CVE-2014-5253 HIGH OpenStack Keystone Domain-scoped tokens don't get revoked
GHSA-f82m-w3p3-cgp3 CVE-2016-4911 MODERATE OpenStack Identity Keystone Improper Access Control
GHSA-hj89-qmx9-8qmh CVE-2013-2059 MODERATE OpenStack Identity (Keystone) improper revoking of the authentication token when deleting a user
GHSA-j36m-hv43-7w7m CVE-2017-2673 HIGH OpenStack Identity service (keystone) Incorrect Authorization
GHSA-rxrm-xvp4-jqvh CVE-2013-2006 LOW OpenStack Keystone Sensitive information disclosure via log files
GHSA-gf2q-j2qq-pjf2 CVE-2012-3542 HIGH OpenStack Keystone Allows Remote User Account Creation
GHSA-chgw-36xv-47cw CVE-2020-12689 HIGH OpenStack Keystone EC2 and/or credential endpoints are not protected from a scoped context
GHSA-rqw2-hhrf-7936 CVE-2020-12692 MODERATE OpenStack Keystone does not check signature TTL of the EC2 credential auth method
GHSA-8c4w-v65p-jvcv CVE-2015-7546 HIGH OpenStack Identity Keystone and keystonemiddleware Insufficiently Protected Credentials
GHSA-2j23-fwqm-mgwr CVE-2019-19687 HIGH OpenStack Keystone Credential Leakage
GHSA-6m8p-x4qw-gh5j CVE-2020-12690 HIGH Insufficient Session Expiration in OpenStack Keystone
GHSA-w66p-78g4-mr7g CVE-2012-5563 HIGH OpenStack Keystone Insufficient token expiration
GHSA-4427-7f3w-mqv6 CVE-2020-12691 HIGH OpenStack Keystone V3 /credentials endpoint policy logic allows to change credentials owner or target project ID
GHSA-c4p9-87h3-7vr4 CVE-2014-0204 MODERATE OpenStack Identity Keystone Improper Privilege Management
GHSA-8v8f-vc72-pmhc CVE-2014-3621 MODERATE OpenStack Identity Keystone Exposure of Sensitive Information
GHSA-274v-r947-v34r CVE-2014-3476 MODERATE OpenStack Identity Keystone is vulnerable to Block delegation escalation of privilege
GHSA-7332-36h8-8jh8 CVE-2013-2014 MODERATE OpenStack Identity (Keystone) Denial of Service
GHSA-4225-97pr-rr52 CVE-2021-38155 HIGH OpenStack Keystone allows information disclosure during account locking
GHSA-qh2x-hpf9-cf2g CVE-2013-2255 MODERATE OpenStack Keystone and other components vulnerable to Improper Certificate Validation
GHSA-f889-wfwm-6p7m CVE-2013-4477 LOW OpenStack Identity Keystone Privilege Escalation vulnerability
GHSA-jwpw-ppj5-7h4w CVE-2015-3646 MODERATE OpenStack Keystone Logs Passwords
GHSA-mf98-r2gf-2x3w CVE-2012-4456 HIGH OpenStack Keystone Improper Authentication vulnerability
GHSA-mrxv-65rv-6hxq CVE-2012-4413 MODERATE OpenStack Keystone does not invalidate existing tokens when granting or revoking roles
GHSA-cc99-whm5-mmq3 CVE-2021-3563 CRITICAL Openstack Keystone Incorrect Authorization vulnerability

CVE-2026-44394 at a Glance

CVE Identifier CVE-2026-44394
GHSA Identifier GHSA-whqr-fgm5-x77q
Severity MODERATE
CVSS v3.1 Base Score 6.0
CWE Classification CWE-863: Incorrect Authorization
Affected Product Keystone
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 6.0

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:L).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Changed (S:C)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability Low (A:L)

How to Fix CVE-2026-44394

To remediate this vulnerability, upgrade all affected Keystone dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

keystone fixed: 27.0.2
pip install keystone>=27.0.2
keystone fixed: 28.0.2
pip install keystone>=28.0.2
keystone fixed: 29.0.2
pip install keystone>=29.0.2
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

pip show keystone

How to Check if You Are Affected

To determine whether your Python environment is affected by CVE-2026-44394, inspect your installed packages using pip:

pip show keystone

Analyze the terminal output to locate any version of Keystone in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 27.0.2), your application is affected.

Note: The pip show keystone command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-863: Incorrect Authorization, where the product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check. In Keystone, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

An issue was discovered in OpenStack Keystone before 29.0.2. The Keystone federated token rescoping mechanism does not propagate the original token's expiry to the newly issued token. When a federated user rescopes a token via POST /v3/auth/tokens, the handle_scoped_token() function in the mapped authentication plugin returns response data without an expires_at value. The token provider falls back to issuing a token with a fresh default TTL. By rescoping repeatedly before each token expires, a user can maintain access indefinitely, bypassing operator-configured token lifetime policies. This is a variant of CVE-2012-3426. Only deployments using federated identity (SAML2, OpenID Connect) are affected.

CVE-2026-44394 Affected Keystone Versions

3 component(s)
Fixed Versions:
27.0.228.0.229.0.2
Product / Package Ecosystem Affected Versions Fixed Version
keystone
PyPI
≥ 14.0.0
< 27.0.2
27.0.2
keystone
PyPI
≥ 28.0.0
< 28.0.2
28.0.2
keystone
PyPI
≥ 29.0.0
< 29.0.2
29.0.2

References

Frequently Asked Questions

What is CVE-2026-44394?
CVE-2026-44394 is a security vulnerability in Keystone involving OpenStack Keystone's federated token rescoping mechanism doesn't propagate the original token's expiry to the newly issued token under CWE-863: Incorrect Authorization.
Which Keystone versions are affected?
Affected versions include releases prior to 27.0.2, 28.0.2, 29.0.2 across affected packages: keystone.
What version fixes CVE-2026-44394?
Upgrading to 27.0.2, 28.0.2, 29.0.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is keystone affected?
Yes, keystone is affected in releases prior to 27.0.2, 28.0.2, 29.0.2. Upgrade your dependency to 27.0.2, 28.0.2, 29.0.2 or later.
What is the CVSS score of CVE-2026-44394?
CVE-2026-44394 has a CVSS v3.1 base score of 6.0 (MODERATE) with vector string CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:L.
What CWE is associated with CVE-2026-44394?
CVE-2026-44394 is classified under CWE-863: Incorrect Authorization (The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.).
How can I check PyPI dependencies for CVE-2026-44394?
Run the dependency tree command: 'pip show keystone'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-whqr-fgm5-x77q",
  "modified" : "2026-07-02T17:44:27Z",
  "published" : "2026-05-28T21:32:02Z",
  "aliases" : [ "CVE-2026-44394" ],
  "summary" : "OpenStack Keystone's federated token rescoping mechanism doesn't propagate the original token's expiry to the newly issued token",
  "details" : "An issue was discovered in OpenStack Keystone before 29.0.2. The Keystone federated token rescoping mechanism does not propagate the original token's expiry to the newly issued token. When a federated user rescopes a token via POST /v3/auth/tokens, the handle_scoped_token() function in the mapped authentication plugin returns response data without an expires_at value. The token provider falls back to issuing a token with a fresh default TTL. By rescoping repeatedly before each token expires, a user can maintain access indefinitely, bypassing operator-configured token lifetime policies. This is a variant of CVE-2012-3426. Only deployments using federated identity (SAML2, OpenID Connect) are affected.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:L"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "keystone"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "14.0.0"
      }, {
        "fixed" : "27.0.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "keystone"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "28.0.0"
      }, {
        "fixed" : "28.0.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "keystone"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "29.0.0"
      }, {
        "fixed" : "29.0.2"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-44394"
  }, {
    "type" : "WEB",
    "url" : "https://bugs.launchpad.net/keystone/+bug/2150379"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/openstack/keystone"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pypa/advisory-database/tree/main/vulns/keystone/PYSEC-2026-603.yaml"
  }, {
    "type" : "WEB",
    "url" : "https://security.openstack.org/ossa/OSSA-2026-015.html"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-863" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-07-02T17:44:27Z",
    "nvd_published_at" : "2026-05-28T19:16:38Z"
  }
}