Incorrect authorization in Django - CVE-2026-87975

 

Incorrect authorization in Django - CVE-2026-87975

Published: October 7, 2026


Vulnerability identifier: #VU153885
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-87975
CWE-ID: CWE-863
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to delete instances outside the limiting queryset or create instances through edit-only formsets.

The vulnerability exists due to improper authorization enforcement in Django model formsets when processing submitted data for models whose primary keys can be set through the form. A remote attacker can submit forged POST data to delete instances outside the limiting queryset or create instances through edit-only formsets.

Affected configurations include a OneToOneField or parent link used as the primary key of an inline formset's model, or a natural or UUID primary key included in the form's fields. Models using the default BigAutoField primary key are not affected.


Affected software

Django
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Package Hub 15
openSUSE Leap
Fedora
python311-Django
python-django5
python-django6

How to mitigate CVE-2026-87975

Install security update from vendor's website.

Django - addressed in versions 5.2.18, 6.0.9, 6.1.2
python311-Django - update to 4.2.11-150600.3.68.1
python-django5 - addressed in versions 5.2.18-1.fc43, 5.2.18-1.fc44, 5.2.18-1.fc45
python-django6 - addressed in versions 6.1.2-1.fc44, 6.1.2-1.fc45

External References

Related Security Bulletins