{"id":"CVE-2025-69287","published":"2026-02-18T18:42:22Z","modified":"2026-02-18T19:26:38Z","title":"BSV Blockchain SDK has an Authentication Signature Data Preparation Vulnerability","vendor":"bsv-blockchain","product":"ts-sdk","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00337,"percentile":0.27799,"provenance":"source"},"cwes":[{"id":"CWE-573","name":"Improper Following of Specification by Caller"}],"references":[{"url":"https://github.com/bsv-blockchain/ts-sdk/security/advisories/GHSA-vjpq-xx5g-qvmm","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/bsv-blockchain/ts-sdk/commit/d8cf6930028372079d977138ae9eaa03ae2f50bb","tags":["x_refsource_MISC"]}],"priority":{"score":9.3,"factors":[{"name":"EPSS percentile","points":5.56},{"name":"CVSS severity","points":3.78}]},"vendorSlug":"bsv-blockchain","affectedVersions":[{"vendor":"bsv-blockchain","product":"ts-sdk","versions":["< 2.0.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-02-18T19:26:20.981064Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@bsv/sdk","vulnerableRanges":["<2.0.0"],"patched":["2.0.0"],"from":["GHSA-vjpq-xx5g-qvmm"],"provenance":"source"}],"summary":{"text":"The BSV Blockchain SDK's TypeScript package (ts-sdk) prior to version 2.0.0 has a flaw in the BRC-104 authentication code in Peer.ts, specifically within processInitialRequest and processInitialResponse, where signature data is prepared incorrectly by concatenating and base64-decoding nonce strings, yielding roughly 32-34 bytes instead of the required 64. An attacker with network access can potentially bypass authentication checks because of the resulting signature incompatibility, and exploitation requires user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:07:57Z"},"euvd":{"id":"EUVD-2025-207789","exploited":false,"provenance":"source"}}