cve.bz

CVE-2019-19118

6.5 mediumEPSS 1.7%

Medium (6.5). EPSS 1.7% chance of exploitation in the next 30 days. Fixed in django 2.1.15, 2.2.8.

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.)

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
EPSS
1.7% chance of exploitation in the next 30 days; higher than 76% of CVEs (scores of 2026-10-31)
CWE
CWE-276
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-hvmf-r92r-27hrPyPIdjango>=2.1 <2.1.152.1.15
GHSA-hvmf-r92r-27hrPyPIdjango>=2.2 <2.2.82.2.8
PYSEC-2019-15PyPIdjango>=2.1 <2.1.15
>=2.2 <2.2.8
2.1.15, 2.2.8

References

Check your stackJSON