Skip to main content

@bsv/wallet-toolbox EUVDEUVD-2026-86301

| CVE-2026-56744 HIGH
Improper Validation of Consistency within Input (CWE-1288)
2026-09-24 GitHub_M GHSA-36f9-7rg5-cpf8
8.7
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Operate malicious or compromised storage provider
  2. Delivery
    Wallet requests transaction via remote StorageClient
  3. Exploit
    Substitute recipient script or inject attacker output
  4. Execution
    Wallet signs and broadcasts verbatim
  5. Impact
    Funds redirected while UI shows intended recipient

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Hardware validation bypass
Exploitation Conditions

Requires the wallet application to use a REMOTE StorageClient provider whose backend is malicious or compromised; the storage provider returns unverified output locking scripts that buildSignableTransaction trusted before signing. Applications using LOCAL storage, or that independently verify each output's locking script and value against the original request, are not exploitable - the vendor lists these as mitigations. No authentication against the victim wallet is needed, but the attacker must occupy or subvert the storage-provider role, and the user must initiate a transaction through that provider. Affected: @bsv/wallet-toolbox and -client 1.1.47-2.3.3, @bsv/wallet-toolbox-mobile 1.3.21-2.3.3; fixed in 2.4.0.

Impact

The signals are largely consistent and point to a genuine integrity risk rather than an inflated CVSS. The CVSS 4.0 base of 8.7 is driven entirely by VI:H (transaction/funds integrity) with VC:N and VA:N - no data disclosure or denial of service, purely fund redirection. The vector claims AV:N/AC:L/AT:N/PR:N/UI:N, but the true attacker is the remote StorageClient provider the wallet already trusts, so 'network, unauthenticated' understates that the adversary must occupy (or compromise) the storage-provider role - a meaningful precondition not captured by PR:N. There is no EPSS score, no CISA KEV listing, and no public exploit code identified at time of analysis, so this is not confirmed as actively exploited; it is a supply-chain/trust-boundary flaw whose exploitation depends on a malicious or compromised backend rather than mass-scannable internet exposure. Net: a real and high-impact priority for anyone using remote BSV wallet storage, but exploitation is gated on the provider relationship, making it targeted rather than opportunistic. Patch (2.4.0) and vendor advisory are confirmed via GHSA-36f9-7rg5-cpf8 and commits.

Exploit ScenarioDerived

A user's BRC-100 wallet built on @bsv/wallet-toolbox is configured to use a remote StorageClient. A malicious or compromised storage provider returns transaction outputs with a substituted recipient locking script (or an extra injected output funded by shrinking change); the wallet trusts these scripts, signs, and broadcasts, so funds go to the attacker while the UI still shows the intended recipient. No public exploit code is identified, but the patch commits and regression tests concretely demonstrate both the substitution and injected-output variants.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 24, 2026

Transactions built through a remote StorageClient in @bsv/wallet-toolbox 1.1.47 through 2.3.3, @bsv/wallet-toolbox-client 1.1.47 through 2.3.3, and @bsv/wallet-toolbox-mobile 1.3.21 through 2.3.3 can be silently redirected by a malicious or compromised storage provider, which returns output locking scripts the wallet signs without confirming they match the caller's request. Because the provider can substitute a recipient script or append an attacker-controlled output funded by shrinking change, the wallet broadcasts a transaction paying the attacker while the application and user interface still display the intended recipient; the integrity impact is high with no confidentiality or availability effect, and no authentication against the victim wallet is required (CVSS 4.0 8.7, CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N). Exploitation requires the application to use a remote StorageClient backend the attacker controls and the user to initiate a transaction through it - local-storage applications and those that independently verify outputs are unaffected; no public exploit code has been identified at time of analysis and the issue is patched in 2.4.0.

RemediationAI

Vendor-released patch: upgrade @bsv/wallet-toolbox, @bsv/wallet-toolbox-client and @bsv/wallet-toolbox-mobile to version 2.4.0, which introduces verifyUnrequestedOutputsAreChangeOrCommission() so that any output beyond the caller's own must be a client-derived change output or a single commission capped at MAX_STORAGE_COMMISSION_SATOSHIS; the fix is documented in the advisory at https://github.com/bsv-blockchain/ts-stack/security/advisories/GHSA-36f9-7rg5-cpf8 and implemented in commits 3a11f6111919245a3090e9f3895cfc4f21a80d28 and ca651b067c0238cd8b1ddd3af225daa503857a07. Applications that cannot upgrade should stop using remote StorageClient providers and run against local storage - this fully removes the untrusted-provider dependency but forfeits remote storage, backup and provider-side signing conveniences. If remote storage must remain, independently verify every transaction output's locking script and satoshis against the original request before signing, and alert the user rather than auto-rejecting, since this verification must occur client-side after the storage response and is only effective if the check runs before the signing loop; note that any post-signing UI reconciliation cannot undo a broadcast transaction. Deployments should also treat remote storage providers as an untrusted input source, pin the storage endpoint to a controlled backend where feasible, and review commission handling since legitimate commission outputs are still permitted up to the protocol cap.

