Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. bsv-wallet
  4. ›
  5. CVE-2026-40070

CVE-2026-40070: bsv-sdk and bsv-wallet persist unverified certifier signatures in acquire_certificate (direct and issuance paths)

April 9, 2026

BSV::Wallet::WalletClient#acquire_certificate persists certificate records to storage without verifying the certifier’s signature over the certificate contents. Both acquisition paths are affected:

  • acquisition_protocol: 'direct' — the caller supplies all certificate fields (including signature:) and the record is written to storage verbatim.
  • 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.

References

  • brc.dev/52
  • github.com/advisories/GHSA-hc36-c89j-5f4j
  • github.com/sgbett/bsv-ruby-sdk
  • github.com/sgbett/bsv-ruby-sdk/commit/4992e8a265fd914a7eeb0405c69d1ff0122a84cc
  • github.com/sgbett/bsv-ruby-sdk/issues/305
  • github.com/sgbett/bsv-ruby-sdk/pull/306
  • github.com/sgbett/bsv-ruby-sdk/security/advisories/GHSA-hc36-c89j-5f4j
  • nvd.nist.gov/vuln/detail/CVE-2026-40070

Code Behaviors & Features

Detect and mitigate CVE-2026-40070 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 0.1.2 before 0.3.4

Fixed versions

  • 0.3.4

Solution

Upgrade to version 0.3.4 or above.

Impact 8.1 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-347: Improper Verification of Cryptographic Signature

Source file

gem/bsv-wallet/CVE-2026-40070.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:19:35 +0000.