chore: pin curl/libcurl to ^8.20.0-r0 to address CVE-2026-6276#1449
Draft
linear-code[bot] wants to merge 2 commits into
Draft
chore: pin curl/libcurl to ^8.20.0-r0 to address CVE-2026-6276#1449linear-code[bot] wants to merge 2 commits into
linear-code[bot] wants to merge 2 commits into
Conversation
Fixes SOU-1506 Addresses CVE-2026-6276 (libcurl cookie leak on connection reuse with custom Host headers), flagged by Trivy against the Docker image's curl/libcurl (installed 8.19.0-r0, fixed in 8.20.0-r0). The runner stage already runs apk upgrade --no-cache and Alpine 3.23 ships the patched curl 8.20.0-r0, but the scan reflects a build from before it was published. Pin curl and libcurl to >=8.20.0-r0 in the runner apk add so the patched version is required explicitly. Generated with [Linear](https://linear.app/sourcebot/issue/SOU-1506/sourcebot-devsourcebot-cve-2026-6276-curl-libcurl-information#agent-session-8984563e) Co-authored-by: linear-code[bot] <222613912+linear-code[bot]@users.noreply.github.com>
Generated with [Linear](https://linear.app/sourcebot/issue/SOU-1506/sourcebot-devsourcebot-cve-2026-6276-curl-libcurl-information#agent-session-8984563e) Co-authored-by: linear-code[bot] <222613912+linear-code[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes SOU-1506
Addresses CVE-2026-6276 (libcurl information disclosure: cookie leak when reusing connections with custom
Host:headers), flagged by Trivy against the Docker image'scurl/libcurl(installed8.19.0-r0, fixed in8.20.0-r0).Alpine 3.23 now ships the patched
curl8.20.0-r0. The runner stage already runsapk upgrade --no-cache, but the scan reflects a build from before the patched version was published. This pinscurlandlibcurlto>=8.20.0-r0in the runnerapk addso the patched version is required explicitly and the build fails loudly if it isn't available.libcurlis pinned explicitly since it's pulled in transitively bycurl,git, andwget.Note: sibling PRs #1444, #1445, and #1446 make the same
>=8.20.0-r0pin for other curl CVEs (all fixed in the same upstream release). These can be consolidated into a single PR at merge if preferred.