Pipelines-as-Code: Unscoped GitHub App installation token allows unauthorized access to private repositories via remote task resolution
Summary
| CVE | CVE-2026-54168 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-09-15 15:17:17 UTC |
| Updated | 2026-09-17 15:16:47 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 6.5 MEDIUM from [email protected]
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
EPSS: 0.005870000 probability, percentile 0.457730000 (date 2026-09-25)
Problem Types: CWE-269 | CWE-862 | CWE-269 CWE-269: Improper Privilege Management | CWE-862 CWE-862: Missing Authorization
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 6.5 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| 3.1 | CNA | DECLARED | 6.5 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
NoneAvailability
NoneCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Tektoncd | Pipelines-as-code | affected < 0.37.8 | Not specified |
| CNA | Tektoncd | Pipelines-as-code | affected >= 0.38.0, < 0.39.6 | Not specified |
| CNA | Tektoncd | Pipelines-as-code | affected >= 0.40.0, < 0.42.1 | Not specified |
| CNA | Tektoncd | Pipelines-as-code | affected >= 0.43.0, < 0.48.0 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/tektoncd/pipelines-as-code/commit/ac6fded6dfb69ade7197d4eeed6... | [email protected] | github.com | |
| github.com/tektoncd/pipelines-as-code/commit/001782829e82b83ecb3da903f5a... | [email protected] | github.com | |
| github.com/tektoncd/pipelines-as-code/releases/tag/v0.42.1 | [email protected] | github.com | |
| github.com/tektoncd/pipelines-as-code/commit/40813976a77920feaf52671320d... | [email protected] | github.com | |
| github.com/tektoncd/pipelines-as-code/commit/e0c4a11ea3800ab9d26cf3a8ae9... | [email protected] | github.com | |
| github.com/tektoncd/pipelines-as-code/releases/tag/v0.37.8 | [email protected] | github.com | |
| github.com/tektoncd/pipelines-as-code/releases/tag/v0.39.6 | [email protected] | github.com | |
| github.com/tektoncd/pipelines-as-code/releases/tag/v0.48.0 | [email protected] | github.com | |
| github.com/tektoncd/pipelines-as-code/security/advisories/GHSA-6f2p-296r... | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.