CVE-2026-54168
Description
Pipelines-as-Code is a CI/CD system that lets users define Tekton pipelines in source code repositories. Prior to 0.37.8, 0.39.6, 0.42.1, and 0.48.0, a GitHub App installation token created during webhook processing is not scoped to the repository that triggered the event when the App is installed across multiple repositories. A user with push access to one repository can submit a PipelineRun containing a pipelinesascode.tekton.dev/task remote task annotation that targets a private repository in the same installation. When ScopeTokenToListOfRepos returns no explicit scope, the missing triggering repository ID leaves the token able to access the entire installation. Pipelines-as-Code resolves and inlines the remote private task with that token, disclosing the repository's Tekton definitions. The demonstrated impact is read-only and does not provide write access. This issue is fixed in versions 0.37.8, 0.39.6, 0.42.1, and 0.48.0.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/openshift-pipelines/pipelines-as-codeGo | < 0.37.8 | 0.37.8 |
github.com/openshift-pipelines/pipelines-as-codeGo | >= 0.38.0, < 0.39.6 | 0.39.6 |
github.com/openshift-pipelines/pipelines-as-codeGo | >= 0.40.0, < 0.42.1 | 0.42.1 |
github.com/openshift-pipelines/pipelines-as-codeGo | >= 0.43.0, < 0.48.0 | 0.48.0 |
Affected products
2- Range: pre-0.37.8, pre-0.39.6, pre-0.42.1, pre-0.48.0
- osv-coordsRange: < 0.0.20260827T195228-160000.1.1
Patches
Vulnerability mechanics
References
10- github.com/advisories/GHSA-6f2p-296r-cc28ghsaADVISORY
- github.com/tektoncd/pipelines-as-code/security/advisories/GHSA-6f2p-296r-cc28nvdWEB
- github.com/tektoncd/pipelines-as-code/commit/001782829e82b83ecb3da903f5a024ca0826b64cnvd
- github.com/tektoncd/pipelines-as-code/commit/40813976a77920feaf52671320d6d3c5ff08eb7envd
- github.com/tektoncd/pipelines-as-code/commit/ac6fded6dfb69ade7197d4eeed6e90ddbe1b79bcnvd
- github.com/tektoncd/pipelines-as-code/commit/e0c4a11ea3800ab9d26cf3a8ae92b74cf18527c3nvd
- github.com/tektoncd/pipelines-as-code/releases/tag/v0.37.8nvd
- github.com/tektoncd/pipelines-as-code/releases/tag/v0.39.6nvd
- github.com/tektoncd/pipelines-as-code/releases/tag/v0.42.1nvd
- github.com/tektoncd/pipelines-as-code/releases/tag/v0.48.0nvd
News mentions
0No linked articles in our index yet.