Pipelines-as-Code GitHub App token request can be redirected via untrusted Enterprise Host header
Summary
| CVE | CVE-2026-54167 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-09-15 15:17:17 UTC |
| Updated | 2026-09-15 15:17:17 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 8.2 HIGH from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
Problem Types: CWE-345 | CWE-345 CWE-345: Insufficient Verification of Data Authenticity
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 8.2 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N |
| 3.1 | CNA | DECLARED | 8.2 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
LowAvailability
NoneCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Tektoncd | Pipelines-as-code | affected < 0.37.8 | Not specified |
| CNA | Tektoncd | Pipelines-as-code | affected >= 0.38.0, < 0.39.6 | Not specified |
| CNA | Tektoncd | Pipelines-as-code | affected >= 0.40.0, < 0.42.1 | Not specified |
| CNA | Tektoncd | Pipelines-as-code | affected >= 0.43.0, < 0.48.0 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/tektoncd/pipelines-as-code/security/advisories/GHSA-f5f4-3hh4... | [email protected] | github.com | |
| github.com/tektoncd/pipelines-as-code/commit/ac6fded6dfb69ade7197d4eeed6... | [email protected] | github.com | |
| github.com/tektoncd/pipelines-as-code/releases/tag/v0.42.1 | [email protected] | github.com | |
| github.com/tektoncd/pipelines-as-code/commit/40813976a77920feaf52671320d... | [email protected] | github.com | |
| github.com/tektoncd/pipelines-as-code/commit/e0c4a11ea3800ab9d26cf3a8ae9... | [email protected] | github.com | |
| github.com/tektoncd/pipelines-as-code/releases/tag/v0.37.8 | [email protected] | github.com | |
| github.com/tektoncd/pipelines-as-code/releases/tag/v0.39.6 | [email protected] | github.com | |
| github.com/tektoncd/pipelines-as-code/releases/tag/v0.48.0 | [email protected] | github.com | |
| github.com/tektoncd/pipelines-as-code/commit/402d5c7eeece881cb082ec68e9e... | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.