Bug 2547360 - CVE-2026-87975 python-django5: Privilege abuse in model formsets with editable primary keys [fedora-all]
Summary: CVE-2026-87975 python-django5: Privilege abuse in model formsets with editabl...
Keywords:
Status: ON_QA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-django5
Version: rawhide
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Michel Lind
QA Contact:
URL:
Whiteboard: {"flaws": ["2d4e61c1-0d0e-487d-8f30-0...
Depends On:
Blocks: CVE-2026-87975
TreeView+ depends on / blocked
 
Reported: 2026-10-07 10:26 UTC by Vladimir Vasilev
Modified: 2026-10-09 02:55 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Vladimir Vasilev 2026-10-07 10:26:56 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

A flaw was found in Django. Model formsets did not correctly validate primary key values submitted in forged POST data when a model's primary key could be set through the form itself, such as with a OneToOneField (or a parent link used as the primary key of an inline formset's model), or a natural or UUID primary key included among the form's fields. An attacker with access to submit data to such a formset could forge POST data referencing primary keys outside the formset's limiting queryset, causing the formset to delete instances outside that queryset, or create instances through what was intended to be an edit-only formset. Models using the default BigAutoField primary key are not affected, since the primary key is not attacker-settable through the form.

Comment 1 Fedora Update System 2026-10-08 13:07:10 UTC
FEDORA-2026-8a0e918188 (python-django5-5.2.18-1.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-8a0e918188

Comment 2 Fedora Update System 2026-10-08 13:07:12 UTC
FEDORA-2026-36373ca634 (python-django5-5.2.18-1.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-36373ca634

Comment 3 Fedora Update System 2026-10-08 13:07:12 UTC
FEDORA-2026-a7b8ff851a (python-django5-5.2.18-1.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-a7b8ff851a

Comment 4 Fedora Update System 2026-10-09 02:08:51 UTC
FEDORA-2026-36373ca634 has been pushed to the Fedora 45 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-36373ca634`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-36373ca634

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2026-10-09 02:30:45 UTC
FEDORA-2026-8a0e918188 has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-8a0e918188`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-8a0e918188

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2026-10-09 02:55:41 UTC
FEDORA-2026-a7b8ff851a has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-a7b8ff851a`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-a7b8ff851a

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.


Note You need to log in before you can comment on or make changes to this bug.