CVE-2026-119642 PUBLISHED

Information leakage in admin changelist via "pk" alias for OneToOneField

Assigner: DSF
Reserved: 30.10.2026 Published: 02.12.2026 Updated: 02.12.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
CVSS Score: 5.1

Product Status

Vendor djangoproject
Product Django
Versions Default: unaffected
  • affected from 6.1 to 6.1.4 (excl.)
  • Version 6.1.4 is unaffected
  • affected from 6.0 to 6.0.11 (excl.)
  • Version 6.0.11 is unaffected
  • affected from 5.2 to 5.2.20 (excl.)
  • Version 5.2.20 is unaffected

Credits

  • JoeCyberTech reporter
  • Jacob Walls remediation developer
  • Sarah Boyce remediation reviewer
  • Jacob Walls coordinator

References

Problem Types

  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor CWE

Impacts

  • CAPEC-116: Excavation