Skip to content

fix(cve): CVE-2026-40938, CVE-2026-40161 - bump github.com/tektoncd/pipeline to v1.6.2 [release-v0.43.1] - #2869

Merged
tekton-robot merged 1 commit into
release-v0.43.1from
fix/cve-2026-40938-cve-2026-40161-tektoncd-pipeline-release-v0.43.1-attempt-1
May 20, 2026
Merged

fix(cve): CVE-2026-40938, CVE-2026-40161 - bump github.com/tektoncd/pipeline to v1.6.2 [release-v0.43.1]#2869
tekton-robot merged 1 commit into
release-v0.43.1from
fix/cve-2026-40938-cve-2026-40161-tektoncd-pipeline-release-v0.43.1-attempt-1

Conversation

@divyansh42

@divyansh42 divyansh42 commented May 17, 2026

Copy link
Copy Markdown
Member

CVE Details

CVE-2026-40938 (Critical)

Tekton Pipelines: Arbitrary code execution and secret exfiltration via malicious git commands

The git resolver's revision parameter is passed directly to git fetch without validation. An attacker can inject arbitrary git fetch flags via the --upload-pack= flag.

  • Fixed in: github.com/tektoncd/pipeline v1.6.2
  • Jira: SRVKP-11739

CVE-2026-40161 (High)

Tekton Pipelines: Information disclosure of Git API token via user-controlled serverURL

The git resolver in API mode sends the system-configured Git API token to a user-controlled serverURL.

  • Fixed in: github.com/tektoncd/pipeline v1.6.2
  • Jira: SRVKP-11669

Fix Summary

Updated github.com/tektoncd/pipeline from v1.6.1 to v1.6.2 in go.mod, ran go mod tidy and go mod vendor.

File Change
go.mod github.com/tektoncd/pipeline v1.6.1v1.6.2
go.sum Updated checksums
vendor/ Regenerated via go mod vendor

Test Results

Check Status Details
go get github.com/tektoncd/pipeline@v1.6.2 ✅ PASS Dependency resolved
go mod tidy ✅ PASS Clean
go mod vendor ✅ PASS Vendor synced
go build ./... ✅ PASS Build passes

Breaking Changes

None expected. Patch-level update from v1.6.1 to v1.6.2.

Risk Assessment

Low — dependency version bump to address critical security vulnerabilities.

Verification Steps

  • CI passes
  • tkn commands function correctly
  • No regression in git resolver behavior

Jira References

SRVKP-11739 (CVE-2026-40938, pipelines-1.21)
SRVKP-11669 (CVE-2026-40161, pipelines-1.21)

🤖 Generated with Claude Code

@tekton-robot tekton-robot added the do-not-merge/release-note-label-needed Indicates that a PR should not merge because it's missing one of the release note labels. label May 17, 2026
@tekton-robot tekton-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label May 17, 2026
@tekton-robot tekton-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label May 18, 2026
- Update tektoncd/pipeline from v1.6.1 to v1.6.2
- Addresses critical arbitrary code execution via malicious git commands
- Addresses high severity information disclosure of Git API token

Resolves: SRVKP-11739, SRVKP-11669

Signed-off-by: divyansh42 <diagrawa@redhat.com>
@divyansh42
divyansh42 force-pushed the fix/cve-2026-40938-cve-2026-40161-tektoncd-pipeline-release-v0.43.1-attempt-1 branch from 5bf73ba to a0c581b Compare May 20, 2026 08:38
@tekton-robot tekton-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label May 20, 2026
@divyansh42 divyansh42 changed the title fix(cve): CVE-2026-40938, CVE-2026-40161 - bump github.com/tektoncd/pipeline to v1.11.1 [release-v0.43.1] fix(cve): CVE-2026-40938, CVE-2026-40161 - bump github.com/tektoncd/pipeline to v1.6.2 [release-v0.43.1] May 20, 2026
@divyansh42

Copy link
Copy Markdown
Member Author

/release-note-none

@tekton-robot tekton-robot added release-note-none Denotes a PR that doesnt merit a release note. and removed do-not-merge/release-note-label-needed Indicates that a PR should not merge because it's missing one of the release note labels. labels May 20, 2026
@pratap0007

Copy link
Copy Markdown
Contributor

/approve
/lgtm

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label May 20, 2026
@tekton-robot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: pratap0007

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

The pull request process is described 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 approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 20, 2026
@tekton-robot
tekton-robot merged commit f2ece42 into release-v0.43.1 May 20, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. release-note-none Denotes a PR that doesnt merit a release note. 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.

3 participants