All reports
High

djoser Authentication Bypass

Affected versions

Version ranges need review.

Affected versions
< 2.3.0
Fixed version
2.3.0
Affected versions
Unknown
Fixed version
2.3.0

Exploitation

CVE-2024-21543

Probability of exploitation in the next 30 days: 0.55%

FIRST EPSS · 2026-11-24

Description

Versions of the package djoser before 2.3.0 are vulnerable to Authentication Bypass when the authenticate() function fails. This is because the system falls back to querying the database directly, granting access to users with valid credentials, and eventually bypassing custom authentication checks such as two-factor authentication, LDAP validations, or requirements from configured AUTHENTICATION_BACKENDS.

Links