ADVISORIES

Vulnerability

CVE-2024-21543

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.

6 advisories report this vulnerability, across 3 ecosystems.

Medium severity All Debian 2PyPI 2Ubuntu 2

Advisories

  • DEBIAN-CVE-2024-21543

    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…

    CVE-2024-21543 Debian Updated 2 November 2026
  • DLA-4060-1

    djoser - security update

    CVE-2024-21543 Debian Updated 20 November 2026
  • GHSA-v49p-m6gh-747c

    djoser Authentication Bypass

    High CVE-2024-21543 PyPI Updated 21 February 2025
  • PYSEC-2024-158

    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…

    CVE-2024-21543 PyPI Updated 10 June 2026
  • UBUNTU-CVE-2024-21543

    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…

    CVE-2024-21543 Ubuntu Updated 4 February 2026
  • USN-7354-1

    djoser vulnerability

    CVE-2024-21543 Ubuntu Updated 10 February 2026

References