github.com/openshift-pipelines/pipelines-as-code · Pipelines as code: Pipelines-as-Code GitHub App token request can be redirected via untrusted Enterprise Host header
Affects github.com/openshift-pipelines/pipelines-as-codeSource GCVE Database
Not known to be exploited · CVSS 8.2 High : upgrade to 0.48.0 soon.
Data as of 28 Oct 2026, 17:11 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 18% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 0.48.0, 0.42.1, 0.39.6 +1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 15 Sep 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Gogithub.com/openshift-pipelines/pipelines-as-code | Affected
| Fixed in
|
| Gogithub.com/openshift-pipelines/pipelines-as-code | Affected
| Fixed in
|
| Gogithub.com/openshift-pipelines/pipelines-as-code | Affected
| Fixed in
|
| Gogithub.com/openshift-pipelines/pipelines-as-code | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available in versions 0.48.0, 0.42.1, 0.39.6, and 0.37.8 that addresses this vulnerability by validating webhook signatures before token generation and verifying the Enterprise host. Until patched, operators should block or strip unexpected X-GitHub-Enterprise-Host headers at ingress or proxies, reject such headers for GitHub.com installations, and restrict allowed Enterprise hostnames for GitHub Enterprise Server. Additionally, restrict webhook endpoint access to trusted sources. If exploitation is suspected, rotate the GitHub App private key and review installation token activity.
Description
Pipelines-as-Code versions prior to 0.48.0, 0.42.1, 0.39.6, and 0.37.8 are vulnerable to credential exfiltration via the GitHub App webhook endpoint. The vulnerability arises because the application accepts the X-GitHub-Enterprise-Host header without proper validation before generating GitHub App tokens, allowing an attacker to redirect token requests to a malicious host. This can lead to exposure of the GitHub App JWT, enabling token minting within the JWT validity window. The issue is fixed by validating webhook signatures before token generation and verifying the Enterprise host against the repository URL. Operators are advised to block or strip unexpected headers and restrict webhook endpoint access until patched.
References
- github.com/tektoncd/pipelines-as-code/security/advisories/GHSA-f5f4-3hh4-f54m (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-54167 (opens in a new tab)
- github.com/tektoncd/pipelines-as-code/pull/2759 (opens in a new tab)
- github.com/tektoncd/pipelines-as-code/commit/402d5c7eeece881cb082ec68e9e8b61709e39ace (opens in a new tab)
- github.com/tektoncd/pipelines-as-code/commit/40813976a77920feaf52671320d6d3c5ff08eb7e (opens in a new tab)
- github.com/tektoncd/pipelines-as-code/commit/ac6fded6dfb69ade7197d4eeed6e90ddbe1b79bc (opens in a new tab)
- github.com/tektoncd/pipelines-as-code/commit/e0c4a11ea3800ab9d26cf3a8ae92b74cf18527c3 (opens in a new tab)
- github.com/tektoncd/pipelines-as-code (opens in a new tab)
- github.com/tektoncd/pipelines-as-code/releases/tag/v0.37.8 (opens in a new tab)
- github.com/tektoncd/pipelines-as-code/releases/tag/v0.39.6 (opens in a new tab)
- github.com/tektoncd/pipelines-as-code/releases/tag/v0.42.1 (opens in a new tab)
- github.com/tektoncd/pipelines-as-code/releases/tag/v0.48.0 (opens in a new tab)