Description
An issue was discovered in Django 6.1 before 6.1.3 and 6.0 before 6.0.10.
The `django.contrib.admin.utils.display_for_field()` function did not obfuscate the password field of user models other than `AUTH_USER_MODEL`, or of an `AUTH_USER_MODEL` inheriting its password field from a concrete parent model through multi-table inheritance, which allows authenticated staff users with only the view permission on such a model to obtain full password hashes via the read-only change form.
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 Aaron chen for reporting this issue.
Published: 2026-11-03
Score: 2.1 Low
EPSS: n/a
KEV: No
Impact: Password Hash Disclosure
Action: Patch
AI Analysis

Impact

In Django 6.1 prior to 6.1.3 and 6.0 prior to 6.0.10 the admin utility display_for_field() failed to obfuscate password fields for custom user models that are not the default AUTH_USER_MODEL or for subclasses that inherited the password field via multi‑table inheritance. Staff users with only view permission on such models can read full password hashes in the read‑only change form. The leaked hashes can be used for offline brute‑force or credential stuffing attacks, compromising account confidentiality; the vulnerability does not allow code execution or privilege escalation.

Affected Systems

The defect impacts Django releases 6.1 before 6.1.3 and 6.0 before 6.0.10, and potentially earlier unsupported series such as 5.1.x, 5.0.x, and 4.2.x. It manifests when custom user models or subclasses of AUTH_USER_MODEL are exposed in the admin with view‑only permissions.

Risk and Exploitability

The CVSS score of 2.1 indicates a very low severity. Exploitation requires legitimate staff access to the admin interface; external attackers cannot trigger the path. The disclosed information consists solely of password hashes, reducing the immediacy of impact but enabling offline cracking. EPSS data is unavailable and the vulnerability is not in the CISA KEV catalog, suggesting no known public exploitation but still warranting remediation due to the sensitive data revealed.

Generated by OpenCVE AI on November 3, 2026 at 16:57 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the official Django security release 6.1.3 or 6.0.10, which corrects the password hash disclosure flaw identified as CWE‑522.
  • If using an unsupported series such as Django 5.x or 4.2.x, apply the patch changes from the referenced commits manually or plan an upgrade; the patches mitigate CWE‑522 by ensuring password fields are properly obfuscated.
  • Until a fix is applied, minimize exposure by removing the password field from any view‑only admin form, or deny view permissions for custom user models, thereby preventing sensitive data leakage associated with CWE‑522.

Generated by OpenCVE AI on November 3, 2026 at 16:57 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 03 Nov 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 03 Nov 2026 17:00:00 +0000

Type Values Removed Values Added
First Time appeared Django Project
Django Project django
Djangoproject
Djangoproject django
Vendors & Products Django Project
Django Project django
Djangoproject
Djangoproject django

Tue, 03 Nov 2026 15:45:00 +0000

Type Values Removed Values Added
Description An issue was discovered in Django 6.1 before 6.1.3 and 6.0 before 6.0.10. The `django.contrib.admin.utils.display_for_field()` function did not obfuscate the password field of user models other than `AUTH_USER_MODEL`, or of an `AUTH_USER_MODEL` inheriting its password field from a concrete parent model through multi-table inheritance, which allows authenticated staff users with only the view permission on such a model to obtain full password hashes via the read-only change form. 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 Aaron chen for reporting this issue.
Title Password hash disclosure to "view only" admin users with custom user models
Weaknesses CWE-522
References
Metrics cvssV3_1

{'score': 2.2, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:N'}

cvssV4_0

{'score': 2.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N'}


Subscriptions

Django Project Django
Djangoproject Django
cve-icon MITRE

Status: PUBLISHED

Assigner: DSF

Published:

Updated: 2026-11-03T18:26:15.014Z

Reserved: 2026-10-20T16:07:10.868Z

Link: CVE-2026-113733

cve-icon Vulnrichment

Updated: 2026-11-03T17:19:22.459Z

cve-icon NVD

Status : Deferred

Published: 2026-11-03T16:17:19.397

Modified: 2026-11-03T19:17:54.060

Link: CVE-2026-113733

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-03T17:00:16Z

Weaknesses
  • CWE-522

    Insufficiently Protected Credentials