本文へ移動
English version →
中 6.5

github.com/openshift-pipelines/pipelines-as-code に 権限昇格

CVE-2026-54168 SecPulse初出

自動生成の要約

取得元のデータ (CVSS・CWE・影響バージョンなど) から SecPulse が定型文で組み立てた要約です。AI は使っていません。正確な内容は下の原文と参照URLで確認してください。

github.com/openshift-pipelines/pipelines-as-code という製品で、CVE-2026-54168 という番号がついた弱点 (脆弱性) が見つかりました。
悪い人がインターネット越しに ScopeTokenToListOfRepos のような特定の入り口を狙うことで、製品の中を不正に操作できてしまいます。
機密情報が外部に流出する可能性があります。重要度は CVSS スコア 6.5/10 です。
対策: github.com/openshift-pipelines/pipelines-as-code を 0.48.0 以上に更新してください。
心配なら、システム担当者や製品の公式サイトで「github.com/openshift-pipelines/pipelines-as-code CVE-2026-54168」を検索してください。

CVE-2026-54168 (github.com/openshift-pipelines/pipelines-as-code) — CWE-269 / CVSS v3 6.5
攻撃ベクター: ネットワーク経由 (リモート攻撃可) / 被害者操作不要
脆弱箇所: ScopeTokenToListOfRepos
修正バージョン: 0.48.0 (即時適用推奨)
暫定回避: Limit the GitHub App installation to only the repositories that require Pipelines-as-Code.
対応方針: 1) SBOMで影響バージョン横断確認, 2) ステージング検証→本番更新, 3) WAF/プロキシで該当エンドポイントを監視, 4) ログでIOC調査。
参考: 当ページの『参照URL』の GHSA / vendor advisory / patched release を参照。

何が問題か

github.com/openshift-pipelines/pipelines-as-code に 脆弱性 (CWE-269) があります。攻撃者は ScopeTokenToListOfRepos を経由して脆弱な処理に到達できます。

影響範囲

github.com/openshift-pipelines/pipelines-as-code の影響バージョンはベンダーのアドバイザリで確認してください。攻撃箇所: ScopeTokenToListOfRepos。

重要度

重要度: 中 (CVSS 6.5/10)。機密情報が外部に流出する可能性があります。

修正方法

0.48.0 に更新してください。

暫定回避

暫定回避: Limit the GitHub App installation to only the repositories that require Pipelines-as-Code.

検知方法

Webサーバ・プロキシ・WAFログで該当CVEのIOCに合致する不審リクエストを検索。SBOM/依存ファイルで影響バージョンを横断確認。

対応アクション

SOC/SREチームが順番に実行すべき具体的なステップとコマンド例

  1. 1
    影響範囲の特定identify
    grep -r 'github.com/openshift-pipelines/pipelines-as-code' . | grep -v node_modules

    リポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で github.com/openshift-pipelines/pipelines-as-code を grep し、稼働しているサービス・バージョンを把握する。

  2. 2
    暫定回避策の適用mitigate
    Limit the GitHub App installation to only the repositories that require Pipelines-as-Code.

    パッチが適用されるまでの応急処置として、Limit the GitHub App installation to only the repositories that require Pipelines-as-Code. を実施。回避策の副作用 (機能低下) を確認した上で。

  3. 3
    パッチ適用patch
    Upgrade github.com/openshift-pipelines/pipelines-as-code to 0.48.0

    ステージング環境で 0.48.0 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。

  4. 4
    事後検証verify
    Confirm patched version is live in production

    パッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。

影響パッケージ

パッケージ影響を受ける版 → 修正版
gogithub.com/openshift-pipelines/pipelines-as-code
0.37.8 未満→ 0.37.8
0.38.0 以上 0.39.6 未満→ 0.39.6
0.40.0 以上 0.42.1 未満→ 0.42.1
0.43.0 以上 0.48.0 未満→ 0.48.0
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。

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.

出典: GitHub Security Advisories (Global) NVD GitHub Advisory

参照URL

当サイトでは、アクセス解析と広告の効果測定のためにCookieを使います。株式会社Gameのサイト共通の設定です。 詳しく