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

- Severity: High 8.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.14%, higher than 3% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-09T17:26:51.495Z
- Modified: 2026-10-26T21:10:00.170Z
- Also known as: GHSA-hc36-c89j-5f4j
- Weaknesses: CWE-347
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- 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; from 0.1.2 before 0.3.4
- bsv-sdk (RubyGems): from 0.3.1 before 0.8.2
- bsv-wallet (RubyGems): from 0.1.2 before 0.3.4
- sgbett bsv_ruby_sdk: from 0.3.1 before 0.8.2

## Every score

- GitHub_M: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://github.com/sgbett/bsv-ruby-sdk/security/advisories/GHSA-hc36-c89j-5f4j> (exploit, patch, vendor-advisory, 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/commit/4992e8a265fd914a7eeb0405c69d1ff0122a84cc> (release-notes, web)
- <https://brc.dev/52> (not-applicable, 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)

## Sources

- CVE List: [CVE-2026-40070](https://www.cve.org/CVERecord?id=CVE-2026-40070), CVE Terms of Use, modified 2026-04-13
- GitHub Advisory Database: [GHSA-hc36-c89j-5f4j](https://github.com/advisories/GHSA-hc36-c89j-5f4j), CC-BY-4.0, modified 2026-05-13
- NVD: [CVE-2026-40070](https://nvd.nist.gov/vuln/detail/CVE-2026-40070), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-40070 · Whole record: https://cve.day/CVE-2026-40070.json · Rebuilt by cve.day 2026-11-25T22:59:18.397Z
