
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-40069 is an improper failure detection vulnerability in the BSV Ruby SDK (bsv-sdk) affecting the BSV::Network::ARC broadcaster component. The flaw causes ARC responses with txStatus values of INVALID, MALFORMED, MINED_IN_STALE_BLOCK, or any ORPHAN-containing extraInfo/txStatus to be silently treated as successful broadcasts, when they should be treated as failures. All versions from 0.1.0 through 0.8.1 are affected; the vulnerability was identified on April 8, 2026, during a cross-SDK compliance review and publicly disclosed on April 9, 2026. It carries a CVSS v3.1 base score of 7.5 (High) (GitHub Advisory, Feedly).
The root cause is classified as CWE-754 (Improper Check for Unusual or Exceptional Conditions). In lib/bsv/network/arc.rb (lines ~74–100 in affected versions), the REJECTED_STATUSES predicate only checks for REJECTED and DOUBLE_SPEND_ATTEMPTED, diverging from the TypeScript reference SDK which additionally recognizes INVALID, MALFORMED, MINED_IN_STALE_BLOCK, and any response containing ORPHAN in extraInfo or txStatus. Because the missing code path simply does not exist, any ARC endpoint returning one of these unhandled statuses — whether due to a malformed transaction, a transient fork creating an orphan condition, or a hostile/misbehaving ARC node — causes the broadcaster to return a success result to the caller. Additional protocol divergences (wrong Content-Type header, missing XDeployment-ID/X-CallbackUrl/X-CallbackToken headers) compound the risk but are not the primary security defect (GitHub Advisory, Fix PR).
The vulnerability is a pure integrity issue with no confidentiality or availability impact. Applications that gate business-critical actions on a successful broadcast result — such as releasing goods, marking invoices paid, treating a token as minted, or progressing a workflow — are tricked into trusting transactions that were never actually accepted by the BSV blockchain network. This can lead to incorrect application state, financial loss, or fraudulent fulfillment of obligations based on transactions that the network rejected (GitHub Advisory).
bsv-sdk versions 0.1.0–0.8.1 that gates business logic (e.g., payment confirmation, token minting, order fulfillment) on the return value of BSV::Network::ARC#broadcast.txStatus of INVALID or MALFORMED.BSV::Network::ARC#broadcast to submit the crafted transaction to the ARC endpoint.txStatus of INVALID, MALFORMED, MINED_IN_STALE_BLOCK, or an ORPHAN-containing value.BroadcastError.BroadcastError exceptions in application logs despite ARC endpoint logs showing INVALID, MALFORMED, MINED_IN_STALE_BLOCK, or ORPHAN txStatus values for submitted transactions.{REJECTED, DOUBLE_SPEND_ATTEMPTED} that correspond to transactions submitted by the vulnerable application.Primary remediation: Upgrade bsv-sdk to version 0.8.2 or later, which expands the failure predicate to include INVALID, MALFORMED, MINED_IN_STALE_BLOCK, and any ORPHAN-containing response, matching the TypeScript reference SDK. Users of bsv-wallet should upgrade to version 0.3.4 or later, which tightens its bsv-sdk dependency to >= 0.8.2, < 1.0, ensuring the fix is pulled in transitively. Workaround (if immediate upgrade is not possible): Independently verify broadcast results out-of-band (e.g., query WhatsOnChain or another block explorer) before gating any integrity-critical application actions on the ARC broadcaster's success response (GitHub Advisory, Release v0.8.2).
The vulnerability was identified internally during a structured cross-SDK compliance review on April 8, 2026, comparing the Ruby SDK against the TypeScript reference implementation. The project's Security Specialist noted: "Silently treating failure statuses as success is a serious integrity concern," and the Domain Expert added: "ARC missing failure-status set means broadcasts that are actually INVALID/MALFORMED are treated as success; domain-critical." The fix was voted on by the project team (8 AGREE, 0 DISAGREE) and shipped as a paired patch release alongside two other high-severity findings (GitHub Issue #305).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."