---
id: CVE-2012-4413
aliases:
  - GHSA-mrxv-65rv-6hxq
  - PYSEC-2026-833
title: >-
  OpenStack Keystone does not invalidate existing tokens when granting or
  revoking roles
summary: >-
  OpenStack Keystone does not invalidate existing tokens when granting or
  revoking roles
severity: medium
vendor: keystone
product: keystone
ecosystem: pip
affected:
  - keystone < 2012.1.3
patched:
  - keystone 2012.1.3
published: '2022-05-17'
updated: '2026-09-10'
sourceUpdated: '2026-09-10T03:49:24.022441172Z'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-mrxv-65rv-6hxq'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2012-4413'
  - url: 'https://access.redhat.com/errata/RHSA-2012:1378'
  - url: 'https://access.redhat.com/security/cve/CVE-2012-4413'
  - url: 'https://bugs.launchpad.net/keystone/+bug/1041396'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=855491'
  - url: 'https://exchange.xforce.ibmcloud.com/vulnerabilities/78478'
  - url: 'https://opendev.org/openstack/keystone'
  - url: 'https://review.opendev.org/c/openstack/keystone/+/12870'
  - url: >-
      https://web.archive.org/web/20121114023848/http://www.securityfocus.com/bid/55524
  - url: >-
      http://github.com/openstack/keystone/commit/58ac6691a21675be9e2ffb0f84a05fc3cd4d2e2e
  - url: 'http://www.openwall.com/lists/oss-security/2012/09/12/7'
  - url: 'http://www.ubuntu.com/usn/USN-1564-1'
tags:
  - osv
  - pip
epss: 0.01897
epssPercentile: 0.78443
ingestedAt: '2026-07-08T18:25:51.441Z'
---

## Overview

OpenStack Keystone before 2012.1.3 does not invalidate existing tokens when granting or revoking roles, which allows remote authenticated users to retain the privileges of the revoked roles.

## Affected packages

- `keystone < 2012.1.3`

## Remediation

Upgrade to a patched release:

- `keystone 2012.1.3`
