djust: Arbitrary absolute-path file read in the find_handlers_for_template MCP tool
CVE-2026-113731Published 20 Oct 2026, 21:31 UTC
Real-world risk
1.4/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
3.3
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from GitHub_M)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| djustNiche | >= 0.9.0, < 1.0.10; >= 1.1.0, < 1.1.7; >= 1.2.0.dev0, < 1.2.4; >= 1.3.0.dev0, < 1.3.0rc8 | 1.0.10, 1.1.7, 1.2.4, 1.3.0rc8 |
What to do
Update to a fixed version: 1.0.10, 1.1.7, 1.2.4, 1.3.0rc8.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | MinorReflected XSS, CSRF with low effect, open redirect, minor leak | From the CVSS vector | 0.30 |
| Attacker position | LocalMust already run code or have a shell on the machine | From the CVSS vector | 0.50 |
| Privileges needed | LowA real low-privileged account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T3: Public proof of concept (× 0.95)
A qualifying GitHub proof of concept, an unverified Exploit-DB entry, CISA's SSVC says PoC, or a reference tagged as an exploit
- Reference tagged as exploit (link)
- CISA SSVC: proof of concept
EPSS 0.2% chance of exploitation in 30 days (percentile 9), as of 2026-12-05.
The arithmetic
- Prerequisites multiplied together0.500
- Threat T3: Public proof of concept0.950
- 10 × impact 0.3 × prerequisites 0.5 × threat 0.951.425
- Rounded to one decimal between 0.1 and 101.4
Exploitation and evidence timeline
- 20 Oct 2026 Published
- 3 Dec 2026 Reference tagged as exploit first seen
- 3 Dec 2026 CISA SSVC: proof of concept first seen
- 3 Dec 2026 Risk 1.4 (cvss fallback)
Weakness
CWE-22
References
- https://github.com/djust-org/djust/security/advisories/GHSA-r57g-mc79-8hj2exploit, vendor-advisory
- https://github.com/djust-org/djust/commit/45a5045793ebe7c9c2df86b0ad34275af6822619misc
- https://github.com/djust-org/djust/commit/744bccf699c65c815d9379b36236a7c5592a339bmisc
- https://github.com/djust-org/djust/commit/85eed7caaf620bdb08986f2f3bb79432c0d3d715misc
- https://github.com/djust-org/djust/commit/a62caf6b4ef540ad688d4dfdfa407ff914c78728misc
- https://github.com/djust-org/djust/releases/tag/v1.0.10misc
- https://github.com/djust-org/djust/releases/tag/v1.1.7misc
- https://github.com/djust-org/djust/releases/tag/v1.2.4misc
- https://github.com/djust-org/djust/releases/tag/v1.3.0rc8misc
- CVE-2026-113731 on CVE.org