Critical Account Takeover Vulnerability in Python-Django Package

python-django Updated 03 Oct 2025

Summary

18/12/2019
N/A
Yes i
Critical
9.8

UBUNTU-CVE-2019-19844: Django before 1.11.27, 2.x before 2.2.9, and 3.x before 3.0.1 allows account takeover. Affects python-django versions < 1.6.11-0ubuntu1.3+esm7. Fixed in 1.6.11-0ubuntu1.3+esm7. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

Python-Django is a high-level Python web framework that encourages rapid development and clean, pragmatic design. It is widely used for building web applications due to its simplicity and flexibility. However, certain versions of Python-Django are vulnerable to an account takeover issue, which can have severe implications for user security.

Vulnerability Detail

Django versions prior to 1.11.27, 2.x before 2.2.9, and 3.x before 3.0.1 are susceptible to an account takeover vulnerability. This issue arises when a crafted email address matches an existing user's email address after case transformation of Unicode characters, allowing an attacker to receive a password reset token for that user. This vulnerability can lead to unauthorized access to user accounts, compromising sensitive information and user privacy.

How To Fix

Minimum fixed version

1.6.11-0ubuntu1.3+esm7

This is the first release that contains the fix.

sudo apt-get install --only-upgrade python-django

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary measure, it is recommended to implement additional checks on email addresses during the password reset process to prevent unauthorized access. This can include sending password reset tokens only to the registered user email address.

Conclusion

The account takeover vulnerability in Python-Django poses a significant risk to user security. It is crucial to update to the latest patched versions of the package to mitigate this risk. Additionally, implementing temporary workarounds can help protect user accounts until the update is applied.

See every vulnerability recorded for python-django →

Share this vulnerability

FAQ

The CVSS score of this vulnerability is 9.8, indicating a critical level of severity.

Affected versions include Django before 1.11.27, 2.x before 2.2.9, and 3.x before 3.0.1.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.

The vulnerability can lead to unauthorized access to user accounts, allowing attackers to compromise sensitive information and user privacy.

Yes, Vulert can monitor and alert in real-time for open-source vulnerabilities in your software using just a manifest file like package-lock.json.

Related vulnerabilities

Recent vulnerabilities recorded for python-django.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

1.6.11-0ubuntu1.3+esm7

This is the first release that contains the fix.

sudo apt-get install --only-upgrade python-django

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback