CVE-2026-40070: bsv-sdk and bsv-wallet Unverified Certifier Signatures Vulnerability

bsv-sdk Updated 09 Apr 2026

Summary

09/04/2026
Yes i
High
8.1

CVE-2026-40070: Unverified certifier signatures persisted by acquire_certificate Affected packages Both bsv-sdk and bsv-wallet are published from the sgbett/bsv-ruby-sdk repository. Affects bsv-sdk versions >= 0.3.1, < 0.8.2. Fixed in 0.8.2. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The bsv-sdk and bsv-wallet are Ruby libraries designed for interacting with the Bitcoin SV blockchain, providing functionalities such as wallet management and certificate handling. These packages are crucial for developers building applications that require secure identity verification and transaction processing on the blockchain. However, both libraries have a significant vulnerability that allows unverified certifier signatures to be persisted, potentially leading to credential forgery.

Vulnerability Detail

The vulnerability arises from the acquire_certificate method in both bsv-sdk and bsv-wallet, which allows certificate records to be stored without verifying the certifier's signature. This issue affects both direct and issuance acquisition paths. An attacker can exploit this vulnerability by supplying arbitrary signature values, leading to the storage of forged certificates that appear authentic. The lack of signature verification means that any caller with access to the acquire_certificate method can create fraudulent certificates, undermining the integrity of identity verification processes.

How To Fix

Minimum fixed version

0.8.2

This is the first release that contains the fix.

gem install bsv-sdk -v 0.8.2

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If upgrading is not immediately possible, consider the following workarounds:

  • Do not expose the acquire_certificate method to untrusted callers.
  • Avoid using the acquire_certificate method with the acquisition_protocol: 'issuance' against untrusted certifier URLs, and ensure TLS is used for such requests.
  • Treat any records returned by list_certificates or prove_certificate as unverified and perform an out-of-band verification against the certifier's public key.

Conclusion

In summary, CVE-2026-40070 is a critical vulnerability in the bsv-sdk and bsv-wallet packages that allows for the persistence of unverified certifier signatures, leading to potential credential forgery. It is essential to upgrade to the patched versions to mitigate this risk and ensure the integrity of identity verification processes.

See every vulnerability recorded for bsv-sdk →

Share this vulnerability

FAQ

CVE-2026-40070 is a vulnerability in the bsv-sdk and bsv-wallet packages that allows unverified certifier signatures to be persisted, leading to potential credential forgery.

If your application relies on the bsv-sdk or bsv-wallet for identity verification, this vulnerability could allow attackers to create and store forged certificates, compromising the integrity of user identities.

The affected versions of bsv-sdk are >= 0.3.1 and < 0.8.2, and for bsv-wallet, they are >= 0.1.2 and < 0.3.4.

You can check if your application is affected by using Vulert, which monitors open-source vulnerabilities in real-time. You can use the Vulert playground without signup to analyze your application.

The CVSS score of this vulnerability is 8.1, indicating a high severity level.

Related vulnerabilities

Recent vulnerabilities recorded for bsv-sdk.

How To Fix

Minimum fixed version

0.8.2

This is the first release that contains the fix.

gem install bsv-sdk -v 0.8.2

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback