Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-56744 Overview
CVE-2026-56744 affects the @bsv/wallet-toolbox, @bsv/wallet-toolbox-client, and @bsv/wallet-toolbox-mobile npm packages, which provide BRC-100 wallet signing and storage components for Bitcoin SV applications. The vulnerability causes transactions created through a remote StorageClient to trust output locking scripts returned by the storage provider without verifying they match the outputs the caller requested. A malicious or compromised storage provider can substitute a recipient script or inject an additional output, causing the wallet to sign and broadcast a transaction that redirects funds while the user interface continues to display the originally intended recipient.
Critical Impact
An attacker controlling a remote storage provider can silently redirect signed Bitcoin SV transactions to attacker-controlled addresses while the wallet UI displays the correct recipient.
Affected Products
- @bsv/wallet-toolbox versions 1.1.47 through 2.3.3
- @bsv/wallet-toolbox-client versions 1.1.47 through 2.3.3
- @bsv/wallet-toolbox-mobile versions 1.3.21 through 2.3.3
Discovery Timeline
- 2026-09-24 - CVE-2026-56744 published to NVD
- 2026-09-30 - Last updated in NVD database
Technical Details for CVE-2026-56744
Vulnerability Analysis
The flaw resides in the transaction construction pipeline inside buildSignableTransaction.ts. When the wallet toolbox uses a remote StorageClient as its storage backend, it accepts the output locking scripts returned in the storage response and feeds them directly into the transaction builder. The caller's originally requested outputs are never cross-checked against the storage-returned outputs before signing.
This trust boundary violation falls under CWE-1288: Improper Validation of Consistency within Input. The signer treats remote storage as a trusted component, but the default configuration ships with StorageClient, meaning most production deployments rely on a network-reachable provider.
Root Cause
The wallet signing routine assumes the storage service will faithfully echo back the outputs supplied by the caller. No cryptographic binding or structural comparison is performed between args (the caller's requested outputs) and storageOutputs (the storage-returned scripts and values) prior to transaction assembly.
Attack Vector
An attacker who operates or compromises a remote StorageClient endpoint can modify locking scripts for caller-specified outputs or append additional outputs that drain funds. The wallet signs the mutated transaction, broadcasts it to the Bitcoin SV network, and the hosting application continues to render the original recipient address.
const { inputs: storageInputs, outputs: storageOutputs } = dctr
+ // SECURITY (GHSA-36f9-7rg5-cpf8): The locking scripts used to build and sign
+ // the transaction are taken from the storage response. When storage is remote
+ // (StorageClient, the default configuration), a malicious or compromised
+ // storage operator could return a different recipient script than the caller
+ // requested; it would be signed and broadcast while the calling app/UI still
+ // shows the originally requested recipient. Verify that every caller-specified
+ // output is echoed back by storage unchanged before anything is signed.
+ verifyRequestedOutputsUnchanged(storageOutputs, args)
+
const tx = new Transaction(args.version, [], [], args.lockTime)
Source: GitHub patch commit 5492cab
Detect Identity Attacks the Moment Authentication Fails
Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.
Stop Identity AttacksDetection Methods for CVE-2026-56744
Indicators of Compromise
- Signed Bitcoin SV transactions where broadcast output scripts do not match the recipient addresses recorded in application-side logs or UI state.
- Outbound requests from wallet-enabled applications to untrusted or recently changed StorageClient endpoints.
- Dependency manifests (package.json, package-lock.json) resolving @bsv/wallet-toolbox, @bsv/wallet-toolbox-client, or @bsv/wallet-toolbox-mobile to versions in the vulnerable range.
Detection Strategies
- Perform software composition analysis (SCA) against build artifacts and lockfiles to flag the affected package versions.
- Reconcile application-logged recipient addresses with on-chain outputs after broadcast to detect script substitution post-hoc.
- Inspect wallet runtime configuration to identify use of remote StorageClient providers in place of local storage.
Monitoring Recommendations
- Instrument wallet applications to log both requested outputs and the final signed transaction hex for correlation.
- Alert on outbound transactions whose destination scripts were not present in the originating application request.
- Track changes to third-party storage provider URLs or TLS certificates used by the wallet toolbox.
How to Mitigate CVE-2026-56744
Immediate Actions Required
- Upgrade @bsv/wallet-toolbox, @bsv/wallet-toolbox-client, and @bsv/wallet-toolbox-mobile to version 2.4.0 or later.
- Audit all deployments to identify any wallets configured with a remote StorageClient and treat prior transactions as suspect pending reconciliation.
- Rotate away from untrusted storage providers and pin dependencies to the patched version in package.json and lockfiles.
Patch Information
All three packages are patched in version 2.4.0. The fix introduces verifyRequestedOutputsUnchanged(storageOutputs, args) in buildSignableTransaction.ts, which enforces that every caller-specified output is echoed back by storage unchanged before signing. See the GHSA-36f9-7rg5-cpf8 advisory and the wallet-toolbox patch commit ca651b06 for full remediation details.
Workarounds
- Avoid remote StorageClient providers and operate wallet toolbox against local storage only.
- Independently verify every transaction output's locking script and value against the original request before invoking the signer.
- Restrict wallet applications to a known-good, operator-controlled storage endpoint and monitor its integrity.
# Pin to the patched release across all three packages
npm install @bsv/wallet-toolbox@2.4.0 \
@bsv/wallet-toolbox-client@2.4.0 \
@bsv/wallet-toolbox-mobile@2.4.0
# Verify no vulnerable versions remain in the dependency tree
npm ls @bsv/wallet-toolbox @bsv/wallet-toolbox-client @bsv/wallet-toolbox-mobile
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

