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

- Severity: High 8.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 8% of CVEs (2026-12-01)
- Published: 2026-08-20T18:36:30.000Z
- Modified: 2026-10-28T15:45:10.969Z
- Also known as: GHSA-f5f4-3hh4-f54m, GO-2026-6266
- Weaknesses: CWE-345
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

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

## Every score

- GitHub_M: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N`
- GitHub: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N`

## References

- <https://github.com/tektoncd/pipelines-as-code/security/advisories/GHSA-f5f4-3hh4-f54m> (advisory, web)
- <https://github.com/tektoncd/pipelines-as-code/commit/402d5c7eeece881cb082ec68e9e8b61709e39ace> (web)
- <https://github.com/tektoncd/pipelines-as-code/commit/40813976a77920feaf52671320d6d3c5ff08eb7e> (web)
- <https://github.com/tektoncd/pipelines-as-code/commit/ac6fded6dfb69ade7197d4eeed6e90ddbe1b79bc> (web)
- <https://github.com/tektoncd/pipelines-as-code/commit/e0c4a11ea3800ab9d26cf3a8ae92b74cf18527c3> (web)
- <https://github.com/tektoncd/pipelines-as-code/releases/tag/v0.37.8> (web)
- <https://github.com/tektoncd/pipelines-as-code/releases/tag/v0.39.6> (web)
- <https://github.com/tektoncd/pipelines-as-code/releases/tag/v0.42.1> (web)
- <https://github.com/tektoncd/pipelines-as-code/releases/tag/v0.48.0> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-54167> (advisory)
- <https://github.com/tektoncd/pipelines-as-code/pull/2759> (web)
- <https://github.com/tektoncd/pipelines-as-code> (package)

## Sources

- CVE List: [CVE-2026-54167](https://www.cve.org/CVERecord?id=CVE-2026-54167), CVE Terms of Use, modified 2026-09-15
- GitHub Advisory Database: [GHSA-f5f4-3hh4-f54m](https://github.com/advisories/GHSA-f5f4-3hh4-f54m), CC-BY-4.0, modified 2026-10-28
- Go Vulnerability Database: [GO-2026-6266](https://pkg.go.dev/vuln/GO-2026-6266), CC-BY-4.0, modified 2026-08-26
- NVD: [CVE-2026-54167](https://nvd.nist.gov/vuln/detail/CVE-2026-54167), Public domain, modified 2026-09-30

---

Page: https://cve.day/CVE-2026-54167 · Whole record: https://cve.day/CVE-2026-54167.json · Rebuilt by cve.day 2026-11-25T22:59:38.539Z
