CVE-2026-119642: Information leakage in admin changelist via "pk" alias for OneToOneField

Published Dec 2, 2026
·
Updated

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.

Affected Software

1 affected component
Django Software Foundation Django>=6.1.0<6.1.4, >=6.0.0<6.0.11, >=5.2.0<5.2.20

Event History

Dec 2, 2026
CVE Published
via MITRE·01:20 PM
Data Sourced
via MITRE·01:20 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed to this issue?

Deployments using Django 6.1 before 6.1.4, 6.0 before 6.0.11, or 5.2 before 5.2.20 may be affected when the Django admin registers a model that has a custom OneToOneField primary key. Unsupported series, including 5.1.x, 5.0.x, and 4.2.x, were not evaluated and may also be affected.

2

What access and conditions does an attacker need?

An attacker needs staff-level access and view permission for the affected registered model. They can use repeated admin changelist lookup searches with the "pk" query-string alias to enumerate related-model data.

3

What should be checked to determine whether an application is affected?

Review registered Django admin models for custom OneToOneField primary keys, then identify staff accounts or roles granted view permission on those models. Check the deployed Django version against the fixed releases: 6.1.4, 6.0.11, and 5.2.20.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203