# CVE-2015-7546: OpenStack Identity Keystone and keystonemiddleware Insufficiently Protected Credentials

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, NVD) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 2.00% (percentile 81, 2026-11-26)
- **CWE:** CWE-522
- **Aliases:** GHSA-8c4w-v65p-jvcv, PYSEC-2016-20, PYSEC-2026-2549
- **Published:** 2016-02-03T15:00:00.000Z
- **Modified:** 2026-07-13T16:42:52.889Z

## Who should check

- Projects that depend on PyPI package keystone (\>= 9.0.0.0b1, \< 9.0.0.0b2)
- Projects that depend on PyPI package keystonemiddleware (\>= 2.4.0, \< 4.1.0)
- Anyone running n/a (versions: see the vendor advisory)

## Description

The identity service in OpenStack Identity (Keystone) before 2015.1.3 (Kilo) and 8.0.x before 8.0.2 (Liberty) and keystonemiddleware (formerly python-keystoneclient) before 1.5.4 (Kilo) and Liberty before 2.3.3 does not properly invalidate authorization tokens when using the PKI or PKIZ token providers, which allows remote authenticated users to bypass intended access restrictions and gain access to cloud resources by manipulating byte fields within a revoked token.

## Affected and fixed versions

- PyPI `keystone`: affected \>= 9.0.0.0b1, \< 9.0.0.0b2; fixed 9.0.0.0b2, 8.1.0 (osv)
- PyPI `keystonemiddleware`: affected \>= 2.4.0, \< 4.1.0; fixed 4.1.0, 1.5.4, 2.3.3 (osv)
- n/a: see vendor advisory (nvd)

## Mitigation

- Upgrade keystone to one of 9.0.0.0b2, 8.1.0 (or later in the same release line).
- Upgrade keystonemiddleware to one of 4.1.0, 1.5.4, 2.3.3 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2015-7546. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2015-7546.md
Affected: keystone >= 9.0.0.0b1, < 9.0.0.0b2; keystonemiddleware >= 2.4.0, < 4.1.0
Fixed in: 9.0.0.0b2, 8.1.0, 4.1.0, 1.5.4, 2.3.3

Steps:
1. Search this machine and project for keystone (PyPI), keystonemiddleware (PyPI), n/a: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2015-7546 being exploited?

There is no confirmed exploitation: CVE-2015-7546 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 2.00% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2015-7546?

High: CVSS 7.5 (v3.1, scored by NVD). Remote, login needed. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2015-7546?

keystone \>= 9.0.0.0b1, \< 9.0.0.0b2; keystonemiddleware \>= 2.4.0, \< 4.1.0.

### Is there a fix for CVE-2015-7546?

Yes. Fixed in 9.0.0.0b2, 8.1.0, 4.1.0, 1.5.4, 2.3.3. Upgrade keystone to one of 9.0.0.0b2, 8.1.0 (or later in the same release line). Upgrade keystonemiddleware to one of 4.1.0, 1.5.4, 2.3.3 (or later in the same release line).

### How do I check if I'm affected by CVE-2015-7546?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://wiki.openstack.org/wiki/OSSN/OSSN-0062>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2015-7546>
- vendor: <https://github.com/advisories/GHSA-8c4w-v65p-jvcv>
- patch: <https://security.openstack.org/ossa/OSSA-2016-005.html>
- patch: <https://github.com/openstack/keystone/commit/bff03b5726fe5cac93d44a66715eea49b89c8cb0>
- patch: <https://github.com/openstack/keystone/commit/d5378f173da14a34ca010271477337879002d6d0>
- patch: <https://github.com/openstack/keystonemiddleware/commit/96ab58e6863c92575ada57615b19652e502adfd8>
- other: <http://www.oracle.com/technetwork/topics/security/bulletinapr2016-2952098.html>
- other: <https://bugs.launchpad.net/keystone/+bug/1490804>
- other: <http://www.securityfocus.com/bid/80498>
- other: <https://github.com/pypa/advisory-database/tree/main/vulns/keystonemiddleware/PYSEC-2016-20.yaml>
- other: <https://web.archive.org/web/20200228002640/http://www.securityfocus.com/bid/80498>
- other: <https://pypi.org/project/keystone>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2015-7546>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-8c4w-v65p-jvcv> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2016-20> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2026-2549> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2015-7546> · JSON: <https://flawdb.com/api/v1/entries/CVE-2015-7546>
