~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.
Python academiaanthropicarxivbravedeep-researchencryptionhome-automationhomeserverlocallocal-deep-researchlocal-llmmistralollamaopenaipubmedresearchresearch-toolretrieval-augmented-generationsearxngself-hosted
fix(security): accept CPython CVE-2026-12345 as an expiring release exception until 3.14.9 (#7383)
LearningCircuiteddbe68a4101
diff --git a/.github/SECURITY_ALERTS.md b/.github/SECURITY_ALERTS.mdindex c484501877..1bf468126e 100644--- a/.github/SECURITY_ALERTS.md+++ b/.github/SECURITY_ALERTS.md@@ -148,12 +148,15 @@ Cover every path that blocks.### Current exception policy-The checked-in policy has an empty `exceptions` list. It grants no release-exception for CVE-2026-87910 / alert #8273 or any other finding. Runtime image-remediation is tracked in+The checked-in policy lists every active exception, each with its alert+number, rationale, tracking link and expiry; read+[release-security-exceptions.json](release-security-exceptions.json) for the+current set. It grants no release exception for CVE-2026-87910 / alert #8273.+Runtime image remediation is tracked in[issue #6678](https://github.com/LearningCircuit/local-deep-research/issues/6678).-Unresolved findings continue to block according to the normal gate policy;-adding an exception would require a separately reviewed policy change.+Any finding without an entry continues to block according to the normal gate+policy; adding or extending an exception requires a separately reviewed+policy change.---diff --git a/.github/release-security-exceptions.json b/.github/release-security-exceptions.jsonindex 7fdf259884..19e0a6ee00 100644--- a/.github/release-security-exceptions.json+++ b/.github/release-security-exceptions.json@@ -2,6 +2,17 @@"version": 1,"repository": "LearningCircuit/local-deep-research","exceptions": [+ {+ "alert_number": 9725,+ "rule_id": "CVE-2026-12345-python",+ "tool": "Grype",+ "category": "grype-container",+ "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.",+ "tracking_url": "https://github.com/LearningCircuit/local-deep-research/pull/7383"+ },{"alert_number": 9736,"rule_id": "CVE-2026-104250",diff --git a/.grype.yaml b/.grype.yamlindex 7cf8dd1aa9..6467d1db32 100644--- a/.grype.yaml+++ b/.grype.yaml@@ -265,8 +265,10 @@ ignore:# Fixed in the Python 3.14.8 base image, so their entries were removed:# CVE-2026-4360, CVE-2026-6879, and CVE-2026-15308 (fixed in 3.14.7), and# CVE-2026-15310, CVE-2026-15806, CVE-2026-17084, and CVE-2026-19672- # (fixed in 3.14.8). CVE-2026-87910 remains visible to the gate: its 3.14- # backport landed after the 3.14.8 release tag.+ # (fixed in 3.14.8). CVE-2026-87910 and CVE-2026-12345 remain visible to+ # the gate: their 3.14 backports landed after the 3.14.8 release tag.+ # CVE-2026-12345 (alert #9725) is accepted until 3.14.9 by an expiring+ # entry in .github/release-security-exceptions.json, not suppressed here.# ==========================================================================# NO FIX AVAILABLE IN DEBIAN TRIXIEdiff --git a/tests/deployment/test_deployment_surface_contracts.py b/tests/deployment/test_deployment_surface_contracts.pyindex b9af6e8bad..0d055054a7 100644--- a/tests/deployment/test_deployment_surface_contracts.py+++ b/tests/deployment/test_deployment_surface_contracts.py@@ -3620,6 +3620,49 @@ class TestCPythonBaseImage:"""assert "CVE-2026-87910" not in suppressed_vulnerabilities()+ def test_cve_2026_12345_is_a_release_exception_not_a_suppression(self):+ """CVE-2026-12345 stays visible; the release gate accepts it until 3.14.9.++ Its 3.14 backport (python/cpython#158430) also merged after the+ v3.14.8 tag. The alert-only Grype finding is accepted through an+ expiring release exception (.github/SECURITY_ALERTS.md, "Temporary+ release exceptions") so the alert stays open, and the exception must+ go once the base image reaches the first fixed release.+ """+ assert "CVE-2026-12345" not in suppressed_vulnerabilities()+ policy = json.loads(+ (+ REPO_ROOT / ".github" / "release-security-exceptions.json"+ ).read_text(encoding="utf-8")+ )+ entries = [+ entry+ for entry in policy["exceptions"]+ if entry["rule_id"] == "CVE-2026-12345-python"+ ]+ assert [+ (+ entry["alert_number"],+ entry["tool"],+ entry["category"],+ entry["path"],+ entry["expires_on"],+ )+ for entry in entries+ ] == [+ (+ 9725,+ "Grype",+ "grype-container",+ "local-deep-research//usr/local/bin/python3.14",+ "2026-12-15",+ )+ ]+ assert Version(PATCHED_PYTHON_TEXT) < Version("3.14.9"), (+ "The base image is on 3.14.9+: remove the CVE-2026-12345 release "+ "exception and this test"+ )+# ---------------------------------------------------------------------------# CI marker-lane wiring -- the nonroot battery's teeth hang on one flag