CVE-2026-54168
Pipelines-as-Code: Unscoped GitHub App installation token allows unauthorized access to private repositories via remote task resolution
Also known as GHSA-6f2p-296r-cc28, GO-2026-6263
Mitigation
- Upgrade github.com/openshift-pipelines/pipelines-as-code to one of 0.37.8, 0.39.6, 0.42.1, 0.48.0 (or later in the same release line).
Who should check
- Projects that depend on Go package github.com/openshift-pipelines/pipelines-as-code (< 0.37.8)
- Anyone running 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
Vulnerability facts
- Affected
- github.com/openshift-pipelines/pipelines-as-code < 0.37.8
- Fixed in
- 0.37.8, 0.39.6, 0.42.1, 0.48.0
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 6.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: None
- Availability impact: None
- EPSS
- 0.59% chance of exploitation in 30 days (percentile 42, 2026-11-26)
- CWE
- CWE-269, CWE-862
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Go github.com/openshift-pipelines/pipelines-as-code | < 0.37.8 | 0.37.8, 0.39.6, 0.42.1, 0.48.0 | osv |
| 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 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-54168. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-54168.md Affected: github.com/openshift-pipelines/pipelines-as-code < 0.37.8 Fixed in: 0.37.8, 0.39.6, 0.42.1, 0.48.0 Steps: 1. Search this machine and project for github.com/openshift-pipelines/pipelines-as-code (Go), tektoncd pipelines-as-code: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
- https://github.com/tektoncd/pipelines-as-code/commit/001782829e82b83ecb3da903f5a024ca0826b64c
- https://github.com/tektoncd/pipelines-as-code/commit/40813976a77920feaf52671320d6d3c5ff08eb7e
- https://github.com/tektoncd/pipelines-as-code/commit/ac6fded6dfb69ade7197d4eeed6e90ddbe1b79bc
- https://github.com/tektoncd/pipelines-as-code/commit/e0c4a11ea3800ab9d26cf3a8ae92b74cf18527c3
Other
- https://github.com/tektoncd/pipelines-as-code/releases/tag/v0.37.8
- https://github.com/tektoncd/pipelines-as-code/releases/tag/v0.39.6
- https://github.com/tektoncd/pipelines-as-code/releases/tag/v0.42.1
- https://github.com/tektoncd/pipelines-as-code/releases/tag/v0.48.0
- https://github.com/tektoncd/pipelines-as-code
FAQ
Is CVE-2026-54168 being exploited?
There is no confirmed exploitation: CVE-2026-54168 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.59% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-54168?
Medium: CVSS 6.5 (v3.1, scored by CNA). Remote, login needed.
Which versions are affected by CVE-2026-54168?
github.com/openshift-pipelines/pipelines-as-code < 0.37.8.
Is there a fix for CVE-2026-54168?
Yes. Fixed in 0.37.8, 0.39.6, 0.42.1, 0.48.0. Upgrade github.com/openshift-pipelines/pipelines-as-code to one of 0.37.8, 0.39.6, 0.42.1, 0.48.0 (or later in the same release line).
How do I check if I'm affected by CVE-2026-54168?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.