{"api_version":"1","generated_at":"2026-07-23T22:43:33+00:00","cve":"CVE-2019-19118","urls":{"html":"https://cve.report/CVE-2019-19118","api":"https://cve.report/api/cve/CVE-2019-19118.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2019-19118","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2019-19118"},"summary":{"title":"CVE-2019-19118","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.)","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2019-12-02 14:15:00","updated_at":"2023-11-07 03:07:00"},"problem_types":["CWE-276"],"metrics":[],"references":[{"url":"https://groups.google.com/forum/#%21topic/django-announce/GjGqDvtNmWQ","name":"https://groups.google.com/forum/#%21topic/django-announce/GjGqDvtNmWQ","refsource":"","tags":[],"title":"Google Groups","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6R4HD22PVEVQ45H2JA2NXH443AYJOPL5/","name":"FEDORA-2019-adc8990386","refsource":"FEDORA","tags":["Third Party Advisory"],"title":"[SECURITY] Fedora 31 Update: python-django-2.2.8-1.fc31 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://docs.djangoproject.com/en/dev/releases/security/","name":"https://docs.djangoproject.com/en/dev/releases/security/","refsource":"MISC","tags":["Patch","Vendor Advisory"],"title":"Archive of security issues | Django documentation | Django","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6R4HD22PVEVQ45H2JA2NXH443AYJOPL5/","name":"FEDORA-2019-adc8990386","refsource":"","tags":[],"title":"[SECURITY] Fedora 31 Update: python-django-2.2.8-1.fc31 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://security.netapp.com/advisory/ntap-20191217-0003/","name":"https://security.netapp.com/advisory/ntap-20191217-0003/","refsource":"CONFIRM","tags":["Third Party Advisory"],"title":"CVE-2019-19118 Django Vulnerability in NetApp Products | NetApp Product Security","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://groups.google.com/forum/#!topic/django-announce/GjGqDvtNmWQ","name":"https://groups.google.com/forum/#!topic/django-announce/GjGqDvtNmWQ","refsource":"MISC","tags":["Third Party Advisory"],"title":"Google Groups","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.djangoproject.com/weblog/2019/dec/02/security-releases/","name":"https://www.djangoproject.com/weblog/2019/dec/02/security-releases/","refsource":"CONFIRM","tags":["Patch","Vendor Advisory"],"title":"Django security releases issued: 2.2.8 and 2.1.15 | Weblog | Django","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.openwall.com/lists/oss-security/2019/12/02/1","name":"[oss-security] 20191202 Django 2.2.8 and 2.1.15: CVE-2019-19118: Privilege escalation in the Django admin.","refsource":"MLIST","tags":["Mailing List","Patch","Third Party Advisory"],"title":"oss-security - Django 2.2.8 and 2.1.15: CVE-2019-19118: Privilege escalation in the\n Django admin.","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://security.gentoo.org/glsa/202004-17","name":"GLSA-202004-17","refsource":"GENTOO","tags":[],"title":"Django: Multiple vulnerabilities (GLSA 202004-17) — Gentoo security","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-19118","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-19118","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2019","cve_id":"19118","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"djangoproject","cpe5":"django","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2019","cve_id":"19118","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"djangoproject","cpe5":"django","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2019","cve_id":"19118","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"31","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2019","cve_id":"19118","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"31","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2019-19118","qid":"981613","title":"Python (pip) Security Update for django (GHSA-hvmf-r92r-27hr)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2019-19118","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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.)"}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"url":"https://docs.djangoproject.com/en/dev/releases/security/","refsource":"MISC","name":"https://docs.djangoproject.com/en/dev/releases/security/"},{"refsource":"MLIST","name":"[oss-security] 20191202 Django 2.2.8 and 2.1.15: CVE-2019-19118: Privilege escalation in the Django admin.","url":"http://www.openwall.com/lists/oss-security/2019/12/02/1"},{"refsource":"MISC","name":"https://groups.google.com/forum/#!topic/django-announce/GjGqDvtNmWQ","url":"https://groups.google.com/forum/#!topic/django-announce/GjGqDvtNmWQ"},{"refsource":"CONFIRM","name":"https://www.djangoproject.com/weblog/2019/dec/02/security-releases/","url":"https://www.djangoproject.com/weblog/2019/dec/02/security-releases/"},{"refsource":"CONFIRM","name":"https://security.netapp.com/advisory/ntap-20191217-0003/","url":"https://security.netapp.com/advisory/ntap-20191217-0003/"},{"refsource":"FEDORA","name":"FEDORA-2019-adc8990386","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6R4HD22PVEVQ45H2JA2NXH443AYJOPL5/"},{"refsource":"GENTOO","name":"GLSA-202004-17","url":"https://security.gentoo.org/glsa/202004-17"}]}},"nvd":{"publishedDate":"2019-12-02 14:15:00","lastModifiedDate":"2023-11-07 03:07:00","problem_types":["CWE-276"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"HIGH","availabilityImpact":"NONE","baseScore":6.5,"baseSeverity":"MEDIUM"},"exploitabilityScore":2.8,"impactScore":3.6},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:S/C:N/I:P/A:N","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"SINGLE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"NONE","baseScore":4},"severity":"MEDIUM","exploitabilityScore":8,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*","versionStartIncluding":"2.1","versionEndExcluding":"2.1.15","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*","versionStartIncluding":"2.2","versionEndExcluding":"2.2.8","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2019","CveId":"19118","Ordinal":"160687","Title":"CVE-2019-19118","CVE":"CVE-2019-19118","Year":"2019"},"notes":[{"CveYear":"2019","CveId":"19118","Ordinal":"1","NoteData":"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.)","Type":"Description","Title":null},{"CveYear":"2019","CveId":"19118","Ordinal":"2","NoteData":"2019-12-02","Type":"Other","Title":"Published"},{"CveYear":"2019","CveId":"19118","Ordinal":"3","NoteData":"2020-04-30","Type":"Other","Title":"Modified"}]}}}