Advisory record · GHSA-v49p-m6gh-747c

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, ...

CVSS 5.7 MediumEPSS 0.0055 · 46th percentile

Published by the GitHub Advisory Database at 13 Dec 2024, 05:15 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
djoserPyPI<d33c3993c0c735f23cbedc60fa59fce69354f19d || <2.3.0d33c3993c0c735f23cbedc60fa59fce69354f19d, 2.3.0
Identifiers
GHSA-v49p-m6gh-747c · CVE-2024-21543 · PYSEC-2024-158
Weakness (CWE)
CWE-287 · CWE-295
Published
13 Dec 2024
Updated
10 Jun 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Djoser versions before 2.3.0 are vulnerable to authentication bypass. When the authenticate() function fails, the system falls back to querying the database directly, so users with valid credentials can gain access and skip custom checks such as two-factor authentication, LDAP validation, or AUTHENTICATION_BACKENDS requirements. Upgrade djoser to version 2.3.0 or later.

Written 10 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
5.7 Medium 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/E:P CNA (snyk)
  • CISA KEV Not listed.
  • EPSS 0.0055, the 46th percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

This record came from the full history of the GitHub Advisory Database, published 13 Dec 2024. New records show when each source confirmed them.

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.