Intel

AIKIDO-2026-10265

django-request-token is vulnerable to Improper Authentication

Improper Authentication Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Feb 27, 2026

56

Medium Risk

This Affects:

PYTHONdjango-request-token
0.10.0 - 2.4.0
Fixed in 3.0.0
Are you affected? Scan for Free

TL;DR

Affected versions of this package allowed @use_request_token(scope="...") to be applied without explicitly setting required, which previously defaulted to False and silently allowed token-less requests to pass through, creating a misleading access-control footgun. An attacker could exploit this by calling endpoints decorated with @use_request_token(...) without providing any token, bypassing the intended token-gated protection and reaching privileged handlers to read sensitive data or trigger unauthorized state-changing actions, depending on what those routes expose.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range or if you didn't explicitly set required=True on endpoints or views that rely on token validation.

Background info

django-request-token is vulnerable to Improper Authentication in versions 0.10.0 - 2.4.0.

How to fix this

Upgrade the django-request-token library to the patch version or set required=True.