Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-113731

LOW 3.3EPSS 4%

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

Also known as GHSA-r57g-mc79-8hj2

Mitigation

  • Upgrade djust to one of 1.0.10, 1.1.7, 1.2.4, 1.3.0rc8 (or later in the same release line).

Who should check

  • Projects that depend on PyPI package djust (>= 0.9.0, < 1.0.10)
  • Anyone running djust-org djust >= 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

Vulnerability facts

Affected
djust >= 0.9.0, < 1.0.10
Fixed in
1.0.10, 1.1.7, 1.2.4, 1.3.0rc8
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
3.3 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: Low
  • Integrity impact: None
  • Availability impact: None
EPSS
0.17% chance of exploitation in 30 days (percentile 4, 2026-11-26)
CWE
CWE-22
Published
Modified

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 and fixed versions

Package / productAffectedFixedSource
PyPI djust>= 0.9.0, < 1.0.101.0.10, 1.1.7, 1.2.4, 1.3.0rc8osv
djust-org djust>= 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—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-113731. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-113731.md
Affected: djust >= 0.9.0, < 1.0.10
Fixed in: 1.0.10, 1.1.7, 1.2.4, 1.3.0rc8

Steps:
1. Search this machine and project for djust (PyPI), djust-org djust: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-113731 being exploited?

There is no confirmed exploitation: CVE-2026-113731 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-113731?

Low: CVSS 3.3 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2026-113731?

djust >= 0.9.0, < 1.0.10.

Is there a fix for CVE-2026-113731?

Yes. Fixed in 1.0.10, 1.1.7, 1.2.4, 1.3.0rc8. Upgrade djust to one of 1.0.10, 1.1.7, 1.2.4, 1.3.0rc8 (or later in the same release line).

How do I check if I'm affected by CVE-2026-113731?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors