{"cve":"CVE-2019-19118","nvd":{"published":"2019-12-02T14:15:10.880","modified":"2026-06-17T02:26:11.883","status":"Modified","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.)","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","score":6.5},"cwes":["CWE-276"],"references":["http://www.openwall.com/lists/oss-security/2019/12/02/1","https://docs.djangoproject.com/en/dev/releases/security/","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"],"products":["djangoproject:django","fedoraproject:fedora"],"source":"nvd","synced_at":"2026-10-19T20:59:27.069234358+00:00"},"epss":{"cve":"CVE-2019-19118","score":0.0167,"percentile":0.76798,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-hvmf-r92r-27hr","url":"https://osv.dev/vulnerability/GHSA-hvmf-r92r-27hr","summary":"Django allows unintended model editing","modified":"2024-11-19T05:33:19.050183Z","packages":[{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=2.1 <2.1.15"],"fixed":["2.1.15"]},{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=2.2 <2.2.8"],"fixed":["2.2.8"]}]},{"id":"PYSEC-2019-15","url":"https://osv.dev/vulnerability/PYSEC-2019-15","summary":"","modified":"2023-11-08T04:01:27.740072Z","packages":[{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=2.1 <2.1.15",">=2.2 <2.2.8"],"fixed":["2.1.15","2.2.8"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}