You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CVE-2026-56852 affects cert-manager because it bundles vulnerable copies of golang.org/x/text. The vendored versions in the source are v0.21.0 (acmesolver, cainjector, controller, webhook) and v0.16.0 (ctl), both of which fall within the affected range >= 0 and < 0.39.0 (fixed upstream in v0.39.0):
$ grep 'golang.org/x/text' cmd/*/vendor/modules.txt
cmd/acmesolver/vendor/modules.txt:# golang.org/x/text v0.21.0
cmd/cainjector/vendor/modules.txt:# golang.org/x/text v0.21.0
cmd/controller/vendor/modules.txt:# golang.org/x/text v0.21.0
cmd/ctl/vendor/modules.txt:# golang.org/x/text v0.16.0
cmd/webhook/vendor/modules.txt:# golang.org/x/text v0.21.0
The affected file unicode/norm/iter.go and the vulnerable function nextComposed() are present in the source code across all five command binaries.
The AI patch needed manual rework, as the build failed with it. It modified only three files.
Because the isInvalid() definition (in acmesolver/forminfo.go) and its callers (in webhook/normalize.go) ended up in separate trees, the webhook binary failed to compile with info.isInvalid undefined across 9 call sites, while controller, cainjector, and ctl were left completely unpatched and still vulnerable.
Fix:
Backported all three upstream file changes consistently into each of the five vendored copies (acmesolver, controller, cainjector, ctl, webhook).
The result now it is functionally identical to the upstream fix.
The upstream normalize_test.go change was omitted, since vendored code contains no test files.
The local build has passed and latest buddy build has been triggered.
patch applied during the build (check rpm.log)
The SPEC file has been updated to include - bumped up release number, patch file and changelog history.
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
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.
Auto Patch cert-manager for CVE-2026-56852.
Autosec pipeline run -> https://dev.azure.com/mariner-org/mariner/_build/results?buildId=1168552&view=results
Merge Checklist
All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)
*-staticsubpackages, etc.) have had theirReleasetag incremented../cgmanifest.json,./toolkit/scripts/toolchain/cgmanifest.json,.github/workflows/cgmanifest.json)./LICENSES-AND-NOTICES/SPECS/data/licenses.json,./LICENSES-AND-NOTICES/SPECS/LICENSES-MAP.md,./LICENSES-AND-NOTICES/SPECS/LICENSE-EXCEPTIONS.PHOTON)*.signatures.jsonfilessudo make go-tidy-allandsudo make go-test-coveragepassSummary
What does the PR accomplish, why was it needed?
Change Log
Does this affect the toolchain?
YES/NO
Associated issues
Links to CVEs
Test Methodology