Security mailing lists by PureSourceCode

CVE-2019-19118

MEDIUM 6.5CVSS 3.1

Django 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

SourceScored byVersionScoreVector / 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

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD djangoproject django
cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*
>= 2.1, < 2.1.15 2.1.15
NVD djangoproject django
cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*
>= 2.2, < 2.2.8 2.2.8
NVD fedoraproject fedora
cpe: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

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)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.