{"id":"CVE-2024-22513","aliases":["CVE-2024-22513","GHSA-5vcc-86wm-547q","PYSEC-2026-1305"],"related":[],"kind":"vulnerability","state":"published","title":"Improper Privilege Management in djangorestframework-simplejwt","summary":"djangorestframework-simplejwt version 5.3.1 and before is vulnerable to information disclosure. A user can access web application resources even after their account has been disabled due to missing user validation checks via the for_user method.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"djangorestframework-simplejwt version 5.3.1 and before is vulnerable to information disclosure. A user can access web application resources even after their account has been disabled due to missing user validation checks via the for_user method.","source":"cvelist"},{"lang":"en","text":"djangorestframework-simplejwt before version 5.5.1 is vulnerable to information disclosure. A user can access web application resources even after their account has been disabled due to missing user validation checks via the for_user method.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Djangorestframework-simplejwt versión 5.3.1 y anteriores es vulnerable a la divulgación de información. Un usuario puede acceder a los recursos de la aplicación web incluso después de que su cuenta haya sido deshabilitada debido a que faltan verificaciones de validación del usuario a través del método for_user.","source":"nvd"}],"published":"2024-03-16T00:00:00.000Z","modified":"2026-07-07T17:56:47.386Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":5.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"rating","rating":"LOW"}],"cwes":["CWE-269","CWE-306"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"5.5.1"}],"ecosystem":"PyPI","package":"djangorestframework-simplejwt","purl":"pkg:pypi/djangorestframework-simplejwt","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"5.5.1"}],"ecosystem":"PyPI","package":"djangorestframework-simplejwt","purl":"pkg:pypi/djangorestframework-simplejwt","source":"pysec"}],"references":[{"url":"https://github.com/dmdhrumilmistry/CVEs/tree/main/CVE-2024-22513","tags":["web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-22513","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/jazzband/djangorestframework-simplejwt/issues/779","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/jazzband/djangorestframework-simplejwt/pull/872","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/jazzband/djangorestframework-simplejwt/pull/873","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/jazzband/djangorestframework-simplejwt/pull/891","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/jazzband/djangorestframework-simplejwt/commit/14e8b2cf5fa0df954af82ff3926fa6d6c4ecf13e","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/jazzband/djangorestframework-simplejwt/commit/1ad763bfe73936515aa4756263338c63866364c9","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/jazzband/djangorestframework-simplejwt/commit/a2d0a0201b6123536ecf76cd4d0ec7389317d0a7","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/jazzband/djangorestframework-simplejwt","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://github.com/jazzband/djangorestframework-simplejwt/blob/c791e987332ed5e22a86428160d6372b1d85ffae/rest_framework_simplejwt/tokens.py#L281","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/djangorestframework-simplejwt","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-5vcc-86wm-547q","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-03-18T14:21:23.184Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-22513","url":"https://www.cve.org/CVERecord?id=CVE-2024-22513","licence":"CVE Terms of Use","modified":"2024-11-01T19:28:30.108Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-5vcc-86wm-547q","url":"https://github.com/advisories/GHSA-5vcc-86wm-547q","licence":"CC-BY-4.0","modified":"2026-07-07T17:56:47.386Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-22513","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-22513","licence":"Public domain","modified":"2026-06-17T07:11:30.120Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-1305","url":"https://osv.dev/vulnerability/PYSEC-2026-1305","licence":"CC-BY-4.0","modified":"2026-07-07T17:46:38.050Z"}],"updatedAt":"2026-11-25T22:58:37.612Z","epss":{"score":0.00804,"percentile":0.57902,"date":"2026-12-01T12:00:22.000Z"}}