Skip to content
OpenAdvisories
Medium · 6.5 CVE-2026-54168 EUVD-2026-78586GHSA-6f2p-296r-cc28GO-2026-6263

Pipelines-as-Code: Unscoped GitHub App installation token allows unauthorized access to private repositories via remote task resolution

Published Sep 15, 2026 · Updated Sep 17, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
tektoncd pipelines-as-code < 0.37.8, >= 0.38.0, < 0.39.6, >= 0.40.0, < 0.42.1, >= 0.43.0, < 0.48.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
SLES for SAP 16.0 govulncheck-vulndb 0.0.20260827T195228-160000.1.1 SUSE-SU-2026:23625-1
SLES 16.0 govulncheck-vulndb 0.0.20260827T195228-160000.1.1 SUSE-SU-2026:23625-1
ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260827T195228-160000.1.1 openSUSE-SU-2026:21761-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/openshift-pipelines/pipelines-as-code < 0.37.8 0.37.8 GHSA-6f2p-296r-cc28
Go github.com/openshift-pipelines/pipelines-as-code >= 0.38.0, < 0.39.6 0.39.6 GHSA-6f2p-296r-cc28
Go github.com/openshift-pipelines/pipelines-as-code >= 0.40.0, < 0.42.1 0.42.1 GHSA-6f2p-296r-cc28
Go github.com/openshift-pipelines/pipelines-as-code >= 0.43.0, < 0.48.0 0.48.0 GHSA-6f2p-296r-cc28
Go github.com/openshift-pipelines/pipelines-as-code < 0.37.8 · >= 0.38.0, < 0.39.6 · >= 0.40.0, < 0.42.1 · >= 0.43.0, < 0.48.0 0.37.8, 0.39.6, 0.42.1, 0.48.0 GO-2026-6263

Advisories 2

References