cve.bz

CVE-2026-54168 tektoncd pipelines-as-code: Improper Privilege Management

6.5 mediumEPSS 0.6%Fix available

Medium (6.5) in tektoncd pipelines-as-code. EPSS 0.6% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/openshift-pipelines/pipelines-as-code 0.37.8, 0.39.6, 0.42.1.

On this page
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.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
EPSS
0.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 49th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-09-17. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-269 Improper Privilege Management
CWE-862 Missing Authorization
OWASP Top 10
A01:2025 Broken Access Control, A06:2025 Insecure Design
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-54168 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-54168?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-54168?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-54168 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
tektoncd pipelines-as-code< 0.37.8
tektoncd pipelines-as-code>= 0.38.0, < 0.39.6
tektoncd pipelines-as-code>= 0.40.0, < 0.42.1
tektoncd pipelines-as-code>= 0.43.0, < 0.48.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-6f2p-296r-cc28Gogithub.com/openshift-pipelines/pipelines-as-code<0.37.80.37.8
GHSA-6f2p-296r-cc28Gogithub.com/openshift-pipelines/pipelines-as-code>=0.38.0 <0.39.60.39.6
GHSA-6f2p-296r-cc28Gogithub.com/openshift-pipelines/pipelines-as-code>=0.40.0 <0.42.10.42.1
GHSA-6f2p-296r-cc28Gogithub.com/openshift-pipelines/pipelines-as-code>=0.43.0 <0.48.00.48.0
GO-2026-6263Gogithub.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

Linux distributions

DistributionReleasePackageFixed inAdvisory
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0govulncheck-vulndb0.0.20260827T195228-160000.1.1SUSE-SU-2026:23625-1
openSUSELeap 16.0govulncheck-vulndb0.0.20260827T195228-160000.1.1openSUSE-SU-2026:21761-1

From the distributions' data via OSV.dev: SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This flaw has a Moderate impact because Pipelines-as-Code GitHub App deployments installed across multiple repositories can issue an installation token that is not restricted to the repository that triggered a webhook. A user with push access to one repository can use a remote-task annotation to read Tekton definitions from another private repository in the same installation. No write access is exposed.

Red Hat's mitigation

Limit GitHub App installations to only repositories that require Pipelines-as-Code. Avoid organization-wide or mixed-trust installations that combine repositories with different access requirements under one GitHub App installation.

ProductPackageStateAdvisory
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-rhel10-operatorNot affected
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-rhel9-operatorNot affected
OpenShift Pipelinesopenshift-pipelines-clientNot affected
OpenShift Pipelinesopenshift-pipelines/pipelines-cli-tkn-rhel8Not affected
OpenShift Pipelinesopenshift-pipelines/pipelines-cli-tkn-rhel9Not affected
OpenShift Pipelinesopenshift-pipelines/pipelines-opc-rhel9Not affected
OpenShift Pipelinesopenshift-pipelines/pipelines-operator-proxy-rhel8Not affected
OpenShift Pipelinesopenshift-pipelines/pipelines-operator-proxy-rhel9Not affected
OpenShift Pipelinesopenshift-pipelines/pipelines-operator-webhook-rhel8Not affected
OpenShift Pipelinesopenshift-pipelines/pipelines-operator-webhook-rhel9Not affected
OpenShift Pipelinesopenshift-pipelines/pipelines-pipelines-as-code-cli-rhel8Not affected
OpenShift Pipelinesopenshift-pipelines/pipelines-pipelines-as-code-cli-rhel9Not affected
OpenShift Pipelinesopenshift-pipelines/pipelines-pipelines-as-code-controller-rhel8Not affected
OpenShift Pipelinesopenshift-pipelines/pipelines-pipelines-as-code-controller-rhel9Not affected
OpenShift Pipelinesopenshift-pipelines/pipelines-pipelines-as-code-watcher-rhel8Not affected
OpenShift Pipelinesopenshift-pipelines/pipelines-pipelines-as-code-watcher-rhel9Not affected
OpenShift Pipelinesopenshift-pipelines/pipelines-pipelines-as-code-webhook-rhel8Not affected
OpenShift Pipelinesopenshift-pipelines/pipelines-pipelines-as-code-webhook-rhel9Not affected
OpenShift Pipelinesopenshift-pipelines/pipelines-rhel8-operatorNot affected
OpenShift Pipelinesopenshift-pipelines/pipelines-rhel9-operatorNot affected
5 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-54168.

Attack patterns (CAPEC)

  • CAPEC-665 Exploitation of Thunderbolt Protection Flaws Likelihood: Low · Severity: Very High
  • CAPEC-58 Restful Privilege Elevation Likelihood: High · Severity: High
  • CAPEC-122 Privilege Abuse Likelihood: High · Severity: Medium
  • CAPEC-233 Privilege Escalation

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON