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

Advisory record · `GHSA-r57g-mc79-8hj2`

- **Identifiers:** `GHSA-r57g-mc79-8hj2` · `CVE-2026-113731`
- **State:** Confirmed
- **Severity:** CVSS 3.3 Low
- **Critical:** No
- **Weakness (CWE):** [CWE-22](https://cwe.mitre.org/data/definitions/22.html)
- **Tags:** [Path traversal](https://agentprime.io/advisories/tag/path-traversal.md)
- **Published:** 21 Oct 2026
- **Updated:** 21 Oct 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 21 Oct 2026, 17:21 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `djust` (PyPI): affected `>=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`; fixed in `1.0.10`, `1.1.7`, `1.2.4`, `1.3.0rc8`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> The djust MCP tool find_handlers_for_template, in versions 0.9.0 to before 1.0.10, 1.1.0 to before 1.1.7, 1.2.0 to before 1.2.4, and 1.3.0.dev0 to before 1.3.0rc8, reads any absolute path passed as template_path without confining it to project or template directories. An MCP client able to call the tool can learn whether any readable file exists at a given path and receive the substrings matching dj-event attribute patterns from it, but not the full file contents. Upgrade to 1.0.10, 1.1.7, 1.2.4, 1.3.0rc8 or later. Until then, pass only logical template names to the tool.

Written 1 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 3.3 Low, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`, from CNA (GitHub_M)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0019, the 8th percentile, on 7 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 14:08 UTC: First seen by agentprime
- 31 Oct 2026, 14:08 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-r57g-mc79-8hj2)

## Sources

- [GitHub Advisory Database: GHSA-r57g-mc79-8hj2](https://github.com/advisories/GHSA-r57g-mc79-8hj2)
- [OSV: GHSA-r57g-mc79-8hj2](https://osv.dev/vulnerability/GHSA-r57g-mc79-8hj2)
- <https://github.com/djust-org/djust/security/advisories/GHSA-r57g-mc79-8hj2>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-113731>
- <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>
- <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>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-r57g-mc79-8hj2>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-r57g-mc79-8hj2/>. Everything for agents: <https://agentprime.io/llms.txt>.
