Skip to content
Heist/ feed
Back to feed
High

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

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-40070
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 07:11 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 9 Apr 2026, 17:26 UTC

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.

osv:CVE-2026-40070
Complete source record
{
  "id": "7a55bd1b13673e678f4317d0281293e9473282b7c61435b77408883914a66906",
  "url": "https://osv.dev/vulnerability/CVE-2026-40070",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "bsv-sdk and bsv-wallet persist unverified certifier signatures in acquire_certificate (direct and issuance paths)",
    "summary": "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.",
    "evidence": "osv:CVE-2026-40070",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-40070",
      "aliases": [
        "CVE-2026-40070",
        "GHSA-hc36-c89j-5f4j"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/sgbett/bsv-ruby-sdk",
              "type": "GIT",
              "events": [
                {
                  "introduced": "5a335de39a0c2235de31bf81befd6698103670de"
                },
                {
                  "fixed": "7ae8d49e81763aba3cd27a827769698030c1bf83"
                },
                {
                  "introduced": "b74f4acf44e915adba0d367445927d6a560ea486"
                },
                {
                  "fixed": "7ae8d49e81763aba3cd27a827769698030c1bf83"
                },
                {
                  "fixed": "4992e8a265fd914a7eeb0405c69d1ff0122a84cc"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:sgbett:bsv-wallet:*:*:*:*:*:ruby:*:*",
                    "range": [
                      {
                        "introduced": "0.1.2"
                      },
                      {
                        "fixed": "0.3.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:sgbett:bsv_ruby_sdk:*:*:*:*:*:ruby:*:*",
                    "range": [
                      {
                        "introduced": "0.3.1"
                      },
                      {
                        "fixed": "0.8.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "4992e8a265fd914a7eeb0405c69d1ff0122a84cc"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v0.8.1",
            "v0.8.0",
            "wallet-v0.3.3",
            "wallet-v0.3.2",
            "wallet-v0.3.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-40070.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:27.042701202Z",
      "provider": "osv",
      "references": [
        "https://brc.dev/52",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40070.json",
        "https://github.com/sgbett/bsv-ruby-sdk/security/advisories/GHSA-hc36-c89j-5f4j",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-40070",
        "https://github.com/sgbett/bsv-ruby-sdk/issues/305",
        "https://github.com/sgbett/bsv-ruby-sdk/commit/4992e8a265fd914a7eeb0405c69d1ff0122a84cc",
        "https://github.com/sgbett/bsv-ruby-sdk/pull/306"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-347"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40070.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-40070",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 493277,
  "published_at": "2026-04-09T17:26:51.495+00:00"
}