# CVE-2020-1725: Incorrect Authorization in keycloak

- Severity: Medium 5.4 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`
- 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): 0.69%, higher than 54% of CVEs (2026-12-01)
- Published: 2021-01-28T19:05:16.000Z
- Modified: 2026-06-17T03:02:16.840Z
- Also known as: GHSA-p225-pc2x-4jpm
- Weaknesses: CWE-668, CWE-863
- Assigned by: redhat

## Description

A flaw was found in keycloak before version 13.0.0. In some scenarios a user still has access to a resource after changing the role mappings in Keycloak and after expiration of the previous access token.

(As written by CVE List.)

## Affected

- keycloak: keycloak 13.0.0
- org.keycloak:keycloak-parent (Maven): before 13.0.0
- redhat keycloak: before 13.0.0

## Every score

- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`
- NVD: CVSS:2.0 5.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:N`

## References

- <https://issues.redhat.com/browse/KEYCLOAK-16550> (permissions-required, vendor-advisory, web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=1765129> (issue-tracking, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-1725> (advisory)

## Sources

- CVE List: [CVE-2020-1725](https://www.cve.org/CVERecord?id=CVE-2020-1725), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-p225-pc2x-4jpm](https://github.com/advisories/GHSA-p225-pc2x-4jpm), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2020-1725](https://nvd.nist.gov/vuln/detail/CVE-2020-1725), Public domain, modified 2026-06-17

---

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