{"items":[{"id":"NVI-00018449","kind":"vulnerability","title":"Tekton Pipelines: VolumeMount path restriction bypass via missing filepath.Clean in /tekton/ check","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-rx35-6rhx-7858","CVE-2026-40923"],"plain_summary":"GitHub lists this reviewed advisory for github.com/tektoncd/pipeline, github.com/tektoncd/pipeline, github.com/tektoncd/pipeline, github.com/tektoncd/pipeline, github.com/tektoncd/pipeline. Published version ranges and source prerequisites are shown below; this is not an inspection of a visitor’s application.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-26149eac04f239f3e2c0f2797d001dbc"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[{"kind":"CVSS","as_of":"2026-05-22T15:40:42.000Z","value":"5.4 medium","meaning":"GitHub source severity; exploitability and local consequence require separate evidence.","source_id":"sr-26149eac04f239f3e2c0f2797d001dbc"}],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-26149eac04f239f3e2c0f2797d001dbc","url":"https://github.com/advisories/GHSA-rx35-6rhx-7858","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-rx35-6rhx-7858","publisher":"GitHub Advisory Database","observed_at":"2026-11-07T07:02:15.138Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-26149eac04f239f3e2c0f2797d001dbc"],"technology":"github.com/tektoncd/pipeline","known_exclusions":[],"conditions_summary":"### Summary\n\nA validation bypass in the VolumeMount path restriction allows mounting\nvolumes under restricted `/tekton/` internal paths by using `..` path\ntraversal components. The restriction check uses `strings.HasPrefix`\nwithout `filepath.Clean`, so a path like `/tekton/home/../results`\npasses validation but resolves to `/tekton/results` at runtime.\n\n### Details\n\nTekton Pipelines restricts VolumeMount paths under `/tekton/` (except\n`/tekton/home`) to prevent users from interfering with internal\nexecution state. The validation at\n`pkg/apis/pipeline/v1/container_validation.go` checks mount paths using\n`strings.HasPrefix` without normalizing the path first:\n\n```go\nif strings.HasPrefix(vm.MountPath, \"/tekton/\") &&\n    !strings.HasPrefix(vm.MountPath, \"/tekton/home\") {\n    // reject\n}\n```\n\nBecause `/tekton/home` is an allowed prefix, a path like\n`/tekton/home/../results` passes both checks. At runtime, the container\nruntime resolves `..` and the actual mount point becomes\n`/tekton/results`.\n\nThe same pattern exists in `pkg/apis/pipeline/v1beta1/task_validation.go`.\n\n### Impact\n\nAn authenticated user with Task or TaskRun creation permissions can\nmount volumes over internal Tekton path","public_affected_ranges":[">= 1.10.0, < 1.11.1"]},{"certainty":"source_listed","source_ids":["sr-26149eac04f239f3e2c0f2797d001dbc"],"technology":"github.com/tektoncd/pipeline","known_exclusions":[],"conditions_summary":"### Summary\n\nA validation bypass in the VolumeMount path restriction allows mounting\nvolumes under restricted `/tekton/` internal paths by using `..` path\ntraversal components. The restriction check uses `strings.HasPrefix`\nwithout `filepath.Clean`, so a path like `/tekton/home/../results`\npasses validation but resolves to `/tekton/results` at runtime.\n\n### Details\n\nTekton Pipelines restricts VolumeMount paths under `/tekton/` (except\n`/tekton/home`) to prevent users from interfering with internal\nexecution state. The validation at\n`pkg/apis/pipeline/v1/container_validation.go` checks mount paths using\n`strings.HasPrefix` without normalizing the path first:\n\n```go\nif strings.HasPrefix(vm.MountPath, \"/tekton/\") &&\n    !strings.HasPrefix(vm.MountPath, \"/tekton/home\") {\n    // reject\n}\n```\n\nBecause `/tekton/home` is an allowed prefix, a path like\n`/tekton/home/../results` passes both checks. At runtime, the container\nruntime resolves `..` and the actual mount point becomes\n`/tekton/results`.\n\nThe same pattern exists in `pkg/apis/pipeline/v1beta1/task_validation.go`.\n\n### Impact\n\nAn authenticated user with Task or TaskRun creation permissions can\nmount volumes over internal Tekton path","public_affected_ranges":[">= 1.7.0, < 1.9.3"]},{"certainty":"source_listed","source_ids":["sr-26149eac04f239f3e2c0f2797d001dbc"],"technology":"github.com/tektoncd/pipeline","known_exclusions":[],"conditions_summary":"### Summary\n\nA validation bypass in the VolumeMount path restriction allows mounting\nvolumes under restricted `/tekton/` internal paths by using `..` path\ntraversal components. The restriction check uses `strings.HasPrefix`\nwithout `filepath.Clean`, so a path like `/tekton/home/../results`\npasses validation but resolves to `/tekton/results` at runtime.\n\n### Details\n\nTekton Pipelines restricts VolumeMount paths under `/tekton/` (except\n`/tekton/home`) to prevent users from interfering with internal\nexecution state. The validation at\n`pkg/apis/pipeline/v1/container_validation.go` checks mount paths using\n`strings.HasPrefix` without normalizing the path first:\n\n```go\nif strings.HasPrefix(vm.MountPath, \"/tekton/\") &&\n    !strings.HasPrefix(vm.MountPath, \"/tekton/home\") {\n    // reject\n}\n```\n\nBecause `/tekton/home` is an allowed prefix, a path like\n`/tekton/home/../results` passes both checks. At runtime, the container\nruntime resolves `..` and the actual mount point becomes\n`/tekton/results`.\n\nThe same pattern exists in `pkg/apis/pipeline/v1beta1/task_validation.go`.\n\n### Impact\n\nAn authenticated user with Task or TaskRun creation permissions can\nmount volumes over internal Tekton path","public_affected_ranges":[">= 1.4.0, < 1.6.2"]},{"certainty":"source_listed","source_ids":["sr-26149eac04f239f3e2c0f2797d001dbc"],"technology":"github.com/tektoncd/pipeline","known_exclusions":[],"conditions_summary":"### Summary\n\nA validation bypass in the VolumeMount path restriction allows mounting\nvolumes under restricted `/tekton/` internal paths by using `..` path\ntraversal components. The restriction check uses `strings.HasPrefix`\nwithout `filepath.Clean`, so a path like `/tekton/home/../results`\npasses validation but resolves to `/tekton/results` at runtime.\n\n### Details\n\nTekton Pipelines restricts VolumeMount paths under `/tekton/` (except\n`/tekton/home`) to prevent users from interfering with internal\nexecution state. The validation at\n`pkg/apis/pipeline/v1/container_validation.go` checks mount paths using\n`strings.HasPrefix` without normalizing the path first:\n\n```go\nif strings.HasPrefix(vm.MountPath, \"/tekton/\") &&\n    !strings.HasPrefix(vm.MountPath, \"/tekton/home\") {\n    // reject\n}\n```\n\nBecause `/tekton/home` is an allowed prefix, a path like\n`/tekton/home/../results` passes both checks. At runtime, the container\nruntime resolves `..` and the actual mount point becomes\n`/tekton/results`.\n\nThe same pattern exists in `pkg/apis/pipeline/v1beta1/task_validation.go`.\n\n### Impact\n\nAn authenticated user with Task or TaskRun creation permissions can\nmount volumes over internal Tekton path","public_affected_ranges":[">= 1.2.0, < 1.3.4"]},{"certainty":"source_listed","source_ids":["sr-26149eac04f239f3e2c0f2797d001dbc"],"technology":"github.com/tektoncd/pipeline","known_exclusions":[],"conditions_summary":"### Summary\n\nA validation bypass in the VolumeMount path restriction allows mounting\nvolumes under restricted `/tekton/` internal paths by using `..` path\ntraversal components. The restriction check uses `strings.HasPrefix`\nwithout `filepath.Clean`, so a path like `/tekton/home/../results`\npasses validation but resolves to `/tekton/results` at runtime.\n\n### Details\n\nTekton Pipelines restricts VolumeMount paths under `/tekton/` (except\n`/tekton/home`) to prevent users from interfering with internal\nexecution state. The validation at\n`pkg/apis/pipeline/v1/container_validation.go` checks mount paths using\n`strings.HasPrefix` without normalizing the path first:\n\n```go\nif strings.HasPrefix(vm.MountPath, \"/tekton/\") &&\n    !strings.HasPrefix(vm.MountPath, \"/tekton/home\") {\n    // reject\n}\n```\n\nBecause `/tekton/home` is an allowed prefix, a path like\n`/tekton/home/../results` passes both checks. At runtime, the container\nruntime resolves `..` and the actual mount point becomes\n`/tekton/results`.\n\nThe same pattern exists in `pkg/apis/pipeline/v1beta1/task_validation.go`.\n\n### Impact\n\nAn authenticated user with Task or TaskRun creation permissions can\nmount volumes over internal Tekton path","public_affected_ranges":[">= 1.0.0, < 1.0.2"]}],"null_published_at":"2026-11-07T07:07:39.837Z","source_updated_at":"2026-05-22T15:40:42.000Z","source_disclosed_at":"2026-04-21T20:26:41.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"First indexed by Null; source disclosure date is shown separately.","null_first_observed_at":"2026-11-07T07:02:15.138Z"}],"next_cursor":null,"snapshot_revision":"42594"}