# CVE-2020-12690: Insufficient Session Expiration in OpenStack Keystone

- Severity: High 8.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.90%, higher than 80% of CVEs (2026-12-01)
- Published: 2020-05-06T23:43:10.000Z
- Modified: 2026-06-17T02:52:08.467Z
- Also known as: GHSA-6m8p-x4qw-gh5j, PYSEC-2020-54
- Weaknesses: CWE-613
- Assigned by: mitre

## Description

An issue was discovered in OpenStack Keystone before 15.0.1, and 16.0.0. The list of roles provided for an OAuth1 access token is silently ignored. Thus, when an access token is used to request a keystone token, the keystone token contains every role assignment the creator had for the project. This results in the provided keystone token having more role assignments than the creator intended, possibly giving unintended escalated access.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- keystone (PyPI): before 15.0.1; from 16.0.0.0rc1 before 16.0.0
- openstack keystone: before 15.0.1; 16.0.0

## Every score

- GitHub: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:P`

## References

- <https://security.openstack.org/ossa/OSSA-2020-005.html> (vendor-advisory, web)
- <https://bugs.launchpad.net/keystone/+bug/1873290> (patch, third-party-advisory, web)
- <https://www.openwall.com/lists/oss-security/2020/05/06/6> (mailing-list, third-party-advisory, web)
- <http://www.openwall.com/lists/oss-security/2020/05/07/3> (mailing-list, third-party-advisory, web)
- <https://lists.apache.org/thread.html/re4ffc55cd2f1b55a26e07c83b3c22c3fe4bae6054d000a57fb48d8c2%40%3Ccommits.druid.apache.org%3E> (mailing-list)
- <https://usn.ubuntu.com/4480-1/> (vendor-advisory, web)
- <https://lists.apache.org/thread.html/re237267da268c690df5e1c6ea6a38a7fc11617725e8049490f58a6fa%40%3Ccommits.druid.apache.org%3E> (mailing-list)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-12690> (advisory)
- <https://github.com/advisories/GHSA-6m8p-x4qw-gh5j> (advisory)
- <https://github.com/openstack/keystone> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/keystone/PYSEC-2020-54.yaml> (web)
- <https://lists.apache.org/thread.html/re4ffc55cd2f1b55a26e07c83b3c22c3fe4bae6054d000a57fb48d8c2@%3Ccommits.druid.apache.org%3E> (web)
- <https://usn.ubuntu.com/4480-1> (web)

## Sources

- CVE List: [CVE-2020-12690](https://www.cve.org/CVERecord?id=CVE-2020-12690), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-6m8p-x4qw-gh5j](https://github.com/advisories/GHSA-6m8p-x4qw-gh5j), CC-BY-4.0, modified 2024-09-27
- NVD: [CVE-2020-12690](https://nvd.nist.gov/vuln/detail/CVE-2020-12690), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2020-54](https://osv.dev/vulnerability/PYSEC-2020-54), CC-BY-4.0, modified 2023-11-08

---

Page: https://cve.day/CVE-2020-12690 · Whole record: https://cve.day/CVE-2020-12690.json · Rebuilt by cve.day 2026-11-25T22:57:52.321Z
