Read the docs
TI-2025-42732 Aliases CVE-2025-69287GHSA-vjpq-xx5g-qvmm

BSV Blockchain SDK has an Authentication Signature Data Preparation Vulnerability

Priority MEDIUM 58CWE-573Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
None · Low · Low
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.

Summary

The BSV Blockchain SDK is a unified TypeScript SDK for developing scalable apps on the BSV Blockchain. Prior to version 2.0.0, a cryptographic vulnerability in the TypeScript SDK's BRC-104 authentication implementation caused incorrect signature data preparation, resulting in signature incompatibility between SDK implementations and potential authentication bypass scenarios. The vulnerability was located in the `Peer.ts` file of the TypeScript SDK, specifically in the `processInitialRequest` and `processInitialResponse` methods where signature data is prepared for BRC-104 mutual authentication. The TypeScript SDK incorrectly prepared signature data by concatenating base64-encoded nonce strings (`message.initialNonce + sessionNonce`) then decoding the concatenated base64 string (`base64ToBytes(concatenatedString)`). This produced ~32-34 bytes of signature data instead of the correct 64 bytes. BRC-104 authentication relies on cryptographic signatures to establish mutual trust between peers. When signature data preparation is incorrect, signatures generated by the TypeScript SDK don't match those expected by Go/Python SDKs; cross-implementation authentication fails; and an attacker could potentially exploit this to bypass authentication checks. The fix in version 2.0.0 ensures all SDKs now produce identical cryptographic signatures, restoring proper mutual authentication across implementations.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00341 27th percentileScored 2026-11-07
Fix Fixed ts-sdk (bsv-blockchain): 2.0.0@bsv/sdk (npm): 2.0.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
bsv-blockchaints-sdkbefore 2.0.02.0.0Patch availableCNA
—@bsv/sdk (npm)before 2.0.02.0.0Patch availableGHSA-vjpq-xx5g-qvmm
  • ts-sdk Vendorbsv-blockchain Affected before 2.0.0 Fixed in 2.0.0 Patch available CNA
  • @bsv/sdk (npm) Vendor— Affected before 2.0.0 Fixed in 2.0.0 Patch available GHSA-vjpq-xx5g-qvmm

Remediation

  • Fix · CNA ts-sdk (bsv-blockchain) Fixed in 2.0.0
  • Fix · GHSA-vjpq-xx5g-qvmm @bsv/sdk (npm) Fixed in 2.0.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-69287
  2. 2026-10-03 Alias added: GHSA-vjpq-xx5g-qvmm

References

  • TI-2026-40917 `@bsv/wallet-toolbox` / `-client` / `-mobile` don't verify storage-supplied recipient… CVSS 4.0HIGH 8.7

Sources