From 20286f64942d928f99b207d602e278cc7ef57d60 Mon Sep 17 00:00:00 2001 From: "linear-code[bot]" <222613912+linear-code[bot]@users.noreply.github.com> Date: Tue, 14 Jul 2026 13:38:57 +0000 Subject: [PATCH 1/2] chore: pin curl/libcurl to >=8.20.0-r0 to address CVE-2026-7168 Generated with [Linear](https://linear.app/sourcebot/issue/SOU-1509/sourcebot-devsourcebot-cve-2026-7168-curl-libcurl-information#agent-session-dd3b9fb7) Co-authored-by: linear-code[bot] <222613912+linear-code[bot]@users.noreply.github.com> --- CHANGELOG.md | 3 +++ Dockerfile | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c1df382b6..8369756b7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Fixed +- Pinned `curl`/`libcurl` to `>=8.20.0-r0` in the Docker image to address CVE-2026-7168. [#PR](https://github.com/sourcebot-dev/sourcebot/pull/PR) + ## [5.1.1] - 2026-07-14 - Add book a call button to sidebar. [#1441](https://github.com/sourcebot-dev/sourcebot/pull/1441) diff --git a/Dockerfile b/Dockerfile index 4a1b016c7..09e744b1f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -166,7 +166,10 @@ ENV SOURCEBOT_LOG_LEVEL=info # ENV SOURCEBOT_TELEMETRY_DISABLED=1 # Configure dependencies -RUN apk add --no-cache git ca-certificates bind-tools tini jansson wget supervisor uuidgen curl perl jq openssl util-linux unzip && \ +# curl/libcurl are pinned to >=8.20.0-r0 to address CVE-2026-7168 (Proxy-Authorization +# header reuse). libcurl is pulled in transitively (curl, git, wget), so it is pinned +# explicitly to guarantee the patched version is installed. +RUN apk add --no-cache git ca-certificates bind-tools tini jansson wget supervisor uuidgen "curl>=8.20.0-r0" "libcurl>=8.20.0-r0" perl jq openssl util-linux unzip && \ apk upgrade --no-cache # Remove npm (unused — we use Yarn). The Node.js base image bundles npm From d61b8477f3122311ae0240f6a6d7b678463c1c9c Mon Sep 17 00:00:00 2001 From: "linear-code[bot]" <222613912+linear-code[bot]@users.noreply.github.com> Date: Tue, 14 Jul 2026 13:39:24 +0000 Subject: [PATCH 2/2] chore: update CHANGELOG PR link Generated with [Linear](https://linear.app/sourcebot/issue/SOU-1509/sourcebot-devsourcebot-cve-2026-7168-curl-libcurl-information#agent-session-dd3b9fb7) Co-authored-by: linear-code[bot] <222613912+linear-code[bot]@users.noreply.github.com> --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8369756b7..e740141bd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,7 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] ### Fixed -- Pinned `curl`/`libcurl` to `>=8.20.0-r0` in the Docker image to address CVE-2026-7168. [#PR](https://github.com/sourcebot-dev/sourcebot/pull/PR) +- Pinned `curl`/`libcurl` to `>=8.20.0-r0` in the Docker image to address CVE-2026-7168. [#1444](https://github.com/sourcebot-dev/sourcebot/pull/1444) ## [5.1.1] - 2026-07-14