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(deps): update pip for CVE-2026-13346 (#6200)

LearningCircuit65ff145981d7
diff --git a/.github/SECURITY_SCORECARD.md b/.github/SECURITY_SCORECARD.md
index 65a999d396..ae29c1b9d1 100644
--- a/.github/SECURITY_SCORECARD.md
+++ b/.github/SECURITY_SCORECARD.md
@@ -68,15 +68,14 @@ The remaining pip commands use exact version pinning.
| File | Line | Command | Status |
|------|------|---------|--------|
-| Dockerfile | 49-50 | `pip3 install pip==26.0` `pip install pdm==2.26.2...` | Version-pinned |
-| Dockerfile | 194 | `pip3 install pip==26.0` | Version-pinned |
+| Dockerfile | 69-70 | `pip3 install pip==26.2` `pip install pdm==2.26.2...` | Version-pinned |
+| Dockerfile | 285 | `pip3 install pip==26.2` | Version-pinned |
| check-env-vars.yml | 36 | `pip install loguru==0.7.3 sqlalchemy==2.0.36...` | Version-pinned |
| checkov.yml | 33 | `pip install checkov==3.2.499` | Version-pinned |
| fuzz.yml | 51-52 | `pip install pip==25.0` `pip install pdm==2.26.2` | Version-pinned |
| mypy-type-check.yml | 39,47-48 | `pip install pdm==2.26.2 mypy==1.14.1...` | Version-pinned |
| publish.yml | 139,328 | `pip install pdm==2.26.2` `pip install wheel==0.46.2` | Version-pinned |
| puppeteer-e2e-tests.yml | 65 | `pip install -e .` | Local package |
-| responsive-ui-tests-enhanced.yml | 97-98 | `pip install pip==25.0` `pip install -e .` | Version-pinned + local (Alert #5688) |
| semgrep.yml | 36 | `pip install semgrep==1.87.0` | Version-pinned |
| update-precommit-hooks.yml | 35-38 | `pip install pip==25.0` `pip install pre-commit-update==0.6.1` | **Hash-pinned** |
| validate-image-pinning.yml | 67 | `pip install pyyaml==6.0.2` | Version-pinned |
diff --git a/Dockerfile b/Dockerfile
index ab2150b518..17b0cc5342 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -63,10 +63,10 @@ RUN apt-get update -o Acquire::Retries=3 && apt-get upgrade -y -o Acquire::Retri
# already verified, and we re-pin to a CVE-fixed version immediately. The
# three resulting Scorecard alerts (#7740, #7741, #7742) are dismissed as
# won't-fix; revisit if a stable hash-locking workflow becomes available.
-# Note: the 26.1.2 bump fixes CVE-2026-8643 (path traversal via malicious
-# entry point name in wheel installation); CVE-2026-1703 (fixed in 26.0) and
-# GHSA-jp4c-xjxw-mgf9 (fixed in 26.1) were already covered by the prior pin.
-RUN pip3 install --no-cache-dir pip==26.1.2 \
+# Note: pip 26.2 fixes CVE-2026-13346 (arbitrary file installation through a
+# malicious package index). It also retains the CVE-2026-8643,
+# CVE-2026-1703, and GHSA-jp4c-xjxw-mgf9 fixes from earlier releases.
+RUN pip3 install --no-cache-dir pip==26.2 \
&& pip install --no-cache-dir pdm==2.26.2 "hishel<1.0.0" playwright==1.62.0 "wheel>=0.46.2"
# disable update check
ENV PDM_CHECK_UPDATE=false
@@ -278,12 +278,11 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
ARG DEBIAN_FRONTEND=noninteractive
-# Pin pip past CVE-2026-8643 (path traversal via malicious entry point name
-# in wheel install); also covers the older CVE-2026-1703 / GHSA-jp4c-xjxw-mgf9
-# fixes (26.0 / 26.1).
+# Pin pip to 26.2 for the CVE-2026-13346 malicious-index fix and the earlier
+# CVE-2026-8643, CVE-2026-1703, and GHSA-jp4c-xjxw-mgf9 fixes.
# See builder-stage rationale above for why this install is not hash-pinned
# — Scorecard alert #7742 dismissed as won't-fix on the same basis.
-RUN pip3 install --no-cache-dir pip==26.1.2
+RUN pip3 install --no-cache-dir pip==26.2
# Install runtime dependencies for SQLCipher and WeasyPrint.
# `apt-get upgrade -y` is INTENTIONAL — see rationale on the builder-base