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

Published Updated

Staff users with view permission can enumerate related model data via the pk alias in Django admin changelists.

CVSS score

Medium

5.1/10

CVSS 4.0 · Scored by DSF Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
Available
6.1.4, 6.0, 6.0.11 +1
Attack path
Over the internet
Admin access, no user action

What is CVE-2026-119642?

CVE-2026-119642 is a medium-severity information disclosure vulnerability in djangoproject Django, published on 2 Dec 2026. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

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.

Weakness: CWE-200

How severe is CVE-2026-119642?

CVE-2026-119642 scores 5.1 out of 10 under CVSS 4.0, which is medium severity. It was scored by DSF.

Attack vector
Network
Attack complexity
Low
Attack requirements
None
Privileges required
High
User interaction
None
Confidentiality
Low
Integrity
None
Availability
None

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

Which versions are affected by CVE-2026-119642?

An affected version is only exploitable if your software calls OneToOneField. Many projects that include it are not exposed.

How do I fix CVE-2026-119642?

Upgrade djangoproject Django to the fixed version for your release line. The advisory names 6.1.4, 6.0, 6.0.11 and 5.2.

Upgrade, and rotate any secrets that may have been exposed. More about Information disclosure.

Is CVE-2026-119642 being exploited?

There is no known exploitation of CVE-2026-119642 in the wild and no public exploit code.

Sources

Also known as ALPINE-CVE-2026-119642, DEBIAN-CVE-2026-119642, GHSA-q4vj-h54x-h77f, UBUNTU-CVE-2026-119642.

Is CVE-2026-119642 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free