{"answers":{"affected":"8 open source packages ship an affected version, including djust.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-113731 exists.","fix":"Upgrade djust to a fixed version for your release line: 1.0.10, 1.1.7, 1.2.4 or 1.3.0rc8.","what":"CVE-2026-113731 is a low-severity vulnerability in djust-org djust, published on 20 Oct 2026."},"fix_prompt":"Check this codebase for CVE-2026-113731 and fix it if it is affected.\n\nWhat it is: CVE-2026-113731 is a low-severity vulnerability in djust-org djust, published on 20 Oct 2026. \nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-113731 exists.\n\nAffected packages and fixed versions:\n- djust (PyPI): affected from 0.9.0; fixed in 1.0.10\n- djust (PyPI): affected from 0.9.0; fixed in 1.0.10\n- djust (PyPI): affected from 1.1.0; fixed in 1.1.7\n- djust (PyPI): affected from 1.1.0; fixed in 1.1.7\n- djust (PyPI): affected from 1.2.0.dev0; fixed in 1.2.4\n- djust (PyPI): affected from 1.2.0.dev0; fixed in 1.2.4\n- djust (PyPI): affected from 1.3.0.dev0; fixed in 1.3.0rc8\n- djust (PyPI): affected from 1.3.0.dev0; fixed in 1.3.0rc8\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-113731/ (Markdown: https://insights.sbomify.com/CVE-2026-113731/index.md)","id":"CVE-2026-113731","markdown":"https://insights.sbomify.com/CVE-2026-113731/index.md","name":"CVE-2026-113731","record":{"aliases":["GHSA-r57g-mc79-8hj2"],"analysis":null,"analysis_generated_by":null,"assigner":"GitHub_M","cpe":[],"cvss":{"score":3.3,"severity":"low","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"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.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"djust: Arbitrary absolute-path file read in the find_handlers_for_template MCP tool","id":"CVE-2026-113731","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":null,"year":"2026"},"n_packages":8,"n_references":9,"next":{"headline":"virtualenv activate.fish runs commands from a path or prompt with a backslash before a quote","id":"CVE-2026-113732"},"packages":[{"ecosystem":"PyPI","fixed":["1.0.10"],"introduced":["0.9.0"],"last_affected":[],"package":"djust","purl":null,"source":"GHSA-r57g-mc79-8hj2"},{"ecosystem":"PyPI","fixed":["1.0.10"],"introduced":["0.9.0"],"last_affected":[],"package":"djust","purl":"pkg:pypi/djust","source":"GHSA-r57g-mc79-8hj2"},{"ecosystem":"PyPI","fixed":["1.1.7"],"introduced":["1.1.0"],"last_affected":[],"package":"djust","purl":null,"source":"GHSA-r57g-mc79-8hj2"},{"ecosystem":"PyPI","fixed":["1.1.7"],"introduced":["1.1.0"],"last_affected":[],"package":"djust","purl":"pkg:pypi/djust","source":"GHSA-r57g-mc79-8hj2"},{"ecosystem":"PyPI","fixed":["1.2.4"],"introduced":["1.2.0.dev0"],"last_affected":[],"package":"djust","purl":null,"source":"GHSA-r57g-mc79-8hj2"},{"ecosystem":"PyPI","fixed":["1.2.4"],"introduced":["1.2.0.dev0"],"last_affected":[],"package":"djust","purl":"pkg:pypi/djust","source":"GHSA-r57g-mc79-8hj2"},{"ecosystem":"PyPI","fixed":["1.3.0rc8"],"introduced":["1.3.0.dev0"],"last_affected":[],"package":"djust","purl":null,"source":"GHSA-r57g-mc79-8hj2"},{"ecosystem":"PyPI","fixed":["1.3.0rc8"],"introduced":["1.3.0.dev0"],"last_affected":[],"package":"djust","purl":"pkg:pypi/djust","source":"GHSA-r57g-mc79-8hj2"}],"prev":{"headline":"OGNL stricter-invocation block list bypass via java.lang.reflect reflection proxies","id":"CVE-2026-113730"},"products":["djust"],"published":"2026-10-20","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-28","vendors":["djust-org"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2026-113731/"}