github.com/kcp-dev/kcp の脆弱性 (CVE-2026-61682)
概要
github.com/kcp-dev/kcp に 脆弱性 (CVE-2026-61682) が存在。悪用されるとシステム全体を乗っ取られる可能性があります。対策: 0.31.4 以上に更新。
原文の説明
取得元が公開している説明をそのまま載せています (多くは英語)。
Summary
The kcp front-proxy fails to strip client-supplied identity headers before forwarding requests to shards. Any authenticated tenant can inject their own X-Remote-Group and X-Remote-Extra-* headers, which the shard trusts as a verified identity assertion — allowing a low-privilege user to escalate to cluster administrator (system:masters) and read, write, or delete resources in any workspace on the shard. This is a complete multi-tenant isolation and authorization bypass.
Impact
In a sharded kcp deployment, external clients reach shards through the front-proxy, which authenticates the client and then forwards the resulting identity to the shard using Kubernetes request-header authentication (X-Remote-User / X-Remote-Group / X-Remote-Extra-*). The shard trusts these headers because they arrive over the front-proxy's mutually-authenticated connection.
Because the front-proxy appended its identity headers instead of replacing them — and never removed any copies the client sent — an authenticated attacker could smuggle forged identity headers through to the shard. With this, an attacker holding any ordinary credential (client certificate, OIDC token, or service-account token) and no special privileges could:
- assert
X-Remote-Group: system:mastersand act as cluster super-user, bypassing the entire kcp authorizer chain in every workspace on the shard; - forge
authorization.kcp.io/warrantto assume an arbitrary user/group identity via kcp's delegat…
出典: NIST National Vulnerability Database NVD GitHub Advisory
自動生成の要約
取得元のデータ (CVSS・CWE・影響バージョンなど) から SecPulse が定型文で組み立てた要約です。AI は使っていません。正確な内容は下の原文と参照URLで確認してください。
github.com/kcp-dev/kcp という製品で、CVE-2026-61682 という番号がついた弱点 (脆弱性) が見つかりました。
悪用されるとシステム全体を乗っ取られる可能性があります。重要度は CVSS スコア 9.9/10 です。
対策: github.com/kcp-dev/kcp を 0.31.4 以上に更新してください。
心配なら、システム担当者や製品の公式サイトで「github.com/kcp-dev/kcp CVE-2026-61682」を検索してください。
CVE-2026-61682 (github.com/kcp-dev/kcp) — CWE-290 / CVSS v3 9.9
攻撃ベクター: ネットワーク経由 (リモート攻撃可) / 被害者操作不要
修正バージョン: 0.31.4 (即時適用推奨)
対応方針: 1) SBOMで影響バージョン横断確認, 2) ステージング検証→本番更新, 3) WAF/プロキシで該当エンドポイントを監視, 4) ログでIOC調査。
参考: 当ページの『参照URL』の GHSA / vendor advisory / patched release を参照。
github.com/kcp-dev/kcp に 脆弱性 (CWE-290) があります。
github.com/kcp-dev/kcp の影響バージョンはベンダーのアドバイザリで確認してください。
重要度: 最重要 (CVSS 9.9/10)。悪用されるとシステム全体を乗っ取られる可能性があります。
0.31.4 に更新してください。
修正版が未提供時は、影響機能の無効化・WAFルール・ネットワークACLでの遮断を検討。
Webサーバ・プロキシ・WAFログで該当CVEのIOCに合致する不審リクエストを検索。SBOM/依存ファイルで影響バージョンを横断確認。
対応アクション
SOC/SREチームが順番に実行すべき具体的なステップとコマンド例
-
1影響範囲の特定 identify
grep -r 'github.com/kcp-dev/kcp' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
github.com/kcp-dev/kcpを grep し、稼働しているサービス・バージョンを把握する。 -
2パッチ適用 patch
Upgrade github.com/kcp-dev/kcp to 0.31.4ステージング環境で 0.31.4 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3事後検証 verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
影響パッケージ
参照URL
- web github.com
- web security-advisories@github.com
- web github.com
- web github.com
- web github.com
- web github.com