Skip to content

Security: Fix CVE-2026-32282 (Go stdlib os.Root.Chmod) SRVKP-11615#2879

Closed
divyansh42 wants to merge 1 commit into
release-v0.37.6from
fix/SRVKP-11615-cve-2026-32282-go-stdlib-release-v0.37.6-attempt-1
Closed

Security: Fix CVE-2026-32282 (Go stdlib os.Root.Chmod) SRVKP-11615#2879
divyansh42 wants to merge 1 commit into
release-v0.37.6from
fix/SRVKP-11615-cve-2026-32282-go-stdlib-release-v0.37.6-attempt-1

Conversation

@divyansh42

Copy link
Copy Markdown
Member

Summary

This PR fixes CVE-2026-32282 by upgrading Go from 1.25.8 to 1.25.9.

CVE Details

  • CVE ID: CVE-2026-32282
  • Package: Go stdlib (os.Root.Chmod, internal/syscall/unix.Fchmodat)
  • Severity: Moderate
  • Impact: TOCTOU race in os.Root.Chmod allows symlink traversal and unauthorized permission changes outside a restricted directory on Linux. The Linux fchmodat syscall silently ignores AT_SYMLINK_NOFOLLOW.
  • Vulnerable versions: Go < 1.25.9
  • Fixed version: Go 1.25.9
  • Advisory: os: Root.Chmod can follow symlinks out of the root on Linux golang/go#78293
  • Jira Issue: SRVKP-11615

Additional CVEs Fixed by Go 1.25.9

This Go version bump also resolves:

  • CVE-2026-32283: crypto/tls DoS via multiple TLS 1.3 key update messages
  • CVE-2026-32281: crypto/x509 DoS via inefficient certificate chain validation

Changes

  • go.mod: Updated go 1.25.8go 1.25.9
  • Ran go mod tidy && go mod verify && go mod vendor

Test Results

Status: ✅ All tests passed

Test command: go test ./...
Result: PASSED
Duration: ~3 minutes

All packages passed, including:

  • github.com/tektoncd/cli/pkg/pods (8s)
  • github.com/tektoncd/cli/pkg/pipelinerun (4s)
  • github.com/tektoncd/cli/pkg/trustedresources (1s)

Breaking Changes

None. This is a Go patch-level update within the same minor line (1.25.x).

Testing Checklist

  • Pre-PR go test ./... passed
  • go mod tidy passed
  • go mod verify passed
  • go mod vendor passed
  • Verify CVE is resolved with security scan
  • Test affected functionality manually

Risk Assessment

Category Risk Notes
Breaking changes Low Patch-level Go update
Dependency compatibility Low Same minor line
Runtime behavior Low Security fix only

Security fix: update Go from 1.25.8 to 1.25.9 to address CVE-2026-32282 (os.Root.Chmod symlink traversal), CVE-2026-32283 (crypto/tls DoS), and CVE-2026-32281 (crypto/x509 DoS)

🤖 Generated by CVE Fixer Workflow

- Update Go from 1.25.8 to 1.25.9
- Addresses TOCTOU race in os.Root.Chmod that allows symlink traversal
- Also fixes CVE-2026-32283 (crypto/tls DoS) and CVE-2026-32281 (crypto/x509 DoS)
  included in Go 1.25.9 security release

Resolves: SRVKP-11615

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
@tekton-robot tekton-robot added the release-note Denotes a PR that will be considered when it comes time to generate release notes. label May 19, 2026
@tekton-robot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
To complete the pull request process, please ask for approval from divyansh42 after the PR has been reviewed.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@tekton-robot tekton-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label May 19, 2026
@divyansh42

Copy link
Copy Markdown
Member Author

Closing to re-create with DCO signed commit.

@divyansh42 divyansh42 closed this May 19, 2026
@divyansh42 divyansh42 deleted the fix/SRVKP-11615-cve-2026-32282-go-stdlib-release-v0.37.6-attempt-1 branch May 19, 2026 18:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-note Denotes a PR that will be considered when it comes time to generate release notes. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants