2026-10-20 21:31CVE-2026-113731GitHub_M
PUBLISHED5.2CWE-22

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

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.

Problem type

Affected products

djust-org

djust

>= 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

References

JSON source

https://cveawg.mitre.org/api/cve/CVE-2026-113731
Click to expand
{
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "cveMetadata": {
    "cveId": "CVE-2026-113731",
    "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
    "assignerShortName": "GitHub_M",
    "dateUpdated": "2026-10-20T21:31:28.008Z",
    "dateReserved": "2026-10-20T16:03:14.864Z",
    "datePublished": "2026-10-20T21:31:28.008Z",
    "state": "PUBLISHED"
  },
  "containers": {
    "cna": {
      "providerMetadata": {
        "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "shortName": "GitHub_M",
        "dateUpdated": "2026-10-20T21:31:28.008Z"
      },
      "title": "djust: Arbitrary absolute-path file read in the find_handlers_for_template MCP tool",
      "descriptions": [
        {
          "lang": "en",
          "value": "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": [
        {
          "vendor": "djust-org",
          "product": "djust",
          "versions": [
            {
              "version": ">= 0.9.0, < 1.0.10",
              "status": "affected"
            },
            {
              "version": ">= 1.1.0, < 1.1.7",
              "status": "affected"
            },
            {
              "version": ">= 1.2.0.dev0, < 1.2.4",
              "status": "affected"
            },
            {
              "version": ">= 1.3.0.dev0, < 1.3.0rc8",
              "status": "affected"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "lang": "en",
              "description": "CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')",
              "cweId": "CWE-22",
              "type": "CWE"
            }
          ]
        }
      ],
      "references": [
        {
          "url": "https://github.com/djust-org/djust/security/advisories/GHSA-r57g-mc79-8hj2",
          "name": "https://github.com/djust-org/djust/security/advisories/GHSA-r57g-mc79-8hj2",
          "tags": [
            "x_refsource_CONFIRM"
          ]
        },
        {
          "url": "https://github.com/djust-org/djust/commit/45a5045793ebe7c9c2df86b0ad34275af6822619",
          "name": "https://github.com/djust-org/djust/commit/45a5045793ebe7c9c2df86b0ad34275af6822619",
          "tags": [
            "x_refsource_MISC"
          ]
        },
        {
          "url": "https://github.com/djust-org/djust/commit/744bccf699c65c815d9379b36236a7c5592a339b",
          "name": "https://github.com/djust-org/djust/commit/744bccf699c65c815d9379b36236a7c5592a339b",
          "tags": [
            "x_refsource_MISC"
          ]
        },
        {
          "url": "https://github.com/djust-org/djust/commit/85eed7caaf620bdb08986f2f3bb79432c0d3d715",
          "name": "https://github.com/djust-org/djust/commit/85eed7caaf620bdb08986f2f3bb79432c0d3d715",
          "tags": [
            "x_refsource_MISC"
          ]
        },
        {
          "url": "https://github.com/djust-org/djust/commit/a62caf6b4ef540ad688d4dfdfa407ff914c78728",
          "name": "https://github.com/djust-org/djust/commit/a62caf6b4ef540ad688d4dfdfa407ff914c78728",
          "tags": [
            "x_refsource_MISC"
          ]
        },
        {
          "url": "https://github.com/djust-org/djust/releases/tag/v1.0.10",
          "name": "https://github.com/djust-org/djust/releases/tag/v1.0.10",
          "tags": [
            "x_refsource_MISC"
          ]
        },
        {
          "url": "https://github.com/djust-org/djust/releases/tag/v1.1.7",
          "name": "https://github.com/djust-org/djust/releases/tag/v1.1.7",
          "tags": [
            "x_refsource_MISC"
          ]
        },
        {
          "url": "https://github.com/djust-org/djust/releases/tag/v1.2.4",
          "name": "https://github.com/djust-org/djust/releases/tag/v1.2.4",
          "tags": [
            "x_refsource_MISC"
          ]
        },
        {
          "url": "https://github.com/djust-org/djust/releases/tag/v1.3.0rc8",
          "name": "https://github.com/djust-org/djust/releases/tag/v1.3.0rc8",
          "tags": [
            "x_refsource_MISC"
          ]
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "version": "3.1",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N",
            "attackVector": "LOCAL",
            "attackComplexity": "LOW",
            "privilegesRequired": "LOW",
            "userInteraction": "NONE",
            "scope": "UNCHANGED",
            "confidentialityImpact": "LOW",
            "integrityImpact": "NONE",
            "availabilityImpact": "NONE",
            "baseScore": 3.3,
            "baseSeverity": "LOW"
          }
        }
      ]
    }
  }
}