Affected VersionsENISA

@bsv/wallet-toolbox-mobile 1.3.21, < 2.4.0
@bsv/wallet-toolbox 1.1.47, < 2.4.0
@bsv/wallet-toolbox-client 1.1.47, < 2.4.0

Affected Packages

npm @bsv/wallet-toolbox fix: 2.4.0
npm @bsv/wallet-toolbox-client fix: 2.4.0
npm @bsv/wallet-toolbox-mobile fix: 2.4.0
euvd bsv_wallet_toolbox_1_1_47 fix: 2.4.0
euvd bsv_wallet_toolbox_client_1_1_47 fix: 2.4.0
euvd bsv_wallet_toolbox_mobile_1_3_21 fix: 2.4.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 6 packages in npm, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The affected packages implement BRC-100 wallet signing and storage components for the BSV blockchain, split across @bsv/wallet-toolbox (core), @bsv/wallet-toolbox-client (standard client distribution) and @bsv/wallet-toolbox-mobile (mobile distribution), all published to npm and dependent on @bsv/sdk. When a wallet creates an action, the storage layer returns a StorageCreateActionResult containing ordered outputs and inputs; buildSignableTransaction() in src/signer/methods/buildSignableTransaction.ts then assembles the transaction, deriving change outputs client-side via makeChangeLock() but copying all other locking scripts verbatim from the storage response before signing. The root cause is CWE-1288 (Improper Validation of Consistency within Input): the pre-existing verifyRequestedOutputsUnchanged() check confirmed that the caller's own requested outputs were untouched, but nothing bound the set of outputs beyond the caller's, so a provider could inject an extra output - funded by reducing change - that the signing loop accepted verbatim. The upstream fix adds verifyUnrequestedOutputsAreChangeOrCommission(), which enforces that every output beyond the caller's requested ones is either a change output (whose script is re-derived client-side and therefore can only pay the client) or at most one storage commission output not exceeding MAX_STORAGE_COMMISSION_SATOSHIS; anything else throws an "unrecognized output" error before signing. The commit diff also notes that output ordering is caller outputs, then commission, then change, with vout values randomized by default under args.options.randomizeOutputs, and that storage inputs of type P2PKH are signed via the SABPPP / ScriptTemplateBRC29 templates.

Know when Bsv Wallet Toolbox gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 8.7 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
vuln.today AI 7.5 HIGH

Malicious remote storage provider redirects funds with no victim-wallet auth and no user interaction beyond normal use; integrity-only impact (I:H), no confidentiality or availability loss.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Sep 24, 2026 - 18:02 EUVD
CVE Published
Sep 24, 2026 - 16:56 cve.org
HIGH 8.7

DescriptionCVE.org

@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

Technical POC Analysis

CWE-1288 (Improper Validation of Consistency within Input), per the CVE record.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

Applications that use remote StorageClient backends with @bsv/wallet-toolbox 1.1.47 through 2.3.3, @bsv/wallet-toolbox-client 1.1.47 through 2.3.3, or @bsv/wallet-toolbox-mobile 1.3.21 through 2.3.3 can silently sign and broadcast transactions that pay an attacker instead of the intended recipient, creating direct financial and reputational risk. Exploitation is unauthenticated against the victim wallet and requires the application to use an attacker-controlled or compromised remote storage provider, while no public exploit identified at time of analysis. Leadership should care because affected payment flows can misdirect funds while user interfaces still show the intended recipient, even though there is no confidentiality or availability impact.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include using local storage or a trusted self-hosted StorageClient instead of attacker-controllable remote providers; validating all transaction outputs, recipient scripts, and amounts client-side before signing or broadcasting; allowlisting approved storage providers; and monitoring for anomalous change reductions or output substitution.

Threat Intelligence Overview

EPSS Score
0.3%
Top 80% exploitable
Prevalence
Low
BSV-blockchain-specific wallet npm libraries; niche cryptocurrency ecosystem, limited deployment
Threat Intel
1
1 source
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy