Vulnerability record
Information leakage in admin changelist via "pk" alias for OneToOneField
An issue was discovered in Django 6.1 before 6.1.4, 6.0 before 6.0.11, and 5.2 before 5.2.20.
The admin changelist allows staff users with view permission on a registered model with a custom OneToOneField primary key to enumerate related model data via repeated lookup searches using the "pk" alias in the query string.
Earlier, unsupported Django series (such as 5.1.x, 5.0.x, and 4.2.x) were not evaluated and may also be affected.
Django would like to thank JoeCyberTech for reporting this issue.
5.1/CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:NExploitability
AV:NAC:LAT:NPR:HUI:NImpact
VC:LVI:NVA:NSC:NSI:NSA:NRemediation
No fixed version has been published for this vulnerability yet. Check the references below for vendor advisories, workarounds and mitigation guidance.
Sources