Incorrect authorization in Django - CVE-2026-87975
Published: October 7, 2026
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
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
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