Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/openshift-pipelines/pipelines-as-code
  4. ›
  5. CVE-2026-54168

CVE-2026-54168: Tekton Pipelines-as-Code: Unscoped GitHub App installation token allows unauthorized access to private repositories via remote task resolution

August 20, 2026

When Pipelines-as-Code is configured with a GitHub App installed across multiple repositories, the installation token issued during webhook processing is not scoped to the triggering repository by default. The token retains access to all repositories in the GitHub App installation.

This allows a user with push access to any repository in the installation to craft a PipelineRun with a remote task annotation pointing at a private repository in the same installation:

pipelinesascode.tekton.dev/task: "https://github.com/org/private-repo/blob/main/.tekton/secret-task.yaml"

Pipelines-as-Code resolves and inlines the remote task using the unscoped token, exposing the contents of the private repository’s Tekton definitions. This is a read-only confidentiality breach, no write access is exposed.

References

  • github.com/advisories/GHSA-6f2p-296r-cc28
  • github.com/tektoncd/pipelines-as-code/security/advisories/GHSA-6f2p-296r-cc28
  • nvd.nist.gov/vuln/detail/CVE-2026-54168

Code Behaviors & Features

Detect and mitigate CVE-2026-54168 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.37.8, all versions starting from 0.38.0 before 0.39.6, all versions starting from 0.40.0 before 0.42.1, all versions starting from 0.43.0 before 0.48.0

Fixed versions

  • 0.37.8
  • 0.39.6
  • 0.42.1
  • 0.48.0

Solution

Upgrade to versions 0.37.8, 0.39.6, 0.42.1, 0.48.0 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-269: Improper Privilege Management
  • CWE-862: Missing Authorization

Source file

go/github.com/openshift-pipelines/pipelines-as-code/CVE-2026-54168.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 22 Sep 2026 12:19:22 +0000.