CVE-2026-61588: Djust Password Hashes, Privilege Flags, And Vulnerability

MODERATE
Advisory Identifier: GHSA-pvg3-6q9j-mj3x
CVSS 6.5
CWE-200 CWE-359
Published
Advisory Summary

CVE-2026-61588 is a MODERATE (CVSS 6.5) password hashes, privilege flags, and vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Djust libraries in the PyPI ecosystem. The issue involves password hashes, privilege flags, and pii on a public view attribute are sent to the client. Remediation is available by upgrading affected packages to version 1.0.7.

CVE-2026-61588 at a Glance

CVE Identifier CVE-2026-61588
GHSA Identifier GHSA-pvg3-6q9j-mj3x
Severity MODERATE
CVSS v3.1 Base Score 6.5
CWE Classification CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
Affected Product Djust
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 6.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2026-61588

To remediate this vulnerability, upgrade all affected Djust dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

djust fixed: 1.0.7
pip install djust>=1.0.7
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

pip show djust

How to Check if You Are Affected

To determine whether your Python environment is affected by CVE-2026-61588, inspect your installed packages using pip:

pip show djust

Analyze the terminal output to locate any version of Djust in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.0.7), your application is affected.

Note: The pip show djust command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. In Djust, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Impact When a Django `Model` instance is assigned to a **public** view attribute, djust serialized it to the client with **no sensitive-field denylist** — sending fields such as `password` (the hash), privilege flags (e.g. `is_staff` / `is_superuser`), tokens, and other PII to the browser. Because exposing model objects to templates is a normal djust pattern, this could leak credentials/PII without the developer realizing the full object crossed the wire. ### Patches Fixed in **djust 1.0.7**. Model serialization applies a secure-by-default sensitive-field denylist (password/hash/token/secret-style fields and known privilege flags are withheld) with an identity-subset fallback. ### Workarounds Keep `Model` instances on `_private` attributes and expose only the specific fields needed, until patched.

CVE-2026-61588 Affected Djust Versions

1 component(s)
Fixed Versions:
1.0.7
Product / Package Ecosystem Affected Versions Fixed Version
djust
PyPI
< 1.0.7
1.0.7

References

Frequently Asked Questions

What is CVE-2026-61588?
CVE-2026-61588 is a security vulnerability in Djust involving password hashes, privilege flags, and PII on a public view attribute are sent to the client under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor.
Which Djust versions are affected?
Affected versions include releases prior to 1.0.7 across affected packages: djust.
What version fixes CVE-2026-61588?
Upgrading to 1.0.7 (or the latest patched release for your respective branch) resolves the vulnerability.
Is djust affected?
Yes, djust is affected in releases prior to 1.0.7. Upgrade your dependency to 1.0.7 or later.
What is the CVSS score of CVE-2026-61588?
CVE-2026-61588 has a CVSS v3.1 base score of 6.5 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2026-61588?
CVE-2026-61588 is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor (The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.).
How can I check PyPI dependencies for CVE-2026-61588?
Run the dependency tree command: 'pip show djust'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-pvg3-6q9j-mj3x",
  "modified" : "2026-09-16T22:02:49Z",
  "published" : "2026-09-16T22:02:49Z",
  "aliases" : [ "CVE-2026-61588" ],
  "summary" : "djust's Django model serialization has no sensitive-field denylist: password hashes, privilege flags, and PII on a public view attribute are sent to the client",
  "details" : "### Impact\nWhen a Django `Model` instance is assigned to a **public** view attribute, djust serialized it to the client with **no sensitive-field denylist** — sending fields such as `password` (the hash), privilege flags (e.g. `is_staff` / `is_superuser`), tokens, and other PII to the browser. Because exposing model objects to templates is a normal djust pattern, this could leak credentials/PII without the developer realizing the full object crossed the wire.\n\n### Patches\nFixed in **djust 1.0.7**. Model serialization applies a secure-by-default sensitive-field denylist (password/hash/token/secret-style fields and known privilege flags are withheld) with an identity-subset fallback.\n\n### Workarounds\nKeep `Model` instances on `_private` attributes and expose only the specific fields needed, until patched.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "djust"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.0.7"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/djust-org/djust/security/advisories/GHSA-pvg3-6q9j-mj3x"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/djust-org/djust"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/djust-org/djust/releases/tag/v1.0.7"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-200", "CWE-359" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-09-16T22:02:49Z",
    "nvd_published_at" : null
  }
}