CVE-2026-119642 — djangoproject Django
One of 7 djangoproject Django vulnerabilities published together by NVD: our article covers all of them.
PythonVulnerabilitiesWebResearch article
Django admin changelist information leakage via the 'pk' alias on OneToOneField (CVE-2026-119642)
| CVE | CVE-2026-119642 |
|---|---|
| Vendor and product | djangoproject Django |
| Published | December 02, 2026 15:40 UTC |
| Research cut-off | December 02, 2026 15:35 UTC |
| Updated | December 02, 2026 16:00 UTC |
| Sources reviewed | 2: CISA KEV catalog; vendor advisory page (seclists.org) |
Update — December 02, 2026
- The CNA scored it CVSS 4.0 5.1 (Medium): 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X. (NVD record)
- The CNA scored it CVSS 3.1 2.7 (Low): CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N. (NVD record)
- Weakness identified: CWE-200 (Exposure of Sensitive Information to an Unauthorized Actor).
- Fixed versions are now listed: djangoproject Django 6.1.4; djangoproject Django 6.0.11; djangoproject Django 5.2.20 (see the versions table below). (NVD record)
- Fixes are now listed (4, the first 3 here): github.com/django/django/commit/2690ef254abf5120f84d7c99c998f7344455eac2, github.com/django/django/commit/3a88a554a0f45792e91e9338bbd01346af654b57, github.com/django/django/commit/8171bbca0a7a22ead364c3f8b97b94fc06a62a1d.
Executive summary
CVE-2026-119642 is an information leakage flaw in the Django admin changelist, triggered through use of the 'pk' alias on a OneToOneField [2]. The vendor bulletin rates it 'low' under the Django security policy, and no CVSS score or vector is in the reviewed sources [2]. Django 6.1, 6.0 and 5.2 are listed as affected [2]. The vendor reports fixes in Django 6.1.4, 6.0.11 and 5.2.20, with the patch on the main branch and the 6.1, 6.0 and 5.2 branches [2]. The reviewed sources do not describe which data is exposed or who can see it, so the practical exposure depends on the admin pages a deployment runs. The CVE is not listed in the CISA KEV catalog as of 2026-12-02 [1], and the reviewed sources report no exploitation. The most important immediate action is to upgrade each Django installation to the fixed release on its own branch and confirm the installed version [2].
Key points
- CVE-2026-119642 is an information leakage flaw in the Django admin changelist, triggered through the 'pk' alias on a OneToOneField [2].
- Affected branches are Django 6.1, 6.0 and 5.2 [2]; the Django project rates it 'low' [2].
- Fixed releases are 6.1.4, 6.0.11 and 5.2.20 [2].
- No CVSS score, CWE or record status is in the reviewed sources.
- The CVE is not in the CISA KEV catalog as of 2026-12-02 [1]; the reviewed sources report no exploitation [2].
Vulnerability identification
| Field | Value |
|---|---|
| CVE ID | CVE-2026-119642 [2] |
| Vendor and product | Django project, the Python web framework [2] |
| Component | Django admin changelist, handling of the 'pk' alias on a OneToOneField [2] |
| Vendor severity | 'low' under the Django security policy [2] |
| CVSS base score, vector and version | Not in the reviewed sources |
| CWE classification | Not in the reviewed sources |
| Record status and dates | Not in the reviewed sources |
| CISA KEV status | Not listed as of 2026-12-02 [1] |
| Related identifiers | Described as a special case of CVE-2010-4534 [2]; reported by JoeCyberTech [2] |
The severity label is the Django project's own rating, not a CVSS score, so it cannot be compared directly with CVSS-based ratings.
Vulnerability description
The vendor bulletin describes an information leakage issue in the Django admin changelist, the list view the admin site shows for a model. The leak occurs when the 'pk' alias, which refers to the primary key, is used with a OneToOneField, a model field that links one record to exactly one record in another table [2]. The bulletin treats the issue as a special case of CVE-2010-4534 [2]. In security terms, the flaw breaks confidentiality: data that the admin page should not reveal can appear in its output. The reviewed sources do not state which data is revealed, which users can see it, or whether it crosses any account or permission boundary.
Affected products and versions
| Product | Affected versions [2] | Fixed version [2] | Notes |
|---|---|---|---|
| Django 6.1 branch | 6.1 | 6.1.4 | Patch also on the main branch |
| Django 6.0 branch | 6.0 | 6.0.11 | Patch also on the main branch |
| Django 5.2 branch | 5.2 | 5.2.20 | Patch also on the main branch |
The bulletin lists the three branches as affected but does not give the exact start of each vulnerable range. Earlier branches are not named, so their status cannot be determined from the reviewed sources. The bulletin is a copy hosted on a mailing-list archive, not the Django project's own advisory page, so its version data should be checked against the official Django release notes before it is relied on for compliance decisions.
Exploitation and threat intelligence status
The CVE is not in the CISA KEV catalog as of 2026-12-02 [1]. That absence is not evidence that the flaw has not been exploited, and the catalog is not a record of exploitation. The vendor bulletin reports no exploitation [2]. The reviewed sources contain no public proof-of-concept reference, no threat actor attribution and no indicators of compromise. Exploitation in the wild is not established by the reviewed sources.
Remediation
- Upgrade each Django installation to the fixed release on its own branch: 6.1.4, 6.0.11 or 5.2.20 [2]. Do not move a 5.2 deployment to a 6.x release only to pick up this fix.
- Confirm the installed version in the same Python environment the application uses, with the standard Django command python -m django --version, which only reads the installed version. The expected output is the fixed version string, for example 6.1.4 [2].
- Review which admin changelists display a OneToOneField and whether the pk alias is used in them. This shows which deployed admin pages were in the vulnerable code path. The bulletin does not name specific models or views [2].
- Until the upgrade is deployed, the reviewed sources document no workaround. Limit access to the Django admin to trusted staff networks, which reduces who can reach the affected pages but does not remove the flaw.
Remediation checklist
- Upgrade Django 6.1 installations to 6.1.4, Django 6.0 installations to 6.0.11, and Django 5.2 installations to 5.2.20 [2].
- Verify each application environment by running python -m django --version and confirming the fixed version string [2].
- Confirm the upgraded version is the one serving requests in production, including any separate staging and worker environments that run the same codebase.
- Identify admin changelists for models that include a OneToOneField and check whether they use the 'pk' alias, to prioritise review of those pages [2].
- Restrict access to the Django admin site to trusted staff networks until the upgrade is deployed; no workaround is documented in the reviewed sources [2].
- Review admin access logs for the affected changelists for unusual access by non-staff or unexpected accounts; the reviewed sources give no log indicators [2].
- Obtain the official Django release notes for 6.1.4, 6.0.11 and 5.2.20 and check them against the bulletin's version data [2].
Evidence gaps
- Not established by the reviewed sources: the exact data exposed, the user roles that can see it and whether the leak crosses an account or permission boundary; the vendor bulletin does not describe the leaked data, and the Django project's own advisory would need to be checked.
- Not established by the reviewed sources: the CVSS base score, vector and scoring version; the bulletin gives only a vendor severity label [2]. Settle this with the NVD record for CVE-2026-119642.
- Not established by the reviewed sources: the CWE classification; check the NVD record.
- Not established by the reviewed sources: the CVE record status, publication date and last-modified date; check the CVE and NVD records.
- Not established by the reviewed sources: the exact start of each affected range and whether earlier Django branches are affected; check the official Django release notes and the commit history for the fix.
- Not established by the reviewed sources: root cause; the bulletin describes the symptom and the related CVE-2010-4534 but not the code change. The patch diff in the Django repository would settle this.
- Not established by the reviewed sources: any workaround or compensating control; check the official Django advisory.
- Not established by the reviewed sources: exploitation in the wild, proof-of-concept availability and indicators of compromise; monitor CISA KEV and public exploit references, and review logs as described in the checklist.
- Not established by the reviewed sources: the official advisory page and its date; the sole vendor-category source is a mailing-list copy with no stated date [2].
References
- Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-12-02. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-12-02.
- Vendor bulletin page (seclists.org). seclists.org. https://seclists.org/oss-sec/2026/q4/974. Accessed 2026-12-02.
Summary
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.
Severity breakdown
Medium · 5.1
An attacker with administrator rights can exploit this over the network, without any user action.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Special conditions
- none
- Login needed
- yes, an administrator account
- User action needed
- no
- Impact
- low on confidentiality, none on integrity and availability
- Impact on other systems
- none
Weakness
- CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| djangoproject Django | ≥ 6.1, < 6.1.4 | 6.1.4 |
| ≥ 6.0, < 6.0.11 | 6.0.11 | |
| ≥ 5.2, < 5.2.20 | 5.2.20 |
References by type
Patches and fixed releases
- github.com/django/django/commit/2690ef254abf5120f84d7c99c998f7344455eac2
- github.com/django/django/commit/3a88a554a0f45792e91e9338bbd01346af654b57
- github.com/django/django/commit/8171bbca0a7a22ead364c3f8b97b94fc06a62a1d
- github.com/django/django/commit/99d9c8da0f4d2ff6e9ff0ecc9dd388f1089b1663
Other references
Affected
- djangoproject Django
Frequently asked questions
What is CVE-2026-119642?
CVE-2026-119642 is an information leakage flaw in the Django admin changelist, triggered through use of the 'pk' alias on a OneToOneField. The vendor bulletin rates it 'low' under the Django security policy, and no CVSS score or vector is in the reviewed sources. Django 6.1, 6.0 and 5.2 are listed as affected. Weakness type: Exposure of Sensitive Information to an Unauthorized Actor (CWE-200).
How severe is CVE-2026-119642?
CVE-2026-119642 has a CVSS 4.0 base score of 5.1 (medium), from the CNA. An attacker with administrator rights can exploit this over the network, without any user action.
Is CVE-2026-119642 being exploited?
Not as far as is known: CVE-2026-119642 is not in CISA's Known Exploited Vulnerabilities catalog as of December 2, 2026.
Which versions are affected by CVE-2026-119642?
djangoproject Django ≥ 6.1, < 6.1.4 (fixed in 6.1.4); djangoproject Django ≥ 6.0, < 6.0.11 (fixed in 6.0.11); djangoproject Django ≥ 5.2, < 5.2.20 (fixed in 5.2.20).
How do I fix CVE-2026-119642?
Upgrade Django 6.1 installations to 6.1.4, Django 6.0 installations to 6.0.11, and Django 5.2 installations to 5.2.20. Verify each application environment by running python -m django --version and confirming the fixed version string. Confirm the upgraded version is the one serving requests in production, including any separate staging and worker environments that run the same codebase.
Timeline & sources
- oss-security: Django CVE-2026-115868, CVE-2026-119642, CVE-2026-124827, CVE-2026-125673, CVE-2026-127929,...
- NVD: CVE-2026-119642 — djangoproject Django
References
Related vulnerabilities & news
- CVE-2026-132092 — djangoproject Django
- Ubuntu Advisory USN-9335-1 Fixes Certificate Validation Flaw in python-scciclient
- PAGI-FastAPI for Perl Flaw Lets to_app Deployments Skip Auth and CSRF Middleware
- Pydantic Deep 0.2.18 Before 0.4.0 Missing Authentication in DeepResearch App
- Path Traversal Vulnerability in torchvision's extracttar() Function