Security mailing lists by PureSourceCode

CVE-2026-54168

MEDIUM 6.5CVSS 3.1

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

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, a GitHub App installation token created during webhook processing is not scoped to the repository that triggered the event when the App is installed across multiple repositories. A user with push access to one repository can submit a PipelineRun containing a pipelinesascode.tekton.dev/task remote task annotation that targets a private repository in the same installation. When ScopeTokenToListOfRepos returns no explicit scope, the missing triggering repository ID leaves the token able to access the entire installation. Pipelines-as-Code resolves and inlines the remote private task with that token, disclosing the repository's Tekton definitions. The demonstrated impact is read-only and does not provide write access. This issue is fixed in versions 0.37.8, 0.39.6, 0.42.1, and 0.48.0.

Published
15 Sep 2026
Last modified
30 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Awaiting Analysis
Weakness
CWE-269CWE-862
Also known as
GHSA-6f2p-296r-cc28GO-2026-6263
Sources
NVDJSONOSV GHSA-6f2p-296r-cc28JSONOSV GO-2026-6263JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
OSV GitHub CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV Go github.com/openshift-pipelines/pipelines-as-code < 0.37.8 0.37.8
OSV Go github.com/openshift-pipelines/pipelines-as-code >= 0.38.0, < 0.39.6 0.39.6
OSV Go github.com/openshift-pipelines/pipelines-as-code >= 0.40.0, < 0.42.1 0.42.1
OSV Go github.com/openshift-pipelines/pipelines-as-code >= 0.43.0, < 0.48.0 0.48.0
OSV 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

References

History

  • 25 Nov 2026 21:05 UTC · NVD: first stored (published 15 Sep 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Aug 2026)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 20 Aug 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.