CVE-2026-61590: Djust Remote Code Execution Vulnerability
HIGHCVE-2026-61590 is a HIGH (CVSS 7.4) remote code execution vulnerability (CWE-668: Exposure of Resource to Wrong Sphere) affecting Djust libraries in the PyPI ecosystem. The issue involves the localhost gate is an opt-in middleware the docs omit, and the views enforce only debug. Remediation is available by upgrading affected packages to version 1.0.7.
CVE-2026-61590 at a Glance
Security Impact
CVSS: 7.4
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N).
How to Fix CVE-2026-61590
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.
pip install djust>=1.0.7
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-61590, 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-668: Exposure of Resource to Wrong Sphere, where the product exposes a resource to the wrong control sphere, providing unintended actors with inappropriate access to the resource. 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
CVE-2026-61590 Affected Djust Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
djust
|
PyPI |
< 1.0.7
|
1.0.7
|
References
Frequently Asked Questions
What is CVE-2026-61590?
Which Djust versions are affected?
What version fixes CVE-2026-61590?
Is djust affected?
What is the CVSS score of CVE-2026-61590?
What CWE is associated with CVE-2026-61590?
How can I check PyPI dependencies for CVE-2026-61590?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-8g2f-g3gq-5rjv",
"modified" : "2026-09-16T13:49:19Z",
"published" : "2026-09-16T13:49:19Z",
"aliases" : [ "CVE-2026-61590" ],
"summary" : "djust's observability endpoints are network-exposed: the localhost gate is an opt-in middleware the docs omit, and the views enforce only DEBUG",
"details" : "### Impact\ndjust's observability endpoints expose live view/session state and a remote method-invocation surface (`eval_handler`). The localhost restriction was an **opt-in middleware that the documented setup omits**; the views themselves enforced only `DEBUG`. In the misconfigured-but-documented scenario (DEBUG on, middleware not installed) a non-localhost client could read live application state and invoke handlers remotely.\n\n### Patches\nFixed in **djust 1.0.7**. The localhost restriction is enforced **in-view** on every observability endpoint (no longer dependent on a separately-installed middleware), and `eval_handler` is restricted; gated requests receive a non-disclosing response.\n\n### Workarounds\nEnsure `DEBUG=False` in production, and do not expose the observability endpoints to untrusted networks.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/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-8g2f-g3gq-5rjv"
}, {
"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-306", "CWE-668" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-09-16T13:49:19Z",
"nvd_published_at" : null
}
}