{
  "id": "CVE-2026-40070",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-40070",
  "published_at": "2026-04-09T17:26:51.495Z",
  "title": "bsv-sdk and bsv-wallet persist unverified certifier signatures in acquire_certificate (direct and issuance paths)",
  "vendor": "sgbett",
  "product": "bsv-ruby-sdk",
  "cvss": {
    "score": 8.1,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-347",
  "cpes": [
    "cpe:2.3:a:sgbett:bsv-wallet:*:*:*:*:*:ruby:*:*",
    "cpe:2.3:a:sgbett:bsv_ruby_sdk:*:*:*:*:*:ruby:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "sgbett",
        "product": "bsv-ruby-sdk",
        "ranges": [
          "\u003e= 0.3.1, \u003c 0.8.2"
        ],
        "fixed_in": [
          "0.8.2"
        ]
      },
      {
        "vendor": "sgbett",
        "product": "bsv-sdk",
        "ranges": [
          "\u003e= 0.3.1, \u003c 0.8.2"
        ],
        "fixed_in": [
          "0.8.2"
        ]
      },
      {
        "vendor": "sgbett",
        "product": "bsv-wallet",
        "ranges": [
          "\u003e= 0.1.2, \u003c 0.3.4"
        ],
        "fixed_in": [
          "0.3.4"
        ]
      }
    ],
    "upgrade": [
      "Upgrade bsv-ruby-sdk to 0.8.2 or later.",
      "Upgrade bsv-sdk to 0.8.2 or later.",
      "Upgrade bsv-wallet to 0.3.4 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/sgbett/bsv-ruby-sdk/security/advisories/GHSA-hc36-c89j-5f4j"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/sgbett/bsv-ruby-sdk/pull/306"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/sgbett/bsv-ruby-sdk/commit/4992e8a265fd914a7eeb0405c69d1ff0122a84cc"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
