Vulnerability · Published Apr 9, 2026 · Assigned by GitHub_M

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

High 8.1

In plain English

A high-severity security flaw in bsv-ruby-sdk from sgbett. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 3% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.1High
Exploit odds (30 days)0.1%top 96.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
RubyGemsbsv-sdk0.8.2GHSA-hc36-c89j-5f4j
RubyGemsbsv-wallet0.3.4GHSA-hc36-c89j-5f4j

Affected products (as reported)

VendorProductVersions
sgbett bsv-ruby-sdk >= 0.3.1, < 0.8.2
sgbett bsv-sdk >= 0.3.1, < 0.8.2
sgbett bsv-wallet >= 0.1.2, < 0.3.4

Weakness: CWE-347 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

References