[ CVE-2026-113731 · Published 20 Oct 2026 ]

djust: Arbitrary absolute-path file read in the find_handlers_for_template MCP tool

CVSS 3.3 EPSS <1%Fix available

[ Description ]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.

[ Fixes ]Fixes and patches

  • djust 1.0.10Fixed version · GitHub Advisories · pip package djust: upgrade to 1.0.10 or later (affected >= 0.9.0, <= 1.0.9)
  • djust 1.1.7Fixed version · GitHub Advisories · pip package djust: upgrade to 1.1.7 or later (affected >= 1.1.0, <= 1.1.6)
  • djust 1.2.4Fixed version · GitHub Advisories · pip package djust: upgrade to 1.2.4 or later (affected >= 1.2.0.dev0, <= 1.2.3)
  • djust 1.3.0rc8Fixed version · GitHub Advisories · pip package djust: upgrade to 1.3.0rc8 or later (affected >= 1.3.0.dev0, <= 1.3.0rc7)

[ Packages ]Affected open-source packages