Skip to content
High 8.1

Vulnerability in bsv-sdk

CVE-2026-40070 First seen on SecPulse

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.

A vulnerability tracked as CVE-2026-40070 has been found in bsv-sdk.
Attackers can target a specific entry point like acquire_certificate over the network to misuse the product.
Confidential information can be exposed externally.
What to do: upgrade bsv-sdk to 0.8.2 or later.
If unsure, ask your IT team or search "bsv-sdk CVE-2026-40070" on the vendor's site.

CVE-2026-40070 (bsv-sdk) — CWE-347
Attack vector: remote (network-reachable) / no user interaction
Attack surface: acquire_certificate / files / list_certificates / prove_certificate
Patched: 0.8.2 — apply immediately
Workaround: - Do not expose acquire_certificate (either acquisition protocol) to untrusted callers.
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.

What is the problem

A vulnerability (CWE-347) exists in bsv-sdk. Attackers reach the vulnerable code path via acquire_certificate.

Affected scope

Check the vendor advisory for the affected versions of bsv-sdk. Attack surface: acquire_certificate / files / list_certificates / prove_certificate.

Severity

Severity: ?. Confidential information can be exposed externally.

How to fix

Update to 0.8.2.

Workaround

Workaround: - Do not expose acquire_certificate (either acquisition protocol) to untrusted callers.

Detection

Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'bsv-sdk' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.

Response actions

Concrete steps and command examples for SOC/SRE teams to execute in order

  1. 1
    Identify exposureidentify
    grep -r 'bsv-sdk' . | grep -v node_modules

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

  2. 2
    Apply temporary workaroundmitigate
    - Do not expose `acquire_certificate` (either acquisition protocol) to untrusted callers.

    パッチが適用されるまでの応急処置として、- Do not expose acquire_certificate (either acquisition protocol) to untrusted callers. を実施。回避策の副作用 (機能低下) を確認した上で。

  3. 3
    Apply patchpatch
    Upgrade bsv-sdk to 0.8.2

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

  4. 4
    Post-deployment verificationverify
    Confirm patched version is live in production

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

Affected packages

PackageAffected → Fixed
rubygemsbsv-sdk
≥ 0.3.1, < 0.8.2→ 0.8.2
rubygemsbsv-wallet
≥ 0.1.2, < 0.3.4→ 0.3.4
Original description The description as published by the source.

BSV Ruby SDK is the Ruby SDK for the BSV blockchain. From 0.3.1 to before 0.8.2, BSV::Wallet::WalletClient#acquire_certificate persists certificate records to storage without verifying the certifier's signature over the certificate contents. In acquisition_protocol: 'direct', the caller supplies all certificate fields (including signature:) and the record is written to storage verbatim. In acquisition_protocol: 'issuance', the client POSTs to a certifier URL and writes whatever signature the response body contains, also without verification. An attacker who can reach either API (or who controls a certifier endpoint targeted by the issuance path) can forge identity certificates that subsequently appear authentic to list_certificates and prove_certificate.

Source: GitHub Security Advisories (Global) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details