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.

chore(security): bump python base to 3.14.4-slim, extend .grype.yaml for April 2026 CVEs (#3508)

LearningCircuit94c3c64c867f
diff --git a/.grype.yaml b/.grype.yaml
index c11c4e4735..b1a7481f58 100644
--- a/.grype.yaml
+++ b/.grype.yaml
@@ -3,7 +3,7 @@
# See: https://github.com/anchore/grype#specifying-matches-to-ignore
#
# Review Policy: All suppressions should be reviewed periodically.
-# Last full review: 2026-03-17
+# Last full review: 2026-04-17
ignore:
# ==========================================================================
@@ -117,6 +117,30 @@ ignore:
package: { name: chrome, type: binary }
reason: "Heap overflow in Media. Playwright 1.58 bundles pre-fix Chromium. Headless scraping only."
+ # ==========================================================================
+ # NODE.JS (patchright-bundled Node 24.13.0 at patchright/driver/node)
+ # Fixed in Node 24.14.1 (2026-03-24 security release). Patchright 1.58.2
+ # was released 2026-03-07 (pre-fix). Patchright is a transitive dep of
+ # crawl4ai; our Python code never invokes patchright's driver/node. The
+ # production image does not install Playwright browsers (see Dockerfile
+ # note at the ldr stage), so the bundled driver/node is dead weight.
+ # Auto-resolves when patchright ships a rebuild with Node 24.14.1+.
+ # ==========================================================================
+ - vulnerability: CVE-2026-21710
+ reason: "High CVE in Node 24.13.0 (headersDistinct proto-pollution DoS). Fixed in Node 24.14.1. Patchright-bundled driver/node; never invoked in prod."
+ - vulnerability: CVE-2026-21712
+ reason: "Medium CVE in Node 24.13.0. Fixed in Node 24.14.1. Patchright-bundled driver/node; never invoked in prod."
+ - vulnerability: CVE-2026-21713
+ reason: "Medium CVE in Node 24.13.0. Fixed in Node 24.14.1. Patchright-bundled driver/node; never invoked in prod."
+ - vulnerability: CVE-2026-21714
+ reason: "Medium CVE in Node 24.13.0. Fixed in Node 24.14.1. Patchright-bundled driver/node; never invoked in prod."
+ - vulnerability: CVE-2026-21717
+ reason: "Medium CVE in Node 24.13.0. Fixed in Node 24.14.1. Patchright-bundled driver/node; never invoked in prod."
+ - vulnerability: CVE-2026-21715
+ reason: "Low CVE in Node 24.13.0. Fixed in Node 24.14.1. Patchright-bundled driver/node; never invoked in prod."
+ - vulnerability: CVE-2026-21716
+ reason: "Low CVE in Node 24.13.0. Fixed in Node 24.14.1. Patchright-bundled driver/node; never invoked in prod."
+
# ==========================================================================
# NO FIX AVAILABLE IN DEBIAN TRIXIE
# ==========================================================================
@@ -128,6 +152,8 @@ ignore:
reason: "NSS DNS info disclosure. Needs glibc 2.43, Trixie has 2.41. Debian no-dsa."
- vulnerability: CVE-2025-15281
reason: "wordexp uninitialized memory. Needs glibc 2.43, Trixie has 2.41. Debian no-dsa."
+ - vulnerability: CVE-2026-4046
+ reason: "High CVE in libc6/libc-bin glibc 2.41. Debian trixie postponed (minor; revisit when upstream fixes). No fix in trixie or sid yet."
# --- libtiff6 (transitive dep via libgdk-pixbuf for WeasyPrint) ---
# Fix in 4.7.1-1 (sid only), Trixie has 4.7.0-3+deb13u1
@@ -207,6 +233,12 @@ ignore:
reason: "systemd-machined D-Bus privilege escalation. Not exploitable: container has no systemd/D-Bus. Needs 260~rc3-1, Trixie has 257.9-1~deb13u1."
- vulnerability: CVE-2026-29111
reason: "Vuln in libsystemd0/libudev1. No fix in Trixie. Container has no systemd runtime."
+ - vulnerability: CVE-2026-40225
+ reason: "udev local root exec via malicious hardware with unsanitized kernel output. Trixie 257.9-1~deb13u1 vulnerable; fix in 257.12/257.13 not backported. Container has no systemd/udev runtime, no hardware access."
+ - vulnerability: CVE-2026-40226
+ reason: "systemd-nspawn escape-to-host via crafted optional config file. Trixie 257.9-1~deb13u1 vulnerable; fix not yet in Trixie. Container does not run systemd-nspawn."
+ - vulnerability: CVE-2026-40228
+ reason: "systemd-journald unintended output to user terminals via logger. Low severity (CVSS 2.9). Trixie 257.9-1~deb13u1 vulnerable; no fix available. Container has no journald/interactive terminals."
# --- util-linux (mount, login, libuuid1, etc.) ---
- vulnerability: CVE-2022-0563
@@ -221,6 +253,16 @@ ignore:
# --- libpng ---
- vulnerability: CVE-2021-4214
reason: "Heap overflow in pngimage CLI tool. Debian: unimportant. CLI tool only, not in library."
+ - vulnerability: CVE-2026-34757
+ reason: "UAF in png_set_PLTE/tRNS/hIST leading to heap disclosure. Trixie 1.6.48-1+deb13u4 vulnerable; fix in libpng 1.6.57-1 (sid only). Used transitively via libgdk-pixbuf for WeasyPrint PDF rendering on trusted PNGs."
+
+ # --- libcap2 ---
+ - vulnerability: CVE-2026-4878
+ reason: "TOCTOU race in cap_set_file. Trixie 1:2.75-10+b8 vulnerable; fix in libcap 1:2.78-1 (sid/forky only). Container never calls cap_set_file; capabilities are set once via setpriv in entrypoint."
+
+ # --- tar ---
+ - vulnerability: CVE-2026-5704
+ reason: "Path-traversal hidden-file injection via crafted archive. Trixie 1.35+dfsg-3.1 vulnerable; Debian marks <no-dsa>, no fix yet. Container does not extract untrusted tar archives at runtime."
# --- sqlite ---
- vulnerability: CVE-2021-45346
@@ -240,25 +282,23 @@ ignore:
- vulnerability: CVE-2023-37769
reason: "FPE in stress-test tool. Debian: unimportant. Crash in test tool, no security impact."
- # --- python3.14 ---
+ # --- python3.14 (base image python:3.14.4-slim) ---
+ # 3.14.4 (2026-04-07) fixed CVE-2026-2297, -3446, -3479, -3644, -4224, -4519.
+ # These remain open in 3.14.4 — fixes merged to main but not yet released.
- vulnerability: CVE-2025-12781
reason: "base64 altchars accepts +/ regardless. Debian: minor. No alt-alphabet base64 usage."
- vulnerability: CVE-2025-15366
reason: "imaplib newline injection. Debian trixie no-dsa. No IMAP usage in container."
- vulnerability: CVE-2025-15367
reason: "poplib newline injection. Debian trixie no-dsa. No POP3 usage in container."
- - vulnerability: CVE-2026-2297
- reason: "sys.audit handlers bypass. Medium severity (CVSS 5.7). No fix in Python 3.14.3. Awaiting 3.14.4."
- vulnerability: CVE-2025-13462
reason: "tarfile AREGTYPE/DIRTYPE normalization in multi-block members. Low (CVSS 2.0). No untrusted tar extraction."
- - vulnerability: CVE-2026-4224
- reason: "Unbounded C recursion in pyexpat conv_content_model with deeply nested XML DTDs. Medium (CVSS 6.0). No fix in Python 3.14.3. Awaiting 3.14.4. API XML uses defusedxml; no ElementDeclHandler usage."
- - vulnerability: CVE-2026-3644
- reason: "Incomplete fix for CVE-2026-0672: http.cookies Morsel.update/js_output accept control chars. Medium (CVSS 6.0). No fix in Python 3.14.3. Awaiting 3.14.4. No http.cookies usage in container."
- - vulnerability: CVE-2026-3479
- reason: "Low vuln in Python 3.14.3. No fix available — latest python:3.14-slim still ships 3.14.3. Awaiting 3.14.4."
- - vulnerability: CVE-2026-4519
- reason: "High vuln in Python 3.14.3. No fix available — awaiting 3.14.4."
+ - vulnerability: CVE-2026-6100
+ reason: "Critical UAF in lzma/bz2/gzip decompressor after MemoryError. CVSS 9.1. Not fixed in 3.14.4 — awaiting next release. Not exploitable here: service never re-uses a decompressor instance after MemoryError (uses one-shot decompress() helpers and ephemeral instances for pypdf/unstructured extraction)."
+ - vulnerability: CVE-2026-4786
+ reason: "High command injection in webbrowser.open() via crafted URL containing 'tion'. Incomplete fix for CVE-2026-4519. Not fixed in 3.14.4. No webbrowser.open() usage anywhere in the codebase or dependencies."
+ - vulnerability: CVE-2026-1502
+ reason: "Medium CR/LF bytes not rejected in http.client proxy tunnel headers. Not fixed in 3.14.4. Container does not use http.client CONNECT tunneling; outbound requests go through requests/httpx which validate headers separately."
# --- coreutils ---
- vulnerability: CVE-2025-5278
@@ -268,6 +308,10 @@ ignore:
- vulnerability: CVE-2026-27171
reason: "CPU loop in crc32_combine. Needs zlib 1.3.2, Trixie has 1.3.1. Debian trixie no-dsa."
+ # --- liblzma5 (xz-utils) ---
+ - vulnerability: CVE-2026-34743
+ reason: "Buffer overflow in lzma_index_decoder when decoding Index with no Records. Trixie 5.8.1-1 vulnerable; fix in xz-utils 5.8.3-1 (sid only). Debian <no-dsa>, minor. Container decompresses .xz streams from trusted sources only (pypandoc/unstructured)."
+
# --- libfreetype6 ---
- vulnerability: CVE-2026-23865
reason: "Integer overflow OOB read in variable font parsing. Needs freetype 2.14.2, not in sid. Debian trixie no-dsa."
diff --git a/Dockerfile b/Dockerfile
index f5d8266508..736734cc0f 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,7 +1,7 @@
####
# Used for building the LDR service dependencies.
####
-FROM python:3.14-slim@sha256:fb83750094b46fd6b8adaa80f66e2302ecbe45d513f6cece637a841e1025b4ca AS builder-base
+FROM python:3.14.4-slim@sha256:538a18f1db92b4210a0b71aca2d14c156a96dedbe8867465c8ff4dce04d2ec39 AS builder-base
# Set shell to bash with pipefail for safer pipe handling
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
@@ -205,7 +205,7 @@ ENV PATH="/install/.venv/bin:$PATH"
####
# Runs the LDR service.
###
-FROM python:3.14-slim@sha256:fb83750094b46fd6b8adaa80f66e2302ecbe45d513f6cece637a841e1025b4ca AS ldr
+FROM python:3.14.4-slim@sha256:538a18f1db92b4210a0b71aca2d14c156a96dedbe8867465c8ff4dce04d2ec39 AS ldr
# Set shell to bash with pipefail for safer pipe handling
SHELL ["/bin/bash", "-o", "pipefail", "-c"]