Skip to content

fix(cve): CVE-2026-40161 - bump github.com/tektoncd/pipeline v1.0.0 → v1.0.2#982

Open
divyansh42 wants to merge 1 commit into
release-v0.6.0from
fix/SRVKP-11652-cve-2026-40161-pipeline-release-v0.6.0-attempt-1
Open

fix(cve): CVE-2026-40161 - bump github.com/tektoncd/pipeline v1.0.0 → v1.0.2#982
divyansh42 wants to merge 1 commit into
release-v0.6.0from
fix/SRVKP-11652-cve-2026-40161-pipeline-release-v0.6.0-attempt-1

Conversation

@divyansh42
Copy link
Copy Markdown
Contributor

@divyansh42 divyansh42 commented May 26, 2026

CVE Details

Field Value
CVE ID CVE-2026-40161
GHSA GHSA-wjxp-xrpv-xpff
Severity High
Description Tekton Pipelines git resolver in API mode sends the system-configured Git API token to a user-controlled serverURL when the user omits the token parameter. A tenant with TaskRun/PipelineRun create permission can exfiltrate shared API tokens (GitHub PAT, GitLab token, etc.) by pointing serverURL to an attacker-controlled endpoint.
Affected versions github.com/tektoncd/pipeline v1.0.0 – v1.0.1 (inclusive)
Fixed version v1.0.2 (minimum safe patch in same minor line)

Fix Summary

  • Updated github.com/tektoncd/pipeline from v1.0.0v1.0.2
  • Ran go mod tidy && go mod verify && go mod vendor — all passed

Test Results

Tests passed — Go tests passed (5 package(s) OK).

Command: go test ./...

Breaking Changes

None. v1.0.2 is a patch release on the same minor line — no API changes.

Jira References

SRVKP-11652

Verification Steps

  • Confirm github.com/tektoncd/pipeline is at v1.0.2 in go.mod
  • Confirm vendor/ is consistent with go.sum
  • Confirm no git resolver API token leakage path remains reachable

Risk Assessment

Low — patch-level bump within the same minor line (v1.0.x). No API surface changes. Tests pass. The git resolver fix validates that system tokens are not sent to user-controlled serverURL values.

Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com

Upgrade github.com/tektoncd/pipeline from v1.0.0 to v1.0.2 to address CVE-2026-40161.

Jira: SRVKP-11652
govulncheck scan: N/A
Test result: passed

Co-authored-by: CVE Fixer Bot <cve-fixer@redhat.com>
@openshift-ci
Copy link
Copy Markdown

openshift-ci Bot commented May 26, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: divyansh42
Once this PR has been reviewed and has the lgtm label, please assign vdemeester for approval. For more information see the Code Review Process.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant