Advisory

PYSEC-2026-1305

Also known as: CVE-2024-22513, GHSA-5vcc-86wm-547q

Summary

Improper Privilege Management in djangorestframework-simplejwt

Details

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.

Severity

Not rated by the source.

Dates

Published
2026-07-07 11:45 UTC
Modified
2026-07-07 17:46 UTC

Affected packages and fixes

djangorestframework-simplejwt

PyPI · All systems

Affected

  • introduced 0, fixed 5.5.1 (ecosystem)

Fixed versions

5.5.1

Fix

  • Fixed version 5.5.1
    pip install --upgrade djangorestframework-simplejwt==5.5.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences