OpenShift Pipelines-as-Code namespace privilege escalation
CVE-2026-50240
A regular user in the same project of an OpenShift build tool can steal secrets and gain more power.
- CVE
- CVE-2026-50240(新しいタブで開きます)
- スコア
- CVSS 8.8
- 公開日
- 2026-08-27
- 初確認
対処法
Update to the fixed version for your product's line. Find your product's fixed version in the list below. Until then, set legacyPipelineRbac to false in the TektonConfig custom resource. This may break existing pipelines, and deleting the openshift-pipelines-edit RoleBinding alone is not enough.
製品別の修正バージョン
- pipelines-as-code 0.42 line
- 0.42.4 以降
- pipelines-as-code 0.48 line
- 0.48.2 以降
- pipelines-as-code 0.50 line
- 0.50.1 以降
- Red Hat OpenShift Pipelines 1.23
- 1.23.5 以降
すぐに更新できない場合:
設定ファイルにこの行を追加してください:
Set legacyPipelineRbac to false in the TektonConfig custom resource
設定を誤るとサービスが止まったり、接続できなくなったりすることがあります。変更する前に下の原文リンクを確認してください。
要約
OpenShift Pipelines-as-Code does not check whether a Repository's creator may create PipelineRuns, so a namespace user with only Repository and Secret create/delete rights can read Secrets and change resources through the pipeline ServiceAccount. Several OpenShift products are affected.
該当する条件
- A namespace user holds only Repository and Secret create/delete permissions
- Pipeline ServiceAccount granted ClusterRole/edit by default
製品別のインシデント: Builds for Red Hat OpenShift · Red Hat OpenShift Pipelines 1.23 · Red Hat OpenShift Dev Spaces · OpenShift Serverless · Red Hat Web Terminal
勧告を読む · access.redhat.com(新しいタブで開きます)
- セキュリティ勧告: access.redhat.com(新しいタブで開きます)
- セキュリティ勧告: access.redhat.com(新しいタブで開きます)
- CVE レコード: cve.org(新しいタブで開きます)