cbcvebase.
CVE-2026-40938
published 2026-04-21

CVE-2026-40938: 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…

high8.5CVSS 3.1
AVNACHPRLUINSCCHIHAH
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=. 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.

Affected

81 ranges· showing 25
VendorProductVersion rangeFixed in
container-native-virtualizationkubevirt-ssp-operator-rhel9
container-native-virtualizationkubevirt-tekton-tasks-create-datavolume-rhel9
container-native-virtualizationkubevirt-tekton-tasks-disk-virt-customize-rhel9
container-native-virtualizationkubevirt-template-validator-rhel9
github.comtektoncd_pipeline>= 1.0.0 < 1.11.11.11.1
linuxfoundationtekton_pipelines>= 1.0.0 < 1.11.01.11.0
openshift-buildsopenshift-builds-controller-rhel9
openshift-buildsopenshift-builds-git-cloner-rhel9
openshift-buildsopenshift-builds-image-bundler-rhel9
openshift-buildsopenshift-builds-image-processing-rhel9
openshift-buildsopenshift-builds-rhel9-operator
openshift-buildsopenshift-builds-waiters-rhel9
openshift-buildsopenshift-builds-webhook-rhel9
openshift-lightspeedopenshift-mcp-server-rhel9
openshift-pipelinespipelines-chains-controller-rhel8
openshift-pipelinespipelines-chains-controller-rhel9
openshift-pipelinespipelines-cli-tkn-rhel8
openshift-pipelinespipelines-cli-tkn-rhel9
openshift-pipelinespipelines-controller-rhel8
openshift-pipelinespipelines-controller-rhel9
openshift-pipelinespipelines-entrypoint-rhel8
openshift-pipelinespipelines-entrypoint-rhel9
openshift-pipelinespipelines-events-rhel8
openshift-pipelinespipelines-events-rhel9
openshift-pipelinespipelines-git-init-rhel8