CVE-2012-3426: Keystone Token Expiration Bypass Vulnerability

keystone Updated 02 Oct 2025

Summary

31/07/2012
N/A
Yes i
Unrated
Not published

PYSEC-2012-34: OpenStack Keystone before 2012.1.1, as used in OpenStack Folsom before Folsom-1 and OpenStack Essex, does not properly implement token expiration, which allows remote authenticated users to bypass intended authorization... Affects keystone across 6 version ranges.

< 29e74e73a6e51cffc0371b32354558391826a4aa < 375838cfceb88cacc312ff6564e64eb18ee6a355 < 628149b3dc6b58b91fd08e6ca8d91c728ccb8626 < a67b24878a6156eab17b9098fa649f0279256f5d < d9600434da14976463a0bd03abd8e0309f0db454 < ea03d05ed5de0c015042876100d37a6a14bf56de

Fixed in ea03d05ed5de0c015042876100d37a6a14bf56de. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Keystone is the identity service used by OpenStack, providing authentication and authorization services for cloud applications. It manages user accounts, roles, and permissions, enabling secure access to resources. However, prior to version 2012.1.1, Keystone had a vulnerability related to token expiration, which could allow unauthorized access to resources.

Vulnerability Detail

The vulnerability arises from improper implementation of token expiration in OpenStack Keystone versions before 2012.1.1. This flaw allows remote authenticated users to bypass authorization restrictions through various means, including creating new tokens via token chaining, using tokens from disabled accounts, or exploiting tokens from accounts with changed passwords. The implications of this vulnerability are significant, as it can lead to unauthorized access to sensitive resources and data.

How To Fix

Latest published version: 30.0.0 as of 22 Oct 2026

pip install --upgrade "keystone==30.0.0"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

ea03d05ed5de0c015042876100d37a6a14bf56de

This is the first release that contains the fix.

pip install --upgrade "keystone==ea03d05ed5de0c015042876100d37a6a14bf56de"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, administrators can implement stricter access controls and monitor token usage closely until the system can be updated. Additionally, disabling token chaining may reduce the risk of exploitation.

Conclusion

The CVE-2012-3426 vulnerability in OpenStack Keystone poses significant security risks due to improper token expiration handling. It is crucial for users to update to a patched version to mitigate these risks and ensure the security of their cloud applications.

See every vulnerability recorded for keystone →

Share this vulnerability

FAQ

CVE-2012-3426 is a vulnerability in OpenStack Keystone that allows authenticated users to bypass authorization restrictions due to improper token expiration handling.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

All versions of Keystone before 2012.1.1 are affected by this vulnerability.

The risks include unauthorized access to resources, potential data breaches, and the ability for attackers to exploit user accounts.

You can implement stricter access controls and monitor token usage closely as a temporary measure until you can apply the necessary updates.

Related vulnerabilities

Recent vulnerabilities recorded for keystone.

How To Fix

Latest published version: 30.0.0 as of 22 Oct 2026

pip install --upgrade "keystone==30.0.0"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

ea03d05ed5de0c015042876100d37a6a14bf56de

This is the first release that contains the fix.

pip install --upgrade "keystone==ea03d05ed5de0c015042876100d37a6a14bf56de"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback