Skip to content

~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.

fix(security): justify the CPython CVE-2026-12345 exception by reachability (#7582)

LearningCircuit8db7beeefc12
diff --git a/.github/release-security-exceptions.json b/.github/release-security-exceptions.json
index aa3997f6e7..8959daa593 100644
--- a/.github/release-security-exceptions.json
+++ b/.github/release-security-exceptions.json
@@ -10,7 +10,7 @@
"path": "local-deep-research//usr/local/bin/python3.14",
"severity": "medium",
"expires_on": "2026-12-15",
- "reason": "CPython tempfile.TemporaryDirectory cleanup race (gh-157579). The image ships the upstream fix: https://github.com/LearningCircuit/local-deep-research/pull/7480 installs the sha256-pinned Lib/tempfile.py and Lib/shutil.py of the 3.14 backport (python/cpython#158430) into both root stages of the python:3.14.8-slim base and fails the build on any other base. Grype matches CPython on the interpreter version only, so it still reports 3.14.8 as affected. Remove this entry (and the Dockerfile backport) when the base image is 3.14.9 or newer.",
+ "reason": "CPython gh-157579 (fixed by python/cpython#158430, first in 3.14.9): when tempfile.TemporaryDirectory cleanup works around a permission error it re-resolves paths, so a process that swaps a directory in the tree for a symlink during cleanup can make it delete files outside the tree. Not exploitable in LDR: first-party code never uses TemporaryDirectory (only private 0700 mkdtemp + shutil.rmtree, which on Linux uses the fd-based symlink-safe walk), and the dependencies that do (unstructured, langchain-community, pypdf, huggingface_hub, sentence-transformers) create their own 0700 directories under the default temp dir. Racing the cleanup needs code already running as the same uid, and the image runs the app as its single ldruser, which could delete those files directly; no privilege boundary is crossed. Grype matches CPython on the interpreter version only, so it reports the python:3.14.8-slim base as affected. Remove this entry when the base image is Python 3.14.9 or newer.",
"tracking_url": "https://github.com/LearningCircuit/local-deep-research/pull/7383"
},
{