CVE-2026-54167
Pipelines-as-Code GitHub App token request can be redirected via untrusted Enterprise Host header
Also known as GHSA-f5f4-3hh4-f54m, GO-2026-6266
Mitigation
- Upgrade github.com/openshift-pipelines/pipelines-as-code to one of 0.48.0, 0.42.1, 0.39.6, 0.37.8 (or later in the same release line).
Who should check
- Projects that depend on Go package github.com/openshift-pipelines/pipelines-as-code (>= 0.43.0, < 0.48.0)
- 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.43.0, < 0.48.0
- Fixed in
- 0.48.0, 0.42.1, 0.39.6, 0.37.8
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 8.2 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: Low
- Availability impact: None
- EPSS
- 0.27% chance of exploitation in 30 days (percentile 12, 2026-11-26)
- CWE
- CWE-345
- 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, the GitHub App provider accepts X-GitHub-Enterprise-Host as the API host while processing webhook events containing an installation.id, before webhook signature validation or confirmation that the host matches the repository URL in the signed payload. An unauthenticated attacker who can reach the webhook endpoint can select an attacker-controlled host and cause the controller to send a locally signed GitHub App JWT to that service. The exposed JWT may be used to attempt to mint installation access tokens during its validity window, subject to the GitHub App installation and permissions. The incoming webhook installation-lookup path is also affected, but exploitation of that path requires the valid incoming webhook secret for the target Repository CR. 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.43.0, < 0.48.0 | 0.48.0, 0.42.1, 0.39.6, 0.37.8 | 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-54167. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-54167.md Affected: github.com/openshift-pipelines/pipelines-as-code >= 0.43.0, < 0.48.0 Fixed in: 0.48.0, 0.42.1, 0.39.6, 0.37.8 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/402d5c7eeece881cb082ec68e9e8b61709e39ace
- 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
- https://github.com/tektoncd/pipelines-as-code/pull/2759
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-54167 being exploited?
There is no confirmed exploitation: CVE-2026-54167 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.27% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-54167?
High: CVSS 8.2 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2026-54167?
github.com/openshift-pipelines/pipelines-as-code >= 0.43.0, < 0.48.0.
Is there a fix for CVE-2026-54167?
Yes. Fixed in 0.48.0, 0.42.1, 0.39.6, 0.37.8. Upgrade github.com/openshift-pipelines/pipelines-as-code to one of 0.48.0, 0.42.1, 0.39.6, 0.37.8 (or later in the same release line).
How do I check if I'm affected by CVE-2026-54167?
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.