{"id":33482,"date":"2026-10-07T00:33:16","date_gmt":"2026-10-06T16:33:16","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-87975"},"modified":"2026-10-07T00:33:16","modified_gmt":"2026-10-06T16:33:16","slug":"cve-2026-87975","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-87975","title":{"rendered":"CVE-2026-87975 [MEDIUM] &#8211; An issue was discovered in Django 6.1 before 6.1.2, 6.0 before 6.0.9, and 5.2 before 5.2.1"},"content":{"rendered":"<p>An issue was discovered in Django 6.1 before 6.1.2, 6.0 before 6.0.9, and 5.2 before 5.2.18.<br \/>\n`django.forms.models.BaseModelFormSet.save_existing_objects()` used the presence of a primary key on a submitted form&#8217;s instance as evidence that the instance belonged to the formset&#8217;s limiting queryset. An object outside that queryset is represented by a newly constructed instance whose primary key can still be populated from submitted data when the model&#8217;s primary key is a field accepted by the form, such as a `OneToOneField` or parent link used as the primary key of an inline formset&#8217;s model, or a natural or UUID primary key included in the form&#8217;s fields. This allows an authenticated user permitted to submit such a formset to delete rows outside the limiting queryset, without any permission on the targeted object, via forged management-form data marking an out-of-queryset object for deletion. Models using the default AutoField primary key are not affected.<br \/>\nEarlier, unsupported Django series (such as 5.1.x, 5.0.x, and 4.2.x) were not evaluated and may also be affected.<br \/>\nDjango would like to thank Seonggwon Yoon for reporting this issue.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>An issue was discovered in Django 6.1 before 6.1.2, 6.0 before 6.0.9, and 5.2 before 5.2.18.<br \/>\n`django.forms.models.BaseModelFormSet.save_existing_objects()` used the presence of a primary key on a subm<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-33482","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/33482","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=33482"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=33482"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=33482"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}