CVE-2020-10594 json
Django Rest Framework jwt allows obtaining new token from notionally invalidated token
published 2020-03-15 6 y ago modified 2026-06-17 4 mo ago also GHSA-fpjm-rp2g-3r4c , PYSEC-2020-40 , EUVD-2020-0074
- cvss
- 9.1
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.6%
- EPSS 1.6% chance of exploitation in 30 days, percentile 76%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi drf-jwt 1.15.1
- styria django-rest-framework-json_web_tokens 1.15.1
Exploit prediction
1.62% chance of exploitation in the next 30 days, higher than 76% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| NVD | 2.0 | 5.8 | AV:N/AC:M/Au:N/C:P/I:P/A:N |
| GitHub | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | drf-jwt | >=1.15.0, <1.15.1 |
1.15.1 |
Classification
- Weakness
-
- CWE-287 Improper Authentication
References
-
github.com
/Styria-Digital/django-rest-framework-jwt/commit/868b5c22ddad59772b447080183e7c7101bb18e0
web
-
github.com
/Styria-Digital/django-rest-framework-jwt/issues/36
web, issue-tracking, third-party-advisory, report
-
pypi.org
/project/drf-jwt/1.15.1/#history
web, release-notes, third-party-advisory, package
-
github.com
/jpadilla/django-rest-framework-jwt/issues/484
web, issue-tracking, third-party-advisory, report
-
nvd.nist.gov
/vuln/detail/CVE-2020-10594
advisory
-
github.com
/Styria-Digital/django-rest-framework-jwt
package
-
github.com
/advisories/GHSA-fpjm-rp2g-3r4c
advisory
-
github.com
/pypa/advisory-database/tree/main/vulns/drf-jwt/PYSEC-2020-40.yaml
web
Sources
- CVE List CVE-2020-10594
- GitHub Advisory GHSA-fpjm-rp2g-3r4c
- NVD CVE-2020-10594
- OSV PYSEC-2020-40
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.