# CVE-2024-22513: Improper Privilege Management in djangorestframework-simplejwt

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/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.80%, higher than 57% of CVEs (2026-12-01)
- Published: 2024-03-16T00:00:00.000Z
- Modified: 2026-07-07T17:56:47.386Z
- Also known as: GHSA-5vcc-86wm-547q, PYSEC-2026-1305
- Weaknesses: CWE-269, CWE-306
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- djangorestframework-simplejwt (PyPI): before 5.5.1

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- GitHub: rating Low

## References

- <https://github.com/dmdhrumilmistry/CVEs/tree/main/CVE-2024-22513> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-22513> (advisory)
- <https://github.com/jazzband/djangorestframework-simplejwt/issues/779> (web)
- <https://github.com/jazzband/djangorestframework-simplejwt/pull/872> (web)
- <https://github.com/jazzband/djangorestframework-simplejwt/pull/873> (web)
- <https://github.com/jazzband/djangorestframework-simplejwt/pull/891> (web)
- <https://github.com/jazzband/djangorestframework-simplejwt/commit/14e8b2cf5fa0df954af82ff3926fa6d6c4ecf13e> (web)
- <https://github.com/jazzband/djangorestframework-simplejwt/commit/1ad763bfe73936515aa4756263338c63866364c9> (web)
- <https://github.com/jazzband/djangorestframework-simplejwt/commit/a2d0a0201b6123536ecf76cd4d0ec7389317d0a7> (web)
- <https://github.com/jazzband/djangorestframework-simplejwt> (package)
- <https://github.com/jazzband/djangorestframework-simplejwt/blob/c791e987332ed5e22a86428160d6372b1d85ffae/rest_framework_simplejwt/tokens.py#L281> (web)
- <https://pypi.org/project/djangorestframework-simplejwt> (package)
- <https://github.com/advisories/GHSA-5vcc-86wm-547q> (advisory)

## Sources

- CVE List: [CVE-2024-22513](https://www.cve.org/CVERecord?id=CVE-2024-22513), CVE Terms of Use, modified 2024-11-01
- GitHub Advisory Database: [GHSA-5vcc-86wm-547q](https://github.com/advisories/GHSA-5vcc-86wm-547q), CC-BY-4.0, modified 2026-07-07
- NVD: [CVE-2024-22513](https://nvd.nist.gov/vuln/detail/CVE-2024-22513), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1305](https://osv.dev/vulnerability/PYSEC-2026-1305), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2024-22513 · Whole record: https://cve.day/CVE-2024-22513.json · Rebuilt by cve.day 2026-11-25T22:58:37.612Z
