OpenShift Pipelines-as-Codeの脆弱性で namespaceの権限を昇格される
Summary
OpenShift Pipelines-as-Codeには、Repositoryを作成した利用者の権限が検証されない脆弱性(CVE-2026-50240)があります。Repositoryとシークレットの作成・削除権限だけを持つ利用者が、自動作成されるパイプラインのサービスアカウントとして任意のPipelineRunを実行でき、namespaceの編集権限相当の操作が可能になります。CVSSは8.8です。修正版の情報は確認できていないため、最新の情報を確認してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
OpenShift Pipelines-as-Codeには、Repositoryを作成した利用者の権限が検証されない脆弱性(CVE-2026-50240)があります。Repositoryとシークレットの作成・削除権限だけを持つ利用者が、自動作成されるパイプラインのサービスアカウントとして任意のPipelineRunを実行でき、namespaceの編集権限相当の操作が可能になります。CVSSは8.8です。修正版の情報は確認できていないため、最新の情報を確認してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Red HatBuilds for Red Hat OpenShift | — | Not listed |
| Red HatOpenShift Pipelines | — | Not listed |
| Red HatOpenShift Serverless | — | Not listed |
| Red HatRed Hat OpenShift Dev Spaces | — | Not listed |
| Red HatRed Hat Web Terminal | — | Not listed |
| GitHubpipelines-as-code |
< 0.42.4→ 0.42.4 ≥ 0.43.0, < 0.48.2→ 0.48.2 ≥ 0.49.0, < 0.50.1→ 0.50.1 |
0.42.4 0.48.2 0.50.1 |
Original description The description as published by the source.
A flaw was found in OpenShift Pipelines-as-Code (PAC). PAC does not verify whether the creator of a Repository custom resource has permission to create PipelineRuns. A namespace user with only Repository and Secret create/delete permissions can cause PAC to execute attacker-controlled PipelineRuns as the auto-provisioned pipeline ServiceAccount, which carries ClusterRole/edit by default. This results in namespace-scoped privilege escalation, enabling Secret read, resource creation/modification/deletion, and potential supply chain injection in CI/CD namespaces.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- web secalert@redhat.com
- web secalert@redhat.com
- web github.com
- web secalert@redhat.com
- web secalert@redhat.com
- web access.redhat.com