Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2026-40938— Tekton Pipelines: Git Resolver Unsanitized Revision Parameter Enables git Argument Injection Leading to RCE

CVSS 7.5 · High EPSS 0.09% · P25
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-40938

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Tekton Pipelines: Git Resolver Unsanitized Revision Parameter Enables git Argument Injection Leading to RCE
Source: NVD (National Vulnerability Database)
Vulnerability Description
Tekton Pipelines project provides k8s-style resources for declaring CI/CD-style pipelines. From 1.0.0 to before 1.11.0, 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. This vulnerability is fixed in 1.11.1.
Source: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Source: NVD (National Vulnerability Database)
Vulnerability Type
参数注入或修改
Source: NVD (National Vulnerability Database)
Vulnerability Title
Tekton Pipelines 参数注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Tekton Pipelines是Tekton开源的一个云原生管道。 Tekton Pipelines 1.0.0版本至1.11.0版本存在参数注入漏洞,该漏洞源于git解析器的revision参数直接作为位置参数传递给git fetch且未验证其不以-字符开头,可能导致攻击者注入任意git fetch标志,结合validateRepoURL函数明确允许以/开头的URL,能够提交ResolutionRequest对象的租户可链接这两种行为,在解析器pod上执行任意二进制文件。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
tektoncdpipeline >= 1.0.0, < 1.11.1 -

II. Public POCs for CVE-2026-40938

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-40938

登录查看更多情报信息。

Same Patch Batch · tektoncd · 2026-04-21 · 5 CVEs total

CVE-2026-401617.7 HIGHTekton Pipelines: Git resolver API mode leaks system-configured API token to user-controll
CVE-2026-255426.5 MEDIUMTekton Pipelines: VerificationPolicy regex pattern bypass via substring matching
CVE-2026-409246.5 MEDIUMTekton Pipelines: HTTP Resolver Unbounded Response Body Read Enables Denial of Service via
CVE-2026-409235.4 MEDIUMTekton Pipelines: VolumeMount path restriction bypass via missing filepath.Clean in /tekto

IV. Related Vulnerabilities

V. Comments for CVE-2026-40938

No comments yet


Leave a comment