# CVE-2026-54167: Pipelines-as-Code GitHub App token request can be redirected via untrusted Enterprise Host header

- Priority: **Prioritise**
- Reason: Severe, CVSS 8.2 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 0.37.8, 0.39.6, 0.42.1, 0.48.0 (CNA); fix release not confirmed
- Status: published
- Published: 2026-09-15 · Modified: 2026-09-15
- Aliases: GHSA-f5f4-3hh4-f54m, GO-2026-6266
- Record: https://cvemate.com/vulnerability/CVE-2026-54167 · JSON: https://cvemate.com/vulnerability/CVE-2026-54167/json

## Description

```text
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.
```

## Signals

- CVSS: 8.2 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
- EPSS: 0.184%, percentile 8.324%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- github.com/openshift-pipelines pipelines-as-code (Go): ≥ 0.43.0, \< 0.48.0 \| ≥ 0.40.0, \< 0.42.1 \| ≥ 0.38.0, \< 0.39.6 \| \< 0.37.8
- 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

## References

- <https://github.com/tektoncd/pipelines-as-code/security/advisories/GHSA-f5f4-3hh4-f54m>
- <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/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>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-54167>
- <https://github.com/tektoncd/pipelines-as-code/pull/2759>

---

Data as of 2026-12-05T07:51:23.308Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
