Skip to main content

CVE-2026-113731: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in djust-org djust

0
Low
VulnerabilityCVE-2026-113731cvecve-2026-113731cwe-22
Published: 10/20/2026 (10/20/2026, 21:31:28 UTC)
Source: CVE Database V5
Vendor/Project: djust-org
Product: djust

Description

A path traversal vulnerability (CWE-22) exists in djust versions from 0.9.0 up to but excluding 1.0.10, 1.1.0 up to 1.1.7, 1.2.0.dev0 up to 1.2.4, and 1.3.0.dev0 up to 1.3.0rc8. The issue is in the find_handlers_for_template MCP tool, which accepts an absolute template path and reads files without restricting access to project or configured template directories. This allows a local MCP client to probe readable files for specific attribute patterns. The vulnerability is low severity with limited impact and no network exposure. It is fixed in versions 1.0.10, 1.1.7, 1.2.4, and 1.3.0rc8.

CVSS v3.1

Score 3.3low

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Affected software

djust-org

djust

Affected versions
>=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
GitHub Actionsmore threats →ai
djust-org/djust
pkg:github/djust-org/djust
Affected versions
>=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

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/20/2026, 22:03:42 UTC

Technical Analysis

The djust package, which provides Phoenix LiveView-style reactive server-side rendering for Django, contains a path traversal vulnerability in its MCP tool find_handlers_for_template located in python/djust/mcp/server.py. From versions 0.9.0 until 1.0.10, 1.1.7, 1.2.4, and 1.3.0rc8, the tool accepts an absolute template_path and reads files without restricting the resolved path to the project or configured template directories. This allows a local MCP client, communicating over local stdio as the same OS user, to use the tool as a file existence and readability oracle and extract substrings matching certain dj-* attribute patterns from files readable by the djust process. The tool does not return arbitrary raw file contents and has no network listener. The vulnerability is fixed in versions 1.0.10, 1.1.7, 1.2.4, and 1.3.0rc8.

Potential Impact

An attacker with local access to the MCP tool can probe the file system for readable files and extract specific substrings matching dj-* attribute patterns. This may disclose limited information about file contents but does not allow arbitrary file content disclosure or remote exploitation. The vulnerability has no network exposure and requires local privileges. The CVSS score is 3.3 (low), reflecting limited confidentiality impact and no integrity or availability impact.

Mitigation Recommendations

Upgrade djust to versions 1.0.10, 1.1.7, 1.2.4, or 1.3.0rc8 or later where the vulnerability is fixed. Since the MCP server communicates only over local stdio and runs as the same OS user, restricting local access to trusted users also mitigates risk. No additional vendor advisory or patch links were provided, so check official djust project resources for updates.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-10-20T16:03:14.864Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6ad7e2092cdf04f65665d41b

Added to database: 10/20/2026, 21:50:01 UTC

Last enriched: 10/20/2026, 22:03:42 UTC

Last updated: 10/20/2026, 22:08:18 UTC

Views: 6

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses