fix: pin curl to 8.20.0-r0 in Docker image to address CVE-2026-6253#1451
Draft
linear-code[bot] wants to merge 2 commits into
Draft
fix: pin curl to 8.20.0-r0 in Docker image to address CVE-2026-6253#1451linear-code[bot] wants to merge 2 commits into
linear-code[bot] wants to merge 2 commits into
Conversation
curl/libcurl 8.19.0-r0 in the runner image are vulnerable to CVE-2026-6253 (proxy credential disclosure via redirects to unauthenticated proxies), fixed in 8.20.0-r0. The runner stage already runs `apk upgrade --no-cache`, but the build uses the GitHub Actions layer cache, so rebuilds reused the stale `apk add`/`apk upgrade` layer containing the vulnerable version. Pinning `curl>=8.20.0-r0` invalidates that layer's cache key so rebuilds pull the patched curl (and its libcurl dependency). Generated with [Linear](https://linear.app/sourcebot/issue/SOU-1505/sourcebot-devsourcebot-cve-2026-6253-curl-curl-proxy-credential#agent-session-9dfcc259) Co-authored-by: linear-code[bot] <222613912+linear-code[bot]@users.noreply.github.com>
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-1505
curl/libcurl8.19.0-r0in the runner image are vulnerable to CVE-2026-6253 (proxy credential disclosure via redirects to unauthenticated proxies), fixed upstream in8.20.0-r0(now published in Alpine 3.23main).The runner stage already runs
apk upgrade --no-cache, but the CI build uses the GitHub Actions layer cache (cache-from/to: type=gha), so rebuilds reused the staleapk add/apk upgradelayer that still contained the vulnerable version. Pinningcurl>=8.20.0-r0changes theRUNinstruction, invalidating that layer's cache key so rebuilds pull the patchedcurl(and itslibcurldependency).