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.
How to fix
- github.com/openshift-pipelines/pipelines-as-code0.37.8, 0.39.6, 0.42.1, 0.48.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| github.com/openshift-pipelines/pipelines-as-codeGo | v < 0.37.8, 0.38.0 ≤ v < 0.39.6, 0.40.0 ≤ v < 0.42.1, 0.43.0 ≤ v < 0.48.0 | 0.37.8, 0.39.6, 0.42.1, 0.48.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.