CVE-2019-19118
MEDIUM 6.5CVSS 3.1Django allows unintended model editing
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.)
- Published
- 2 Dec 2019
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-276
- Also known as
- GHSA-hvmf-r92r-27hrPYSEC-2019-15
- Sources
- NVDJSONOSV GHSA-hvmf-r92r-27hrJSONOSV PYSEC-2019-15JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.0 | AV:N/AC:L/Au:S/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* |
>= 2.1, < 2.1.15 | 2.1.15 |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* |
>= 2.2, < 2.2.8 | 2.2.8 |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:* |
= 31 | |
| OSV | PyPI | django | >= 2.1, < 2.1.15 | 2.1.15 |
| OSV | PyPI | django | >= 2.2, < 2.2.8 | 2.2.8 |
| OSV | PyPI | django | >= 2.1, < 2.1.15; >= 2.2, < 2.2.8 | 2.1.15, 2.2.8 |
References
- http://www.openwall.com/lists/oss-security/2019/12/02/1 · Mailing List, Patch, Third Party Advisory, WEB
- https://docs.djangoproject.com/en/dev/releases/security/ · Patch, Vendor Advisory, WEB
- https://groups.google.com/forum/#%21topic/django-announce/GjGqDvtNmWQ
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6R4HD22PVEVQ45H2JA2NXH443AYJOPL5/
- https://security.gentoo.org/glsa/202004-17 · WEB, ADVISORY
- https://security.netapp.com/advisory/ntap-20191217-0003/ · Third Party Advisory, WEB, ADVISORY
- https://www.djangoproject.com/weblog/2019/dec/02/security-releases/ · Patch, Vendor Advisory, WEB, ARTICLE
- https://nvd.nist.gov/vuln/detail/CVE-2019-19118 · ADVISORY
- https://github.com/django/django/commit/103ebe2b5ff1b2614b85a52c239f471904d26244 · WEB
- https://github.com/django/django/commit/36f580a17f0b3cb087deadf3b65eea024f479c21 · WEB
- https://github.com/advisories/GHSA-hvmf-r92r-27hr · ADVISORY
- https://github.com/django/django · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2019-15.yaml · WEB
- https://groups.google.com/forum/#!topic/django-announce/GjGqDvtNmWQ · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6R4HD22PVEVQ45H2JA2NXH443AYJOPL5 · WEB
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 2 Dec 2019)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 2 Dec 2019)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 4 Dec 2019)