{"id":"CVE-2020-10594","aliases":["CVE-2020-10594","GHSA-fpjm-rp2g-3r4c","PYSEC-2020-40"],"related":[],"kind":"vulnerability","state":"published","title":"Django Rest Framework jwt allows obtaining new token from notionally invalidated token","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Se detectó un problema en drf-jwt versiones 1.15.x anteriores a 1.15.1. Permite a atacantes con acceso a un token nocionalmente invalidado obtener un nuevo token de trabajo por medio del endpoint de actualización, porque el mecanismo de protección de lista negra es incompatible con la funcionalidad token-refresh. NOTA: drf-jwt es una derivación de jpadilla/django-rest-framework-jwt, que no es mantenida.","source":"nvd"}],"published":"2020-03-15T21:22:09.000Z","modified":"2026-06-17T02:48:03.807Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:N","score":5.8,"rating":"MEDIUM"}],"cwes":["CWE-287"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"1.15.0","status":"affected","fixed":"1.15.1"}],"ecosystem":"PyPI","package":"drf-jwt","purl":"pkg:pypi/drf-jwt","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"1.15.0","fixed":"1.15.1"}],"vendor":"styria","product":"django-rest-framework-json_web_tokens","cpe":"cpe:2.3:a:styria:django-rest-framework-json_web_tokens:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"1.15.0","status":"affected","fixed":"1.15.1"}],"ecosystem":"PyPI","package":"drf-jwt","purl":"pkg:pypi/drf-jwt","source":"pysec"}],"references":[{"url":"https://github.com/Styria-Digital/django-rest-framework-jwt/issues/36","tags":["issue-tracking","report","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://pypi.org/project/drf-jwt/1.15.1/#history","tags":["package","release-notes","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/jpadilla/django-rest-framework-jwt/issues/484","tags":["issue-tracking","report","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-10594","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/Styria-Digital/django-rest-framework-jwt/commit/868b5c22ddad59772b447080183e7c7101bb18e0","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/Styria-Digital/django-rest-framework-jwt","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-fpjm-rp2g-3r4c","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/drf-jwt/PYSEC-2020-40.yaml","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-10594","url":"https://www.cve.org/CVERecord?id=CVE-2020-10594","licence":"CVE Terms of Use","modified":"2024-08-04T11:06:09.995Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-fpjm-rp2g-3r4c","url":"https://github.com/advisories/GHSA-fpjm-rp2g-3r4c","licence":"CC-BY-4.0","modified":"2025-02-21T05:30:03.596Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-10594","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-10594","licence":"Public domain","modified":"2026-06-17T02:48:03.807Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2020-40","url":"https://osv.dev/vulnerability/PYSEC-2020-40","licence":"CC-BY-4.0","modified":"2023-11-08T04:01:58.465Z"}],"updatedAt":"2026-11-25T22:57:51.433Z","epss":{"score":0.01615,"percentile":0.76714,"date":"2026-12-01T12:00:22.000Z"}}