CVE-2026-54167 Pipelines-as-Code GitHub App token request can be redirected via untrusted Enterprise Host header
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- Red Hat
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.
Upgrade path
7 packages: 1 fixed, 5 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat/openshift-pipelines/pipelines-operator-proxy-rhel8(Red Hat openshift_pipelines 1) | All versions | No fix listed | No fix yet |
| redhat/openshift-pipelines/pipelines-operator-proxy-rhel9(Red Hat openshift_pipelines 1) | All versions | No fix listed | No fix yet |
| redhat/openshift-pipelines/pipelines-pipelines-as-code-controller-rhel8(Red Hat openshift_pipelines 1) | All versions | No fix listed | No fix yet |
| redhat/openshift-pipelines/pipelines-rhel9-operator(Red Hat openshift_pipelines 1) | All versions | No fix listed | No fix yet |
| redhat/web-terminal/web-terminal-tooling-rhel9(Red Hat webterminal 1) | All versions | No fix listed | No fix yet |
| openshift-pipelines github.com/openshift-pipelines/pipelines-as-code(Go) | < 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 | Fixed |
| 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 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| tektoncd pipelines-as-code | = < 0.37.8 | No fix listed |
| tektoncd pipelines-as-code | = >= 0.38.0, < 0.39.6 | No fix listed |
| tektoncd pipelines-as-code | = >= 0.40.0, < 0.42.1 | No fix listed |
| tektoncd pipelines-as-code | = >= 0.43.0, < 0.48.0 | No fix listed |
| openshift-pipelines github.com/openshift-pipelines/pipelines-as-code(Go) | >= 0.43.0, < 0.48.0 | 0.48.0 |
| openshift-pipelines github.com/openshift-pipelines/pipelines-as-code(Go) | >= 0.40.0, < 0.42.1 | 0.42.1 |
| openshift-pipelines github.com/openshift-pipelines/pipelines-as-code(Go) | >= 0.38.0, < 0.39.6 | 0.39.6 |
| openshift-pipelines github.com/openshift-pipelines/pipelines-as-code(Go) | < 0.37.8 | 0.37.8 |
| redhat/openshift-pipelines/pipelines-operator-proxy-rhel8(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
| redhat/openshift-pipelines/pipelines-operator-proxy-rhel9(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
| redhat/openshift-pipelines/pipelines-pipelines-as-code-controller-rhel8(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
| redhat/openshift-pipelines/pipelines-rhel9-operator(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
| redhat/web-terminal/web-terminal-tooling-rhel9(Red Hat:webterminal:1) | All versions | No fix listed |
References
- https://github.com/tektoncd/pipelines-as-code/security/advisories/GHSA-f5f4-3hh4-f54m vendor-advisory
- https://github.com/tektoncd/pipelines-as-code/commit/402d5c7eeece881cb082ec68e9e8b61709e39ace patch
- https://github.com/tektoncd/pipelines-as-code/commit/40813976a77920feaf52671320d6d3c5ff08eb7e patch
- https://github.com/tektoncd/pipelines-as-code/commit/ac6fded6dfb69ade7197d4eeed6e90ddbe1b79bc patch
- https://github.com/tektoncd/pipelines-as-code/commit/e0c4a11ea3800ab9d26cf3a8ae92b74cf18527c3 patch
- 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
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com product
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2533858 issue-tracking
- www.cve.org
- github.com
- ENISA EUVD EUVD-2026-78587 third-party-advisory