Repository navigation
build: bump golang.org/x/text from 0.14.0 to 0.44.0 - #142
Merged
Merged
Conversation
buchdag
approved these changes
Nov 26, 2026
x/text is linked into the binary through gotenv. 0.14.0 is flagged for CVE-2026-56851 (fixed in 0.41.0) and CVE-2026-56852 (fixed in 0.39.0). go mod tidy also normalises the go directive to 1.26.0, which the new x/text requires.
buchdag
force-pushed
the
build/bump-x-text
branch
from
November 26, 2026 22:30
27cfb5a to
d0efcdd
Compare
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.
golang.org/x/textis an indirect dependency (throughgotenv) and is linked into theforegobinary. The pinned 0.14.0 is flagged by Trivy in the published images, includingnginxproxy/nginx-proxy, whereforegois copied in:Dependabot does not pick this up because it is an indirect requirement.
Changes:
go get golang.org/x/text@latestandgo mod tidy. Tidy also rewrites thegodirective from1.26to1.26.0, which the new x/text requires; the builder images are already on 1.27.Checked locally with Go 1.27.4:
go build ./...andgo test ./...pass, andgo version -mon the built binary showsgolang.org/x/text v0.44.0.I have not looked into whether forego reaches the affected code paths; this is to clear the finding for people scanning the images. It only takes effect downstream once a new forego release is cut and nginx-proxy picks it up.