# CVE-2020-10594: Django Rest Framework jwt allows obtaining new token from notionally invalidated token

- Severity: Critical 9.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/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): 1.62%, higher than 76% of CVEs (2026-12-01)
- Published: 2020-03-15T21:22:09.000Z
- Modified: 2026-06-17T02:48:03.807Z
- Also known as: GHSA-fpjm-rp2g-3r4c, PYSEC-2020-40
- Weaknesses: CWE-287
- Assigned by: mitre

## Description

An issue was discovered in drf-jwt 1.15.x before 1.15.1. It allows attackers with access to a notionally invalidated token to obtain a new, working token via the refresh endpoint, because the blacklist protection mechanism is incompatible with the token-refresh feature. NOTE: drf-jwt is a fork of jpadilla/django-rest-framework-jwt, which is unmaintained.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- drf-jwt (PyPI): from 1.15.0 before 1.15.1
- styria django-rest-framework-json_web_tokens: from 1.15.0 before 1.15.1

## Every score

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

## References

- <https://github.com/Styria-Digital/django-rest-framework-jwt/issues/36> (issue-tracking, report, third-party-advisory, web)
- <https://pypi.org/project/drf-jwt/1.15.1/#history> (package, release-notes, third-party-advisory, web)
- <https://github.com/jpadilla/django-rest-framework-jwt/issues/484> (issue-tracking, report, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-10594> (advisory)
- <https://github.com/Styria-Digital/django-rest-framework-jwt/commit/868b5c22ddad59772b447080183e7c7101bb18e0> (web)
- <https://github.com/Styria-Digital/django-rest-framework-jwt> (package)
- <https://github.com/advisories/GHSA-fpjm-rp2g-3r4c> (advisory)
- <https://github.com/pypa/advisory-database/tree/main/vulns/drf-jwt/PYSEC-2020-40.yaml> (web)

## Sources

- CVE List: [CVE-2020-10594](https://www.cve.org/CVERecord?id=CVE-2020-10594), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-fpjm-rp2g-3r4c](https://github.com/advisories/GHSA-fpjm-rp2g-3r4c), CC-BY-4.0, modified 2025-02-21
- NVD: [CVE-2020-10594](https://nvd.nist.gov/vuln/detail/CVE-2020-10594), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2020-40](https://osv.dev/vulnerability/PYSEC-2020-40), CC-BY-4.0, modified 2023-11-08

---

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