Tekton PipelinesApplication · Linuxfoundation

CVE-2026-40938

HIGH · 8.5 CVSS v3.1 Published 2026-04-21
Fix available
A fix is available. Upgrade to 1.11.0 or later.
See remediation →
91/100
Remediation priority · Urgent
Public exploit Remotely reachable Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
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.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

The Tekton Pipelines git resolver passes the revision parameter directly to git fetch without validating it doesn't start with a dash character. Since git parses flags from positional arguments, attackers can inject arbitrary flags like --upload-pack=<binary>. Combined with validateRepoURL allowing URLs starting with / (local paths), tenants with ResolutionRequest access can execute arbitrary binaries on the resolver pod. The resolver ServiceAccount has cluster-wide secrets access, enabling full secret exfiltration.

MitigationUpgrade Tekton Pipelines to version 1.0.2, 1.3.4, 1.6.2, 1.9.3, or 1.11.1 or later. Alternatively, restrict who can submit ResolutionRequest objects until patching is possible.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
Tekton PipelinesApplication
Affected:>= 1.0.0, < 1.11.0

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
High
Privileges
Low
User interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Check Tekton Pipelines version
    Run 'kubectl get deployment -n tekton-pipelines tekton-pipelines-controller -o jsonpath="{.spec.template.spec.containers[0].image}"' or check the 'tekton-pipelines' namespace for installed version via 'kubectl get pods -n tekton-pipelines -l app=tekton-pipelines-controller' and inspect labels/annotations
    Affected if Installed version is >= 1.0.0 and < 1.11.0
  2. Verify git resolver is deployed
    Run 'kubectl get deployment -n tekton-pipelines -l app=tekton-pipelines-resolvers' and check for git-resolver pod existence, or inspect configmap 'tekton-git-resolver' in tekton-pipelines namespace
    Affected if The git resolver component is present in the cluster
  3. Check if ResolutionRequest resources exist with git resolver
    Run 'kubectl get resolutionrequests -A' and review any ResolutionRequest resources specifying 'git' resolver type in their spec, particularly those with revision parameters
    Affected if There are ResolutionRequest resources using the git resolver with a user-controlled revision parameter
  4. Inspect tekton-pipelines-resolvers ServiceAccount permissions
    Run 'kubectl get serviceaccount tekton-pipelines-resolvers -n tekton-pipelines -o yaml' and check associated ClusterRoleBindings or RoleBindings for permissions granted to this SA
    Affected if The resolver ServiceAccount has broad permissions (e.g., secrets access, pod exec, or cluster-wide resources) that could be exploited for exfiltration
  5. Check git resolver configuration for revision validation
    Inspect the git resolver ConfigMap or deployment environment variables for any input validation settings on the 'revision' parameter, or review tekton-pipelines git resolver admission configuration
    Affected if No validation is enforced preventing revision parameters starting with '-' or allowing filesystem paths in repo URL validation

The environment is affected if Tekton Pipelines version is between 1.0.0 and 1.11.0, the git resolver is enabled, and ResolutionRequest resources with git resolver are in use with untrusted revision inputs.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Upgrade available Upgrade to 1.11.0 or later
Fixed in 1.11.0
Interim mitigation

Upgrade Tekton Pipelines to version 1.0.2, 1.3.4, 1.6.2, 1.9.3, or 1.11.1 or later. Alternatively, restrict who can submit ResolutionRequest objects until patching is possible.

Recommended fix High confidence

Upgrade to Tekton Pipelines version 1.11.1 or later (minimum fixed release)

  1. Identify the current Tekton Pipelines version running in the cluster using: kubectl get tektonconfig config -o jsonpath='{.spec.pipeline.version}'
  2. Backup current Tekton Pipelines configuration: kubectl get TektonPipeline,Task,Pipeline,TaskRun,PipelineRun -o yaml > backup.yaml
  3. Upgrade Tekton Pipelines to version 1.11.1 or later using the official release manifests: kubectl apply -f https://storage.googleapis.com/tekton-releases/pipeline/previous/v1.11.1/release.yaml
  4. Verify the upgrade completed successfully: kubectl get pods -n tekton-pipelines -l app=tekton-pipelines-controller
  5. Ensure the git resolver pods have been restarted with the patched image: kubectl rollout restart deployment/tekton-pipelines-git-resolver -n tekton-pipelines
  6. Verify the git resolver pods are running with the patched version: kubectl get deployment tekton-pipelines-git-resolver -n tekton-pipelines -o jsonpath='{.spec.template.spec.containers[0].image}'
Caveat Review release notes for any breaking changes between current version and 1.11.1; ensure compatibility with existing pipelines and tasks

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Tekton Pipelines Scoped from the published advisory
  • Consultation3.0 h
  • Implementation6.0 h
  • Testing4.0 h
  • Review / QA2.0 h
15.0 hours of engineering $2,640
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $4,224.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2026-40938 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2026-40938 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data