zebra-script の脆弱性 (CVE-2026-52735)
概要
zebra-script に 脆弱性 (CVE-2026-52735) が存在。不正な操作・情報露出のリスクがあります。zebrad 経由で攻撃可能。対策: 7.0.0 以上に更新。
原文の説明
取得元が公開している説明をそのまま載せています (多くは英語)。
Am I affected
You are affected if:
- You run any version of
zebradup to and includingv4.4.1. - Your node validates blocks on mainnet, testnet, or any network where both Zebra and zcashd nodes participate.
All default configurations are affected. No feature flags, non-default settings, or special build options are required.
Summary
Zebra's P2SH sigop counter uses a pure-Rust code path that short-circuits on disabled opcodes (such as OP_CODESEPARATOR), returning a partial count of zero for any sigops following the disabled opcode. The reference implementation (zcashd) correctly counts through disabled opcodes in its static sigop analysis. This produces a consensus divergence: Zebra accepts blocks that zcashd rejects when the block-wide MAX_BLOCK_SIGOPS = 20,000 threshold is crossed on one side but not the other.
An attacker can exploit this without mining capability. Broadcasting transactions that spend P2SH outputs with malicious redeem scripts is sufficient; any Zebra miner who includes those transactions in a block triggers a chain split between Zebra and zcashd validators.
Details
The P2SH sigop counter at zebra-script/src/lib.rs:399 calls script::Code(redeemed_bytes).sig_op_count(true), which is a pure-Rust path through zcash_script-0.4.4. The legacy (non-P2SH) sigop counter at lib.rs:282-289 correctly uses the C++ FFI via interpreter.legacy_sigop_count_script(). Only the P2SH path bypasses the FFI.
The Rust parser in `zcash_scrip…
出典: GitHub Security Advisories (Global) NVD GitHub Advisory
自動生成の要約
取得元のデータ (CVSS・CWE・影響バージョンなど) から SecPulse が定型文で組み立てた要約です。AI は使っていません。正確な内容は下の原文と参照URLで確認してください。
zebra-script という製品で、CVE-2026-52735 という番号がついた弱点 (脆弱性) が見つかりました。
悪い人がインターネット越しに zebrad のような特定の入り口を狙うことで、製品の中を不正に操作できてしまいます。
不正な操作・情報露出のリスクがあります。
対策: zebra-script を 7.0.0 以上に更新してください。
心配なら、システム担当者や製品の公式サイトで「zebra-script CVE-2026-52735」を検索してください。
CVE-2026-52735 (zebra-script) — CWE-684
脆弱箇所: zebrad / OP_CODESEPARATOR / OP_CAT / OP_SUBSTR
修正バージョン: 7.0.0 (即時適用推奨)
暫定回避: There is no configuration-level workaround.
対応方針: 1) SBOMで影響バージョン横断確認, 2) ステージング検証→本番更新, 3) WAF/プロキシで該当エンドポイントを監視, 4) ログでIOC調査。
参考: 当ページの『参照URL』の GHSA / vendor advisory / patched release を参照。
zebra-script に 脆弱性 (CWE-684) があります。攻撃者は zebrad を経由して脆弱な処理に到達できます。
zebra-script の影響バージョンはベンダーのアドバイザリで確認してください。攻撃箇所: zebrad / OP_CODESEPARATOR / OP_CAT / OP_SUBSTR。
重要度: ?。不正な操作・情報露出のリスクがあります。
7.0.0 に更新してください。
暫定回避: There is no configuration-level workaround.
Webサーバ・プロキシ・WAFログで該当CVEのIOCに合致する不審リクエストを検索。SBOM/依存ファイルで影響バージョンを横断確認。
対応アクション
SOC/SREチームが順番に実行すべき具体的なステップとコマンド例
-
1影響範囲の特定 identify
grep -r 'zebra-script' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
zebra-scriptを grep し、稼働しているサービス・バージョンを把握する。 -
2暫定回避策の適用 mitigate
There is no configuration-level workaround.パッチが適用されるまでの応急処置として、There is no configuration-level workaround. を実施。回避策の副作用 (機能低下) を確認した上で。
-
3パッチ適用 patch
Upgrade zebra-script to 7.0.0ステージング環境で 7.0.0 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
4事後検証 verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
影響パッケージ
参照URL
- package github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web security-advisories@github.com
- web security-advisories@github.com