CVE-2019-19118Django 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,…
- 6.5MediumCVSS base score
- 1.7%Exploitation in 30 daysEPSS · top 23% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
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.)
Timeline
ID reserved
By mitre
- 13 days later
· 13 days later
Published
- 5 years later
· 5 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | Medium6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
- EPSS (exploitation in 30 days)
- 1.7% · top 23% of all CVEs (15 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.5.
Affected products
n/a
- affected n/a
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- PyPIDjangoGHSA-hvmf-r92r-27hr (opens in a new tab)
References
References7
- https://docs.djangoproject.com/en/dev/releases/security/ (opens in a new tab)x_refsource_MISCx_transferred
- [oss-security] 20191202 Django 2.2.8 and 2.1.15: CVE-2019-19118: Privilege escalation in the Django admin. (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- https://groups.google.com/forum/#%21topic/django-announce/GjGqDvtNmWQ (opens in a new tab)x_refsource_MISCx_transferred
- https://www.djangoproject.com/weblog/2019/dec/02/security-releases/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://security.netapp.com/advisory/ntap-20191217-0003/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- FEDORA-2019-adc8990386 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- GLSA-202004-17 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2019-0039 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-hvmf-r92r-27hr (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2019-19118)Record last updated .