---
id: CVE-2026-54167
title: >-
  Pipelines-as-Code is a CI/CD system that lets users define Tekton pipelines in
  source code repositories
summary: >-
  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
  processi…
severity: high
cvss: 8.2
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N'
cwe:
  - CWE-345
vendor: tektoncd
product: pipelines-as-code
affected:
  - pipelines-as-code < 0.37.8
  - 'pipelines-as-code >= 0.38.0, < 0.39.6'
  - 'pipelines-as-code >= 0.40.0, < 0.42.1'
  - 'pipelines-as-code >= 0.43.0, < 0.48.0'
patched:
  - github.com/openshift-pipelines/pipelines-as-code 0.48.0
  - github.com/openshift-pipelines/pipelines-as-code 0.42.1
  - github.com/openshift-pipelines/pipelines-as-code 0.39.6
  - github.com/openshift-pipelines/pipelines-as-code 0.37.8
published: '2026-09-15'
updated: '2026-09-15'
sourceUpdated: '2026-09-15T15:17:17.707'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-54167'
references:
  - url: >-
      https://github.com/tektoncd/pipelines-as-code/commit/402d5c7eeece881cb082ec68e9e8b61709e39ace
    label: security-advisories@github.com
  - url: >-
      https://github.com/tektoncd/pipelines-as-code/commit/40813976a77920feaf52671320d6d3c5ff08eb7e
    label: security-advisories@github.com
  - url: >-
      https://github.com/tektoncd/pipelines-as-code/commit/ac6fded6dfb69ade7197d4eeed6e90ddbe1b79bc
    label: security-advisories@github.com
  - url: >-
      https://github.com/tektoncd/pipelines-as-code/commit/e0c4a11ea3800ab9d26cf3a8ae92b74cf18527c3
    label: security-advisories@github.com
  - url: 'https://github.com/tektoncd/pipelines-as-code/releases/tag/v0.37.8'
    label: security-advisories@github.com
  - url: 'https://github.com/tektoncd/pipelines-as-code/releases/tag/v0.39.6'
    label: security-advisories@github.com
  - url: 'https://github.com/tektoncd/pipelines-as-code/releases/tag/v0.42.1'
    label: security-advisories@github.com
  - url: 'https://github.com/tektoncd/pipelines-as-code/releases/tag/v0.48.0'
    label: security-advisories@github.com
  - url: >-
      https://github.com/tektoncd/pipelines-as-code/security/advisories/GHSA-f5f4-3hh4-f54m
    label: security-advisories@github.com
  - url: 'https://github.com/advisories/GHSA-f5f4-3hh4-f54m'
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-54167.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-54167'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2533858'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-54167'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-54167'
tags:
  - nvd
  - cve.org
  - ghsa
  - go
  - csaf
  - vex
  - red-hat
ssvc:
  exploitation: none
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-09-15T14:49:51.787044Z'
aliases:
  - GHSA-f5f4-3hh4-f54m
ecosystem: go
ingestedAt: '2026-08-20T18:59:55.046Z'
epss: 0.00184
epssPercentile: 0.08216
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-54167)

Affected packages:

- `github.com/openshift-pipelines/pipelines-as-code >= 0.43.0, < 0.48.0`
- `github.com/openshift-pipelines/pipelines-as-code >= 0.40.0, < 0.42.1`
- `github.com/openshift-pipelines/pipelines-as-code >= 0.38.0, < 0.39.6`
- `github.com/openshift-pipelines/pipelines-as-code < 0.37.8`

Patched in:

- `github.com/openshift-pipelines/pipelines-as-code 0.48.0`
- `github.com/openshift-pipelines/pipelines-as-code 0.42.1`
- `github.com/openshift-pipelines/pipelines-as-code 0.39.6`
- `github.com/openshift-pipelines/pipelines-as-code 0.37.8`

Source: https://github.com/advisories/GHSA-f5f4-3hh4-f54m

## Vendor advisories

- **Red Hat VEX** · Important · affected: OpenShift Pipelines, Red Hat Web Terminal · no fix planned: OpenShift Pipelines, Red Hat Web Terminal · updated 2026-09-21 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-54167.json)
