{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-40070","published":"2026-04-09T18:17:03.203000Z","last_modified":"2026-10-26T21:10:00.170000Z","status":"Analyzed","cvss":{"version":"3.1","score":8.1,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","source":"security-advisories@github.com","primary":false},"auth":true,"cwes":["CWE-347"],"cpes":[{"criteria":"cpe:2.3:a:sgbett:bsv-wallet:*:*:*:*:*:ruby:*:*","part":"a","vendor":"sgbett","product":"bsv-wallet","version_start_including":"0.1.2","version_end_excluding":"0.3.4"},{"criteria":"cpe:2.3:a:sgbett:bsv_ruby_sdk:*:*:*:*:*:ruby:*:*","part":"a","vendor":"sgbett","product":"bsv_ruby_sdk","version_start_including":"0.3.1","version_end_excluding":"0.8.2"}],"cpes_truncated":false,"vendors":["sgbett"],"products":["sgbett/bsv-wallet","sgbett/bsv_ruby_sdk"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-hc36-c89j-5f4j","ecosystem":"RubyGems","name":"bsv-sdk","purl":"pkg:gem/bsv-sdk","ranges":[{"introduced":"0.3.1","fixed":"0.8.2"}],"versions":["0.3.1","0.3.2","0.4.0","0.5.0","0.6.0","0.6.1","0.6.2","0.7.0","0.8.0","0.8.1"],"versions_truncated":false},{"advisory":"GHSA-hc36-c89j-5f4j","ecosystem":"RubyGems","name":"bsv-wallet","purl":"pkg:gem/bsv-wallet","ranges":[{"introduced":"0.1.2","fixed":"0.3.4"}],"versions":["0.1.2","0.2.0","0.2.1","0.2.2","0.3.0","0.3.1","0.3.2","0.3.3"],"versions_truncated":false}],"severity":"high","priority_score":49,"links":{"html_es":"/es/cve/CVE-2026-40070/","html_en":"/en/cve/CVE-2026-40070/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-40070","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-40070"},"untrusted":{"vendor_name":"Sgbett","product_name":"Bsv-wallet","desc_en":"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":[{"untrusted_vendor":"sgbett","untrusted_product":"bsv-ruby-sdk","versions":[]},{"untrusted_vendor":"sgbett","untrusted_product":"bsv-sdk","versions":[]},{"untrusted_vendor":"sgbett","untrusted_product":"bsv-wallet","versions":[]}],"references":[{"url":"https://brc.dev/52","tags":["Not Applicable"]},{"url":"https://github.com/sgbett/bsv-ruby-sdk/commit/4992e8a265fd914a7eeb0405c69d1ff0122a84cc","tags":["Release Notes"]},{"url":"https://github.com/sgbett/bsv-ruby-sdk/issues/305","tags":["Issue Tracking"]},{"url":"https://github.com/sgbett/bsv-ruby-sdk/pull/306","tags":["Issue Tracking"]},{"url":"https://github.com/sgbett/bsv-ruby-sdk/security/advisories/GHSA-hc36-c89j-5f4j","tags":["Exploit","Patch","Vendor Advisory"]}]}}