Intel

AIKIDO-2026-11011

django-oauth-toolkit is vulnerable to Authorization Logic Flaws

Authorization Logic Flaws Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Yesterday

71

High Risk

This Affects:

PYTHONdjango-oauth-toolkit
0.0.1 - 3.2.0
Fixed in 3.3.0
Are you affected? Scan for Free

TL;DR

This release fixes multiple security issues in django-oauth-toolkit, including an OAuth device-flow authorization flaw where missing scope could lead to device code tokens receiving incorrect/default scopes (scope escalation). It also standardizes device grant model usage via get_device_grant_model() to prevent incorrect grant handling, and includes a DoS mitigation for the RefreshToken admin changelist plus a fix to the JWKS endpoint cache header.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

django-oauth-toolkit is vulnerable to Authorization Logic Flaws in versions 0.0.1 - 3.2.0.

How to fix this

Upgrade the django-oauth-toolkit library to the patch version.