CVE-2026-40161 — Vulnerability in github.com/tektoncd/pipeline —...
Tekton Pipelines: Git resolver API mode leaks system-configured API token to user-controlled serverURL
Summary
Advisory Timeline
- First published April 21, 2026 (174 days ago).
- Last revised September 10, 2026 — 141 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
go get github.com/tektoncd/pipeline@v1.0.2
go get github.com/tektoncd/pipeline@v1.3.4
go get github.com/tektoncd/pipeline@v1.6.2
go get github.com/tektoncd/pipeline@v1.11.1
go get github.com/tektoncd/pipeline@v1.9.3
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (5)
Affects 1 ecosystem: go (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| github.com/tektoncd/pipeline | go | All versions | 1.0.2 |
| github.com/tektoncd/pipeline | go | All versions | 1.3.4 |
| github.com/tektoncd/pipeline | go | All versions | 1.6.2 |
| github.com/tektoncd/pipeline | go | All versions | 1.11.1 |
| github.com/tektoncd/pipeline | go | All versions | 1.9.3 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-201
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 7.7 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
References
Frequently Asked Questions
- What is CVE-2026-40161?
- Tekton Pipelines: Git resolver API mode leaks system-configured API token to user-controlled serverURL This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.7/10).
- How do I check if my project is affected by CVE-2026-40161?
- CVE-2026-40161 affects github.com/tektoncd/pipeline. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-40161 and 200,000+ other known vulnerabilities.
Severity & Exploitability
High exploitability or significant impact. Prioritize remediation within days.
Also Known As
Related CVEs
- CVE-2026-33211CRITICAL
Path traversal in Tekton Pipelines git resolver allows reading arbitrary files from the resolver pod
- CVE-2026-107809HIGH
Nginx-UI AuthRequired token cookie fallback enables CSRF against management APIs
- CVE-2026-40938HIGH
Tekton Pipeline: Git Resolver Unsanitized Revision Parameter Enables git Argument Injection Leading to RCE
- CVE-2026-107813HIGH
Nginx UI: Incomplete fix of CVE-2026-84315 - the api/cluster router was not - wrapped in RequireSecureSession, so those sensitive mutations run without OTP step-up
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies