{"schemaVersion":3,"id":"CVE-2019-19118","aliases":["GHSA-hvmf-r92r-27hr","PYSEC-2019-15","DEBIAN-CVE-2019-19118"],"status":"published","duplicateOf":null,"title":null,"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.)","dates":{"published":"2019-12-02T13:16:34.000Z","modified":"2024-08-05T02:09:39.366Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.5,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"OSV · Pypi","score":7.1,"severity":"high","vector":"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","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","exploitability":7.2,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","exploitability":7.2,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":4,"severity":"medium","vector":"AV:N/AC:L/Au:S/C:N/I:P/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0167,"percentile":0.76454,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.0167},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.0167,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.0167,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.0167,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.0167,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.0167,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0167,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0167,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0167,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0167,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0167,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0167,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0167,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0167,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0167,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0167,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0167,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0167,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0167,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0167,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0167,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0167,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0167,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0167,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0167,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0167,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0167,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0167,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0167,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0167,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0167,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0167,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0167,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0167,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0167,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0167,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0167,"percentile":0.76454}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.0167,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0167,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0167,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0167,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0167,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0167,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0167,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0167,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0167,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0167,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0167,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0167,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0167,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0167,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0167,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0167,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0167,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0167,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0167,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0167,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0167,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0167,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0167,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0167,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0167,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0167,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0167,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0167,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0167,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0167,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0167,"percentile":0.76454}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-276","name":"Incorrect Default Permissions","description":"During installation, installed file permissions are set to allow anyone to modify those files.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/276.html"}],"affected":[{"vendor":"debian","product":"python-django","name":"python-django","label":"python-django","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/python-django","purlType":"deb","versions":[{"text":"< 2:2.2.8-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2:2.2.8-1","eol":null,"hubHref":null},{"vendor":"djangoproject","product":"django","name":"django","label":"django","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 2.1, < 2.1.15","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.2, < 2.2.8","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.1, < 2.1.15 | ≥ 2.2, < 2.2.8","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"django","label":"Django","category":"framework"}},"hubHref":"/vendor/djangoproject/django"},{"vendor":"fedoraproject","product":"fedora","name":"fedora","label":"fedora","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"31","noFixRecorded":false,"fixedIn":null}],"versionsText":"31","eol":{"isEol":true,"eolDate":"2020-11-24T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"31","label":"31","eolFrom":"2020-11-24T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"fedora","label":"Fedora Linux","category":"os"}},"hubHref":"/vendor/fedoraproject/fedora"},{"vendor":"PyPI","product":"django","name":"django","label":"django","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/django","purlType":"pypi","versions":[{"text":"≥ 2.1, < 2.1.15","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.2, < 2.2.8","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.1, < 2.1.15 | ≥ 2.2, < 2.2.8","eol":null,"hubHref":null}],"affectedCount":4,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://docs.djangoproject.com/en/dev/releases/security/","label":"docs.djangoproject.com/en/dev/releases/security/","hostname":"docs.djangoproject.com","tags":["X Refsource MISC","WEB","Patch","Vendor Advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2019/12/02/1","label":"www.openwall.com/lists/oss-security/2019/12/02/1","hostname":"www.openwall.com","tags":["Mailing List","X Refsource MLIST","WEB","Patch","Third Party Advisory"]},{"url":"https://groups.google.com/forum/#%21topic/django-announce/GjGqDvtNmWQ","label":"groups.google.com/forum/","hostname":"groups.google.com","tags":["X Refsource MISC"]},{"url":"https://www.djangoproject.com/weblog/2019/dec/02/security-releases/","label":"www.djangoproject.com/weblog/2019/dec/02/security-releases/","hostname":"www.djangoproject.com","tags":["X Refsource CONFIRM","ARTICLE","Patch","Vendor Advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20191217-0003/","label":"security.netapp.com/advisory/ntap-20191217-0003/","hostname":"security.netapp.com","tags":["X Refsource CONFIRM","Advisory","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6R4HD22PVEVQ45H2JA2NXH443AYJOPL5/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://security.gentoo.org/glsa/202004-17","label":"security.gentoo.org/glsa/202004-17","hostname":"security.gentoo.org","tags":["Vendor Advisory","X Refsource GENTOO","WEB","Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-19118","label":"nvd.nist.gov/vuln/detail/CVE-2019-19118","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/django/django/commit/103ebe2b5ff1b2614b85a52c239f471904d26244","label":"github.com/django/django/commit/103ebe2b5ff1b2614b85a52c239f471904d26244","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/django/django/commit/36f580a17f0b3cb087deadf3b65eea024f479c21","label":"github.com/django/django/commit/36f580a17f0b3cb087deadf3b65eea024f479c21","hostname":"github.com","tags":["WEB"]},{"url":"https://docs.djangoproject.com/en/dev/releases/security","label":"docs.djangoproject.com/en/dev/releases/security","hostname":"docs.djangoproject.com","tags":["WEB"]},{"url":"https://github.com/advisories/GHSA-hvmf-r92r-27hr","label":"github.com/advisories/GHSA-hvmf-r92r-27hr","hostname":"github.com","tags":["Advisory"]},{"url":"https://github.com/django/django","label":"github.com/django/django","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2019-15.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2019-15.yaml","hostname":"github.com","tags":["WEB"]},{"url":"https://groups.google.com/forum/#!topic/django-announce/GjGqDvtNmWQ","label":"groups.google.com/forum/","hostname":"groups.google.com","tags":["WEB"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6R4HD22PVEVQ45H2JA2NXH443AYJOPL5","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["WEB"]},{"url":"https://security.netapp.com/advisory/ntap-20191217-0003","label":"security.netapp.com/advisory/ntap-20191217-0003","hostname":"security.netapp.com","tags":["WEB"]},{"url":"https://www.djangoproject.com/weblog/2019/dec/02/security-releases","label":"www.djangoproject.com/weblog/2019/dec/02/security-releases","hostname":"www.djangoproject.com","tags":["WEB"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6R4HD22PVEVQ45H2JA2NXH443AYJOPL5/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["WEB"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2019-19118","label":"security-tracker.debian.org/tracker/CVE-2019-19118","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2024:11205-1","OPENSUSE-SU-2024:13887-1","OPENSUSE-SU-2024:14208-1","OPENSUSE-SU-2026:10005-1","OPENSUSE-SU-2026:11235-1","OPENSUSE-SU-2026:11248-1","OPENSUSE-SU-2026:11270-1"],"duplicates":[],"related":["OPENSUSE-SU-2024:11205-1","OPENSUSE-SU-2024:13887-1","OPENSUSE-SU-2024:14208-1","OPENSUSE-SU-2026:10005-1","OPENSUSE-SU-2026:11235-1","OPENSUSE-SU-2026:11248-1","OPENSUSE-SU-2026:11270-1"]},"timeline":[{"kind":"published","date":"2019-12-02T13:16:34.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T02:09:39.366Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":26,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T22:49:17.400Z","stale":false,"partial":false}}