CVE-2019-19118 json
Django allows unintended model editing
published 6y ago modified 4mo ago also GHSA-hvmf-r92r-27hr , PYSEC-2019-15 , EUVD-2019-0039
- cvss
- 6.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.7%
- EPSS 1.7% chance of exploitation in 30 days, percentile 76%
- public exploits
- 0
- none known
Summary
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.)
Patch / fix
- pypi django 2.1.15, 2.2.8
- djangoproject django 2.1.15, 2.2.8
- python-django Debian 14, Debian 13, Debian 12 2:2.2.8-1
debian advisories DEBIAN-CVE-2019-19118
- python-Django5 openSUSE Tumbleweed 5.2.16-1.1
- python-Django openSUSE Tumbleweed 5.2.16-1.1
- python-Django4 openSUSE Tumbleweed 4.2.30-4.1
- python-Django6 openSUSE Tumbleweed 6.0-1.1
- python-Django4 openSUSE Tumbleweed 4.2.14-1.1
- python-Django openSUSE Tumbleweed 3.2.7-2.3
- python-Django openSUSE Tumbleweed 4.2.11-2.1
opensuse advisories openSUSE-SU-2026:11270-1openSUSE-SU-2026:11248-1openSUSE-SU-2026:11235-1openSUSE-SU-2026:10005-1openSUSE-SU-2024:14208-1openSUSE-SU-2024:11205-1
- python-django Arch Linux 2.2.9-1
arch linux advisories AVG-1070
Is CVE-2019-19118 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2019-19118 updated cvss 6.5
django: privilege escalation in the django admin
-
Red Hat OpenStack Platform 10 (Newton) python-django, python-django-bash-completion Red Hat OpenStack Platform 14 (Rocky) python2-django, python-django-bash-completionaffected: workaround, no fix planned “Out of support scope”
-
Red Hat Ceph Storage 2 python-django, python-django-bash-completion Red Hat Ceph Storage 3 python-django, python-django-bash-completion Red Hat OpenStack Platform 13 (Queens) python-django, python2-django, python-django-bash-completion Red Hat OpenStack Platform 15 (Stein) python-django, python3-django, python-django-bash-completion Red Hat OpenStack Platform 16 (Train) python-django, python3-django, python-django-bash-completion Red Hat Satellite 6 python-django, python2-django, python-django-bash-completionnot affected: vulnerable code not present
+2 more productsfewer
Red Hat Storage 3 python-django, python2-django, python-django-bash-completion Red Hat Update Infrastructure 3 for Cloud Providers python-django
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.67% chance of exploitation in the next 30 days, higher than 76% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| NVD | 2.0 | 4.0 | AV:N/AC:L/Au:S/C:N/I:P/A:N |
| GitHub | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | django | >=2.1, <2.1.15 >=2.2, <2.2.8 |
2.1.15 2.2.8 |
Classification
- Weakness
-
- CWE-276 Incorrect Default Permissions
- Technology feeds
References
-
docs.djangoproject.com
/en/dev/releases/security/
patch, vendor-advisory, web
-
openwall.com
/lists/oss-security/2019/12/02/1
mailing-list, web, patch, third-party-advisory
-
djangoproject.com
/weblog/2019/dec/02/security-releases/
patch, vendor-advisory, article
-
github.com
/django/django/commit/103ebe2b5ff1b2614b85a52c239f471904d26244
web
-
github.com
/django/django/commit/36f580a17f0b3cb087deadf3b65eea024f479c21
web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/6R4HD22PVEVQ45H2JA2NXH443AYJOPL5/
vendor-advisory
-
security.gentoo.org
/glsa/202004-17
vendor-advisory, web, advisory
- groups.google.com /forum/#%21topic/django-announce/GjGqDvtNmWQ
-
security.netapp.com
/advisory/ntap-20191217-0003/
third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2019-19118
advisory
-
docs.djangoproject.com
/en/dev/releases/security
web
-
github.com
/advisories/GHSA-hvmf-r92r-27hr
advisory
-
github.com
/django/django
package
-
github.com
/pypa/advisory-database/tree/main/vulns/django/PYSEC-2019-15.yaml
web
-
groups.google.com
/forum/#!topic/django-announce/GjGqDvtNmWQ
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/6R4HD22PVEVQ45H2JA2NXH443AYJOPL5
web
-
security.netapp.com
/advisory/ntap-20191217-0003
web
-
djangoproject.com
/weblog/2019/dec/02/security-releases
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/6R4HD22PVEVQ45H2JA2NXH443AYJOPL5/
web
Sources
- CVE List CVE-2019-19118
- GitHub Advisory GHSA-hvmf-r92r-27hr
- NVD CVE-2019-19118
- OSV PYSEC-2019-15
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.