CVE-2026-56744
CVE-2026-56744 · `@bsv/wallet-toolbox` / `-client` / `-mobile` don't verify storage-supplied recipient output scripts against caller-requested outputs in createAction (can redirect payments when using remote storage)
This page contains facts from public vulnerability sources. Check the original advisory before updating.
`@bsv/wallet-toolbox` provides BRC-100 wallet signing and storage components, while `@bsv/wallet-toolbox-client` and `@bsv/wallet-toolbox-mobile` provide client-focused distributions for standard and mobile applications using wallet storage services. A vulnerability in these packages causes transactions created through a remote `StorageClient` to trust output locking scripts returned by the storage provider without verifying that they match the outputs requested by the caller. 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 application and user interface continue to display the intended recipient. Source and npm publication history indicate that stable versions `@bsv/wallet-toolbox` and `@bsv/wallet-toolbox-client` from 1.1.47 through 2.3.3, and `@bsv/wallet-toolbox-mobile` from its initial 1.3.21 release through 2.3.3, are affected. All three packages are patched in version 2.4.0. Applications unable to upgrade should avoid remote `StorageClient` providers, use local storage, or independently verify every transaction output’s locking script and value against the original request before signing
CVSS 8.7 · High · EPSS 0.4% · Fix available
- Published
- Updated
Stack: node
Affected products and versions
@bsv/wallet-toolbox
- Versions
- >= 1.1.47, < 2.4.0: Affected
No fix published
@bsv/wallet-toolbox-client
- Versions
- >= 1.1.47, < 2.4.0: Affected
No fix published
@bsv/wallet-toolbox-mobile
- Versions
- >= 1.3.21, < 2.4.0: Affected
No fix published
@bsv/wallet-toolbox npm
- Affected ranges
- SEMVER: ≥ 1.1.47, < 2.4.0
Update to 2.4.0
@bsv/wallet-toolbox-client npm
- Affected ranges
- SEMVER: ≥ 1.1.47, < 2.4.0
Update to 2.4.0
@bsv/wallet-toolbox-mobile npm
- Affected ranges
- SEMVER: ≥ 1.3.21, < 2.4.0
Update to 2.4.0
Original sources
- https://github.com/bsv-blockchain/ts-stack/security/advisories/GHSA-36f9-7rg5-cpf8
- https://github.com/bsv-blockchain/ts-stack/commit/3a11f6111919245a3090e9f3895cfc4f21a80d28
- https://github.com/bsv-blockchain/ts-stack/commit/5492cabbef4ddc7f60cc49cdf5d8c74ed2e5d949
- https://github.com/bsv-blockchain/ts-stack/commit/5ee60395e78e8b822d9a78efeacc6039c249819b
- https://github.com/bsv-blockchain/wallet-toolbox/commit/ca651b067c0238cd8b1ddd3af225daa503857a07
- https://nvd.nist.gov/vuln/detail/CVE-2026-56744