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(release-gate): bump python base digest and suppress unfixable CPython CVE batch (#5889)

LearningCircuit0736071957e0
diff --git a/.grype.yaml b/.grype.yaml
index fb8e1723a3..9403fbad68 100644
--- a/.grype.yaml
+++ b/.grype.yaml
@@ -271,6 +271,23 @@ ignore:
- vulnerability: CVE-2026-15308
package: { name: python, type: binary }
reason: "High (PSF CVSS4 8.7 / NVD 7.5) html.parser quadratic CPU DoS needing unterminated constructs across many incremental feed() calls (PSF-2026-33). Not reachable: all html.parser use is single-shot BeautifulSoup feed(markup); lxml uses libxml2. No fixed release yet: 3.14.7 due 2026-08-04 (PEP 745). NVD-CPE binary match has fix-state unknown. Remove when the base image ships 3.14.7+."
+ # 2026-08-18 CPython security batch (alerts #8143/#8144/#8148): all three
+ # fixes landed on the 3.14 branch AFTER the v3.14.7 tag was cut (verified
+ # 2026-08-27 via python/cpython compare: the [3.14] backport of gh-155694 is
+ # ahead of v3.14.7; the tarfile fix PR #156000 merged to main 2026-08-19),
+ # so the first release carrying them is 3.14.8 — not yet released, no Docker
+ # image exists. NVD-CPE binary match with fix-state unknown, so the
+ # not-fixed auto-rule misses them (same class as the entries above).
+ # Remove all three when the base image ships Python 3.14.8+.
+ - vulnerability: CVE-2026-19672
+ package: { name: python, type: binary }
+ reason: "Medium tarfile extraction-filter gap: intermediate dirs are created outside the destination for members whose name leaves and re-enters it. Not reachable: zero tarfile/extractall/unpack_archive usage in src/ — the only .extract() calls are trafilatura/extruct HTML content extractors. Fix post-3.14.7; remove when base image ships 3.14.8+."
+ - vulnerability: CVE-2026-15806
+ package: { name: python, type: binary }
+ reason: "Medium urllib.request HTTPPasswordMgr cross-scheme credential reuse. Not reachable: urllib.request never used as an HTTP client — sole import is url2pathname for file:// paths (zotero/client.py); no password manager or opener constructed; all HTTP uses requests via security/safe_requests.py. Fix post-3.14.7; remove when base image ships 3.14.8+."
+ - vulnerability: CVE-2026-17084
+ package: { name: python, type: binary }
+ reason: "Medium stringprep processes RFC 3454 B.2/B.3 tables with current Unicode instead of 3.2.0, causing IDNA-2003 mismatches. Not reachable: zero stringprep/encodings.idna usage in src/ (dns_pinning.py deliberately avoids the idna codec); hostname encoding goes through the third-party idna package (IDNA 2008) via requests/urllib3. Fix post-3.14.7; remove when base image ships 3.14.8+."
# ==========================================================================
# NO FIX AVAILABLE IN DEBIAN TRIXIE
diff --git a/Dockerfile b/Dockerfile
index ccad7ff7a7..331cb89b9f 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,7 +1,7 @@
####
# Used for building the LDR service dependencies.
####
-FROM python:3.14.7-slim@sha256:ce40764625a4ff50df3548277632e7f96c4e77fe75fa848aae9885476e7df5a4 AS builder-base
+FROM python:3.14.7-slim@sha256:83ff1d245a3d57d04152252d3ef9cb361494d0b3395abd65a5ebe91c401c8e83 AS builder-base
# Set shell to bash with pipefail for safer pipe handling
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
@@ -257,7 +257,7 @@ ENV PATH="/install/.venv/bin:$PATH"
####
# Runs the LDR service.
###
-FROM python:3.14.7-slim@sha256:ce40764625a4ff50df3548277632e7f96c4e77fe75fa848aae9885476e7df5a4 AS ldr
+FROM python:3.14.7-slim@sha256:83ff1d245a3d57d04152252d3ef9cb361494d0b3395abd65a5ebe91c401c8e83 AS ldr
# Set shell to bash with pipefail for safer pipe handling
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
diff --git a/changelog.d/+release-gate-cpython-cve-batch.misc.md b/changelog.d/+release-gate-cpython-cve-batch.misc.md
new file mode 100644
index 0000000000..b6e4021a2c
--- /dev/null
+++ b/changelog.d/+release-gate-cpython-cve-batch.misc.md
@@ -0,0 +1 @@
+Unblock the release gate: pin the rebuilt `python:3.14.7-slim` base-image digest (2026-08-25 rebuild) and add Grype suppressions for the 2026-08-18 CPython security batch (CVE-2026-19672 tarfile, CVE-2026-15806 urllib HTTPPasswordMgr, CVE-2026-17084 stringprep). The fixes ship first in Python 3.14.8, which has no release or Docker image yet, and none of the three stdlib APIs is reachable in `src/`.