AI-generated analysisPublished automatically and not human-verified. Validated context appears in community notes below.
← Watch feed
High 70 Bitcoin

open the wallet file that was validated, rejecting a wallet file with an empty name

Public commit record

What the developer wrote

Authored by Craig Raw

50/100 · Thin
open the wallet file that was validated, rejecting a wallet file with an empty name
✓ Specific, descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
The short version

What changed, and why it matters

This commit fixes a security bug in how Sparrow Wallet opens its H2 database files. Previously, the wallet validated one file but then opened a different file for the database connection, and it allowed wallet files with an empty name. A specially crafted wallet file with an empty name could trick the app into connecting to an attacker-controlled external H2 database, potentially leaking or manipulating wallet data. The patch makes sure the validated file is the one actually opened and rejects empty-named wallet files.

Recommended action

Treat this as a security fix and include it in the next release. Users should upgrade to a version containing this commit and avoid opening untrusted wallet files. Review the drongo submodule change for related security fixes and consider requesting a CVE from the vendor or a security researcher.

Security signals we found

01

Validation/opening mismatch between validateStore() and getUrl()

02

Empty wallet file name allowed H2 database name to resolve to parent directory

03

Potential H2 linked table / INIT JDBC URL injection via crafted wallet file

04

Regression test demonstrates arbitrary external CSV write was possible before fix

05

Subproject drongo updated, suggesting related library-level fix

Risk score

Why this scored 70/100

Our methodology →
Potential impact 22/30
Exploitability 16/25
Stealth signal 11/15
Affected reach 10/15
Confidence 7/10
Evidence quality 4/5
Human-validated context

Community notes

Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.

No validated notes yet.

The AI analysis stands alone for now. Submit a note if you can add evidence or important context.