CVE-2026-40938: CWE-88: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection') in tektoncd pipeline
Tekton Pipelines project provides k8s-style resources for declaring CI/CD-style pipelines. Starting in version 1.0.0 and prior to versions 1.0.2, 1.3.4, 1.6.2, 1.9.3, and 1.11.1, the git resolver's revision parameter is passed directly as a positional argument to git fetch without any validation that it does not begin with a - character. Because git parses flags from mixed positional arguments, an attacker can inject arbitrary git fetch flags such as --upload-pack=<binary>. Combined with the validateRepoURL function explicitly permitting URLs that begin with / (local filesystem paths), a tenant who can submit ResolutionRequest objects can chain these two behaviors to execute an arbitrary binary on the resolver pod. The tekton-pipelines-resolvers ServiceAccount holds cluster-wide get/list/watch on all Secrets, so code execution on the resolver pod enables full cluster-wide secret exfiltration. Versions 1.0.2, 1.3.4, 1.6.2, 1.9.3, and 1.11.1 fix the issue.
AI Analysis
Technical Summary
Tekton Pipelines' git resolver passes the revision parameter directly as a positional argument to git fetch without validating that it does not start with a '-' character. Because git interprets flags from positional arguments, an attacker can inject arbitrary git fetch flags such as --upload-pack=<binary>. Additionally, the validateRepoURL function permits URLs starting with '/', enabling local filesystem path usage. A tenant able to submit ResolutionRequest objects can chain these behaviors to execute arbitrary binaries on the resolver pod. The resolver pod's ServiceAccount has cluster-wide get/list/watch permissions on all Secrets, enabling full secret exfiltration upon code execution. Versions 1.0.2, 1.3.4, 1.6.2, 1.9.3, and 1.11.1 contain fixes for this issue.
Potential Impact
Successful exploitation allows an attacker with limited privileges (tenant able to submit ResolutionRequest objects) to execute arbitrary code on the resolver pod. Given the resolver pod's ServiceAccount has cluster-wide permissions to access all Secrets, this leads to full cluster-wide secret exfiltration. The vulnerability impacts confidentiality, integrity, and availability of the Kubernetes cluster managed by Tekton Pipelines.
Mitigation Recommendations
Fixed versions are 1.0.2, 1.3.4, 1.6.2, 1.9.3, and 1.11.1. Users should upgrade to one of these versions to remediate the vulnerability. Patch status is not explicitly confirmed in the vendor advisory content provided, but the description states these versions fix the issue. No other mitigation or temporary workaround is indicated.
CVE-2026-40938: CWE-88: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection') in tektoncd pipeline
Description
Tekton Pipelines project provides k8s-style resources for declaring CI/CD-style pipelines. Starting in version 1.0.0 and prior to versions 1.0.2, 1.3.4, 1.6.2, 1.9.3, and 1.11.1, the git resolver's revision parameter is passed directly as a positional argument to git fetch without any validation that it does not begin with a - character. Because git parses flags from mixed positional arguments, an attacker can inject arbitrary git fetch flags such as --upload-pack=<binary>. Combined with the validateRepoURL function explicitly permitting URLs that begin with / (local filesystem paths), a tenant who can submit ResolutionRequest objects can chain these two behaviors to execute an arbitrary binary on the resolver pod. The tekton-pipelines-resolvers ServiceAccount holds cluster-wide get/list/watch on all Secrets, so code execution on the resolver pod enables full cluster-wide secret exfiltration. Versions 1.0.2, 1.3.4, 1.6.2, 1.9.3, and 1.11.1 fix the issue.
CVSS v3.1
Score 7.5high
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Tekton Pipelines' git resolver passes the revision parameter directly as a positional argument to git fetch without validating that it does not start with a '-' character. Because git interprets flags from positional arguments, an attacker can inject arbitrary git fetch flags such as --upload-pack=<binary>. Additionally, the validateRepoURL function permits URLs starting with '/', enabling local filesystem path usage. A tenant able to submit ResolutionRequest objects can chain these behaviors to execute arbitrary binaries on the resolver pod. The resolver pod's ServiceAccount has cluster-wide get/list/watch permissions on all Secrets, enabling full secret exfiltration upon code execution. Versions 1.0.2, 1.3.4, 1.6.2, 1.9.3, and 1.11.1 contain fixes for this issue.
Potential Impact
Successful exploitation allows an attacker with limited privileges (tenant able to submit ResolutionRequest objects) to execute arbitrary code on the resolver pod. Given the resolver pod's ServiceAccount has cluster-wide permissions to access all Secrets, this leads to full cluster-wide secret exfiltration. The vulnerability impacts confidentiality, integrity, and availability of the Kubernetes cluster managed by Tekton Pipelines.
Mitigation Recommendations
Fixed versions are 1.0.2, 1.3.4, 1.6.2, 1.9.3, and 1.11.1. Users should upgrade to one of these versions to remediate the vulnerability. Patch status is not explicitly confirmed in the vendor advisory content provided, but the description states these versions fix the issue. No other mitigation or temporary workaround is indicated.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-15T20:40:15.518Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69e7e5b119fe3cd2cdfa01c5
Added to database: 4/21/2026, 9:01:37 PM
Last enriched: 5/22/2026, 3:05:24 PM
Last updated: 6/5/2026, 10:04:21 PM
Views: 65
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.