djust: Arbitrary absolute-path file read in the find_handlers_for_template MCP tool
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 1.0.10, 1.1.7, 1.2.4, 1.3.0rc8
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: poc
- Automatable: no
- Technical impact: partial
Summary
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.
Timeline
- CVE published
- First seen by cve.now
- CISA SSVC assessment
Exploitation: poc · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- djust-org djust
From 0.9.0 · fixed in 1.0.10; From 1.1.0 · fixed in 1.1.7; From 1.2.0.dev0 · fixed in 1.2.4; From 1.3.0.dev0 · fixed in 1.3.0rc8
- djustPyPI
From 0.9.0 · fixed in 1.0.10
- djustPyPI
From 1.1.0 · fixed in 1.1.7
- djustPyPI
From 1.2.0.dev0 · fixed in 1.2.4
- djustPyPI
From 1.3.0.dev0 · fixed in 1.3.0rc8