GitHub Advisoryadvisory · PyPI
GHSA-whqr-fgm5-x77q OpenStack Keystone's federated token rescoping mechanism doesn't propagate the original token's expiry to the newly issued token
MEDIUM
Official page ↗
- Aliases
- CVE-2026-44394
- Ecosystem
- PyPI
- Packages
- keystone
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:L
- Weaknesses
- CWE-863
- Reviewed
- 2026-07-02
Affected packages
• PyPI keystone: >= 14.0.0, < 27.0.2 → fixed in 27.0.2
• PyPI keystone: >= 28.0.0, < 28.0.2 → fixed in 28.0.2
• PyPI keystone: >= 29.0.0, < 29.0.2 → fixed in 29.0.2
Description
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.
Related
Alias · CVE (1)
- CVE-2026-44394 An issue was discovered in OpenStack Keystone before 29.0.2. vulnerability
Weakness · CWE (1)
- CWE-863 Incorrect Authorization weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-44394 advisory
- https://bugs.launchpad.net/keystone/+bug/2150379 web
- https://github.com/openstack/keystone package
- https://github.com/pypa/advisory-database/tree/main/vulns/keystone/PYSEC-2026-603.yaml web
- https://security.openstack.org/ossa/OSSA-2026-015.html web