Description
djust provides Phoenix LiveView-style reactive server-side rendering for Django with Rust-powered performance. From 0.9.0 until 1.0.10, 1.1.7, 1.2.4, and 1.3.0rc8, the find_handlers_for_template MCP tool in python/djust/mcp/server.py accepts an existing absolute template_path and reads it without restricting the resolved path to the project or configured template directories. A local MCP client can use the tool as a file existence and readability oracle and can obtain substrings that match the tool's dj-click, dj-submit, dj-change, dj-input, dj-keydown, or dj-keyup attribute pattern from files readable by the djust process. The maintainer assessment states that the MCP server communicates over local stdio as the same operating-system user and has no network listener, and the tool does not return arbitrary raw file contents. This issue is fixed in versions 1.0.10, 1.1.7, 1.2.4, and 1.3.0rc8.
Published: 2026-10-20
Score: 3.3 Low
EPSS: < 1% Very Low
KEV: No
Impact: Information Disclosure
Action: Apply Patch
AI Analysis

Impact

The vulnerability allows an attacker to request any absolute file path via the legacy find_handlers_for_template MCP tool and have the server read a portion of the file. The returned data consists of substrings that match specific attribute patterns such as dj-click, dj-submit, dj-change, dj-input, dj-keydown, or dj-keyup, rather than the entire file contents. This prevents full arbitrary content disclosure but still permits the attacker to infer the presence and basic structure of sensitive files, thereby leaking potentially confidential information.

Affected Systems

This flaw exists in the djust project (djust-org:djust). All releases from 0.9.0 up through 1.0.10, 1.1.7, 1.2.4, and 1.3.0rc8 are impacted. The MCP tool resides in python/djust/mcp/server.py and is used for Phoenix‑LiveView style reactive server‑side rendering in Django.

Risk and Exploitability

The CVSS score is 3.3, indicating low severity. EPSS information is not available, and the vulnerability is not listed in the CISA KEV catalog. Exploitation requires a local MCP client that communicates over stdio as the same operating‑system user; there is no network exposure. An attacker with local user privileges can use the tool as a file‑existence oracle and read limited substrings from files readable by the djust process. The overall risk is moderate because the data exposed is limited but could reveal sensitive patterns.

Generated by OpenCVE AI on October 21, 2026 at 06:28 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade djust to a version where the find_handlers_for_template path‑reading issue has been fixed (for example, any release newer than 1.3.0rc8).
  • Run the MCP server under a reduced‑privilege OS user or in a container that restricts filesystem access to only the intended project and template directories, thereby limiting the effect of the absolute‑path read.
  • Enable logging and monitor the MCP tool’s file‑access requests for abnormal patterns; alert on repeated attempts to read unusually large or sensitive paths.

Generated by OpenCVE AI on October 21, 2026 at 06:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-r57g-mc79-8hj2 djust: Arbitrary absolute-path file read in the find_handlers_for_template MCP tool
History

Wed, 28 Oct 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Thu, 22 Oct 2026 14:15:00 +0000

Type Values Removed Values Added
First Time appeared Djust-org
Djust-org djust
Vendors & Products Djust-org
Djust-org djust

Tue, 20 Oct 2026 21:45:00 +0000

Type Values Removed Values Added
Description djust provides Phoenix LiveView-style reactive server-side rendering for Django with Rust-powered performance. From 0.9.0 until 1.0.10, 1.1.7, 1.2.4, and 1.3.0rc8, the find_handlers_for_template MCP tool in python/djust/mcp/server.py accepts an existing absolute template_path and reads it without restricting the resolved path to the project or configured template directories. A local MCP client can use the tool as a file existence and readability oracle and can obtain substrings that match the tool's dj-click, dj-submit, dj-change, dj-input, dj-keydown, or dj-keyup attribute pattern from files readable by the djust process. The maintainer assessment states that the MCP server communicates over local stdio as the same operating-system user and has no network listener, and the tool does not return arbitrary raw file contents. This issue is fixed in versions 1.0.10, 1.1.7, 1.2.4, and 1.3.0rc8.
Title djust: Arbitrary absolute-path file read in the find_handlers_for_template MCP tool
Weaknesses CWE-22
References
Metrics cvssV3_1

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


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-28T15:54:09.246Z

Reserved: 2026-10-20T16:03:14.864Z

Link: CVE-2026-113731

cve-icon Vulnrichment

Updated: 2026-10-28T15:54:02.248Z

cve-icon NVD

Status : Deferred

Published: 2026-10-20T22:19:30.197

Modified: 2026-10-28T16:17:03.000

Link: CVE-2026-113731

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-22T14:00:07Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')