CVE-2026-113731
CVE-2026-113731 · djust: Arbitrary absolute-path file read in the find_handlers_for_template MCP tool
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 3.3 · Low · EPSS 0.2% · Public exploit · Fix available
- Published
- Updated
Stack: python
Affected products and versions
djust
- Versions
- >= 0.9.0, < 1.0.10: Affected
- >= 1.1.0, < 1.1.7: Affected
- >= 1.2.0.dev0, < 1.2.4: Affected
- >= 1.3.0.dev0, < 1.3.0rc8: Affected
No fix published
djust PyPI
- Versions
- 0.9.0
- 0.9.1
- 0.9.2
- 0.9.4
- 0.9.5
- 0.9.6
- 0.9.7
- 1.0.0
- 1.0.0rc11
- 1.0.1
- 1.0.2
- 1.0.3
- 1.0.4
- 1.0.5
- 1.0.6
- 1.0.7
- 1.0.8
- 1.0.9
- Affected ranges
- ECOSYSTEM: ≥ 0.9.0, < 1.0.10
Update to 1.0.10
djust PyPI
- Versions
- 1.1.0
- 1.1.1
- 1.1.2
- 1.1.3
- 1.1.4
- 1.1.5
- 1.1.6
- Affected ranges
- ECOSYSTEM: ≥ 1.1.0, < 1.1.7
Update to 1.1.7
djust PyPI
- Versions
- 1.2.0
- 1.2.1
- 1.2.1rc1
- 1.2.1rc2
- 1.2.2
- 1.2.3
- Affected ranges
- ECOSYSTEM: ≥ 1.2.0.dev0, < 1.2.4
Update to 1.2.4
djust PyPI
- Versions
- 1.3.0rc4
- 1.3.0rc5
- 1.3.0rc6
- 1.3.0rc7
- Affected ranges
- ECOSYSTEM: ≥ 1.3.0.dev0, < 1.3.0rc8
Update to 1.3.0rc8
Original sources
- https://github.com/djust-org/djust/security/advisories/GHSA-r57g-mc79-8hj2
- https://github.com/djust-org/djust/commit/45a5045793ebe7c9c2df86b0ad34275af6822619
- https://github.com/djust-org/djust/commit/744bccf699c65c815d9379b36236a7c5592a339b
- https://github.com/djust-org/djust/commit/85eed7caaf620bdb08986f2f3bb79432c0d3d715
- https://github.com/djust-org/djust/commit/a62caf6b4ef540ad688d4dfdfa407ff914c78728
- https://github.com/djust-org/djust/releases/tag/v1.0.10
- https://github.com/djust-org/djust/releases/tag/v1.1.7
- https://github.com/djust-org/djust/releases/tag/v1.2.4
- https://github.com/djust-org/djust/releases/tag/v1.3.0rc8
- https://nvd.nist.gov/vuln/detail/CVE-2026-113731