fix(deps): bump OpenTofu to 1.12.6 - #16
Merged
Merged
Conversation
The pinned build is compiled with an old Go toolchain, so Trivy reports its vendored stdlib and x/* modules as vulnerable. Measured against the published image: 51 fixable CRITICAL/HIGH findings on the current pin, 13 on 1.12.6. Both linux/amd64 and linux/arm64 artifacts verified present. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
The pinned build is compiled with an old Go toolchain, so Trivy reports its vendored stdlib and x/* modules as vulnerable. Measured against the published image: 51 fixable CRITICAL/HIGH findings on the current pin, 13 on 1.12.6. Both linux/amd64 and linux/arm64 artifacts verified present. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
sebastiancorrea81
approved these changes
Sep 14, 2026
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.
What
Bump the pinned OpenTofu binary from the current pin to 1.12.6.
Why
The vulnerabilities Trivy reports against this image are not in our code. They are in the Go standard library and
golang.org/x/*modules compiled into the pinnedtofubinary — the binary was built with an old Go toolchain.Measured by scanning each binary inside an identical image:
The 51 figure matches exactly what the published image reports today, which confirms the measurement reflects the shipped artifact.
The residual 13 are dependencies OpenTofu itself has not yet updated — not actionable from here.
Risk
Two minor versions within the 1.x line, no major jump. OpenTofu minors are backward compatible, but this binary runs
tofu applyagainst customer state, so it is worth exercising the normal test path before merging rather than treating it as a routine dependency bump.Verified
tofu_1.12.6_linux_amd64.tar.gzandtofu_1.12.6_linux_arm64.tar.gzboth return HTTP 200 — the build is multi-arch and needs both.🤖 Generated with Claude Code