From 776625ccab159ebdaac082c1c746458084fb70d5 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:20 +0000 Subject: [PATCH 1/2] chore: pin curl/libcurl to >=8.20.0-r0 to address CVE-2026-4873 Generated with [Linear](https://linear.app/sourcebot/issue/SOU-1502/sourcebot-devsourcebot-cve-2026-4873-curl-curl-information-disclosure#agent-session-581f976d) Co-authored-by: linear-code[bot] <222613912+linear-code[bot]@users.noreply.github.com> --- CHANGELOG.md | 3 +++ Dockerfile | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c1df382b6..74c26358f 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-4873. [#1442](https://github.com/sourcebot-dev/sourcebot/pull/1442) + ## [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..745ed1ed6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -166,7 +166,8 @@ 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-4873 (TLS connection reuse). +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 18781a4b6acfa77ec6e417a07791ca0125ff1743 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:45 +0000 Subject: [PATCH 2/2] fix changelog PR link Generated with [Linear](https://linear.app/sourcebot/issue/SOU-1502/sourcebot-devsourcebot-cve-2026-4873-curl-curl-information-disclosure#agent-session-581f976d) 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 74c26358f..3db08a088 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-4873. [#1442](https://github.com/sourcebot-dev/sourcebot/pull/1442) +- Pinned `curl`/`libcurl` to `>=8.20.0-r0` in the Docker image to address CVE-2026-4873. [#1446](https://github.com/sourcebot-dev/sourcebot/pull/1446) ## [5.1.1] - 2026-07-14