Vulnerability · Published Oct 20, 2026 · Assigned by GitHub_M
CVE-2026-113731djust: Arbitrary absolute-path file read in the find_handlers_for_template MCP tool
Low 3.3
In plain English
A low-severity path traversal in djust from djust-org. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 8% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | djust | 1.0.10 | GHSA-r57g-mc79-8hj2 |
| PyPI | djust | 1.1.7 | GHSA-r57g-mc79-8hj2 |
| PyPI | djust | 1.2.4 | GHSA-r57g-mc79-8hj2 |
| PyPI | djust | 1.3.0rc8 | GHSA-r57g-mc79-8hj2 |
Affected products (as reported)
Weakness: CWE-22 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
References
- https://github.com/djust-org/djust/security/advisories/GHSA-r57g-mc79-8hj2 x_refsource_CONFIRM
- https://github.com/djust-org/djust/commit/45a5045793ebe7c9c2df86b0ad34275af6822619 x_refsource_MISC
- https://github.com/djust-org/djust/commit/744bccf699c65c815d9379b36236a7c5592a339b x_refsource_MISC
- https://github.com/djust-org/djust/commit/85eed7caaf620bdb08986f2f3bb79432c0d3d715 x_refsource_MISC
- https://github.com/djust-org/djust/commit/a62caf6b4ef540ad688d4dfdfa407ff914c78728 x_refsource_MISC
- https://github.com/djust-org/djust/releases/tag/v1.0.10 x_refsource_MISC
- https://github.com/djust-org/djust/releases/tag/v1.1.7 x_refsource_MISC
- https://github.com/djust-org/djust/releases/tag/v1.2.4 x_refsource_MISC
- https://github.com/djust-org/djust/releases/tag/v1.3.0rc8 x_refsource_MISC