From 5de4f9fc8a9e0f71fe6c787dd21c776d53277623 Mon Sep 17 00:00:00 2001 From: kiskaadee Date: Mon, 26 Oct 2026 23:53:57 -0500 Subject: [PATCH] fix(docker): upgrade pip to >=26.2.2 (CVE-2026-115557) Upgrade pip during container build to ensure internal vendored certifi is updated (2026.10.19) and eMudhra compromised CA keys are removed from trust anchor. --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 71f76e0..01f5ab6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,8 +2,9 @@ FROM python:3.11-alpine WORKDIR /app -# Install dependencies -RUN pip install --no-cache-dir markdown +# Upgrade pip to safe version (>=26.2.2, resolves CVE-2026-115557) and install dependencies +RUN pip install --no-cache-dir --upgrade "pip>=26.2.2" && \ + pip install --no-cache-dir markdown # Copy application files COPY app/ /app/