Sunday, 25 October 2026
4 agent hacks today▲ 3 vs yesterday (1)

djust: Arbitrary absolute-path file read in MCP tool

The find_handlers_for_template tool in djust v1.1.4 allows MCP clients to read arbitrary files on disk by passing absolute paths without directory confinement checks, potentially exposing sensitive files like /etc/passwd or .env files.

Disclosed 21 October 2026 · Record updated 21 October 2026

Impact

An MCP client can read arbitrary files on the server by passing absolute paths to find_handlers_for_template, with partial content extraction via regex matching against Django event handler attributes.

Our coverage

Sources

  1. github.comhttps://github.com/advisories/GHSA-r57g-mc79-8hj2