CVE-2019-19118Djangoproject Django
Medium 6.5
Follow: this CVE · Djangoproject · Djangoproject Django We alert you by email or Slack (account required).
- Priority
- 39
- CVSS 3.1
- 6.5
- EPSS
- 1.7% probability of exploitation in 30 days · percentile 77
- Auth required
- Yes
- Published
- Dec 2, 2019
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-276
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
What happens
Django 2.1 before 2.1.15 and 2.2 before 2.2.8 allows unintended model editing. A Django model admin displaying inline related models, where the user has view-only permissions to a parent model but edit permissions to the inline model, would be presented with an editing UI, allowing POST requests, for updating the inline model. Directly editing the view-only parent model was not possible, but the parent model's save() method was called, triggering potential side effects, and causing pre and post-save signal handlers to be invoked. (To resolve this, the Django admin is adjusted to require edit permissions on the parent model in order for inline models to be editable.)
What to do
- Apply the vendor's security update for Django.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | django |
≥ 2.1 < 2.1.15 |
2.1.15 |
pip install "django>=2.1.15" |
| PyPI | django |
≥ 2.2 < 2.2.8 |
2.2.8 |
pip install "django>=2.2.8" |
| PyPI | django |
≥ 2.1 < 2.1.15 |
2.1.15 |
pip install "django>=2.1.15" |
| PyPI | django |
≥ 2.2 < 2.2.8 |
2.2.8 |
pip install "django>=2.2.8" |
Per OSV / GitHub Advisories (GHSA-hvmf-r92r-27hr, PYSEC-2019-15). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| djangoproject | django | ≥ 2.1 < 2.1.15 |
| djangoproject | django | ≥ 2.2 < 2.2.8 |
| fedoraproject | fedora | 31 |
Official advisories
- python313-Django5-5.2.16-1.1 on GA media · SUSE · openSUSE-SU-2026:11270-1 · Jul 14, 2026 Critical
- python313-Django-5.2.16-1.1 on GA media · SUSE · openSUSE-SU-2026:11248-1 · Jul 10, 2026 Critical
- python313-Django4-4.2.30-4.1 on GA media · SUSE · openSUSE-SU-2026:11235-1 · Jul 9, 2026 Critical
Also: SUSE (+1)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- www.openwall.com Mailing List Patch Third Party Advisory
- docs.djangoproject.com Patch Vendor Advisory
- groups.google.com
- lists.fedoraproject.org
- security.gentoo.org
- security.netapp.com Third Party Advisory
- www.djangoproject.com Patch Vendor Advisory