CVE-2026-40070
HIGH 8.1CVSS 3.1bsv-sdk and bsv-wallet persist unverified certifier signatures in acquire_certificate (direct and issuance paths)
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.
- Published
- 9 Apr 2026
- Last modified
- 26 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-347
- Also known as
- GHSA-hc36-c89j-5f4j
- Sources
- NVDJSONOSV GHSA-hc36-c89j-5f4jJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | sgbett | bsv-walletcpe:2.3:a:sgbett:bsv-wallet:*:*:*:*:*:ruby:*:* |
>= 0.1.2, < 0.3.4 | 0.3.4 |
| NVD | sgbett | bsv_ruby_sdkcpe:2.3:a:sgbett:bsv_ruby_sdk:*:*:*:*:*:ruby:*:* |
>= 0.3.1, < 0.8.2 | 0.8.2 |
| OSV | RubyGems | bsv-sdk | >= 0.3.1, < 0.8.2 | 0.8.2 |
| OSV | RubyGems | bsv-wallet | >= 0.1.2, < 0.3.4 | 0.3.4 |
References
- https://brc.dev/52 · Not Applicable, WEB
- https://github.com/sgbett/bsv-ruby-sdk/commit/4992e8a265fd914a7eeb0405c69d1ff0122a84cc · Release Notes, WEB
- https://github.com/sgbett/bsv-ruby-sdk/issues/305 · Issue Tracking, WEB
- https://github.com/sgbett/bsv-ruby-sdk/pull/306 · Issue Tracking, WEB
- https://github.com/sgbett/bsv-ruby-sdk/security/advisories/GHSA-hc36-c89j-5f4j · Exploit, Patch, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-40070 · ADVISORY
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/bsv-sdk/CVE-2026-40070.yml · WEB
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/bsv-wallet/CVE-2026-40070.yml · WEB
- https://github.com/sgbett/bsv-ruby-sdk · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 9 Apr 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 9 Apr 2026)