CVE-2026-40070 bsv-sdk and bsv-wallet persist unverified certifier signatures in acquire_certificate (direct and issuance paths)
- Published
- Updated
- Exploit status
- Proof-of-concept only
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 products
| Product | Affected versions | Fixed in |
|---|---|---|
| rubygems bsv-sdk(RubyGems) | >= 0.3.1, < 0.8.2 | 0.8.2 |
| rubygems bsv-sdk(RubyGems) | = 0.3.1 | No fix listed |
| rubygems bsv-sdk(RubyGems) | = 0.3.2 | No fix listed |
| rubygems bsv-sdk(RubyGems) | = 0.4.0 | No fix listed |
| rubygems bsv-sdk(RubyGems) | = 0.5.0 | No fix listed |
| rubygems bsv-sdk(RubyGems) | = 0.6.0 | No fix listed |
| rubygems bsv-sdk(RubyGems) | = 0.6.1 | No fix listed |
| rubygems bsv-sdk(RubyGems) | = 0.6.2 | No fix listed |
| rubygems bsv-sdk(RubyGems) | = 0.7.0 | No fix listed |
| rubygems bsv-sdk(RubyGems) | = 0.8.0 | No fix listed |
| rubygems bsv-sdk(RubyGems) | = 0.8.1 | No fix listed |
| rubygems bsv-wallet(RubyGems) | >= 0.1.2, < 0.3.4 | 0.3.4 |
| rubygems bsv-wallet(RubyGems) | = 0.1.2 | No fix listed |
| rubygems bsv-wallet(RubyGems) | = 0.2.0 | No fix listed |
| rubygems bsv-wallet(RubyGems) | = 0.2.1 | No fix listed |
| rubygems bsv-wallet(RubyGems) | = 0.2.2 | No fix listed |
| rubygems bsv-wallet(RubyGems) | = 0.3.0 | No fix listed |
| rubygems bsv-wallet(RubyGems) | = 0.3.1 | No fix listed |
| rubygems bsv-wallet(RubyGems) | = 0.3.2 | No fix listed |
| rubygems bsv-wallet(RubyGems) | = 0.3.3 | No fix listed |
| sgbett bsv-ruby-sdk | = >= 0.3.1, < 0.8.2 | No fix listed |
| sgbett bsv-sdk | = >= 0.3.1, < 0.8.2 | No fix listed |
| sgbett bsv-wallet | = >= 0.1.2, < 0.3.4 | No fix listed |
| sgbett bsv-wallet | >= 0.1.2, < 0.3.4 | 0.3.4 |
| sgbett bsv ruby sdk | >= 0.3.1, < 0.8.2 | 0.8.2 |
References
- https://github.com/sgbett/bsv-ruby-sdk/security/advisories/GHSA-hc36-c89j-5f4j exploit patch vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/sgbett/bsv-ruby-sdk/issues/305 issue-tracking
- https://github.com/sgbett/bsv-ruby-sdk/pull/306 issue-tracking patch
- https://github.com/sgbett/bsv-ruby-sdk/commit/4992e8a265fd914a7eeb0405c69d1ff0122a84cc patch release-notes
- https://brc.dev/52 not-applicable
- github.com exploit
- github.com exploit
- github.com product
- github.com