Skip to content
OpenAdvisories
High · 8.2 CVE-2026-54167 EUVD-2026-78587GHSA-f5f4-3hh4-f54mGO-2026-6266

Pipelines-as-Code GitHub App token request can be redirected via untrusted Enterprise Host header

Published Sep 15, 2026 · Updated Sep 15, 2026 · 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.

Affected products

VendorProductAffectedFixed
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 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
SLES for SAP 16.0 govulncheck-vulndb 0.0.20260827T195228-160000.1.1 SUSE-SU-2026:23625-1
SLES 16.0 govulncheck-vulndb 0.0.20260827T195228-160000.1.1 SUSE-SU-2026:23625-1
ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260827T195228-160000.1.1 openSUSE-SU-2026:21761-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/openshift-pipelines/pipelines-as-code >= 0.43.0, < 0.48.0 0.48.0 GHSA-f5f4-3hh4-f54m
Go github.com/openshift-pipelines/pipelines-as-code >= 0.40.0, < 0.42.1 0.42.1 GHSA-f5f4-3hh4-f54m
Go github.com/openshift-pipelines/pipelines-as-code >= 0.38.0, < 0.39.6 0.39.6 GHSA-f5f4-3hh4-f54m
Go github.com/openshift-pipelines/pipelines-as-code < 0.37.8 0.37.8 GHSA-f5f4-3hh4-f54m
Go github.com/openshift-pipelines/pipelines-as-code < 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 GO-2026-6266

Advisories 2

References