CVE-2025-65548Cashu Nutshell
Critical 9.1 No auth needed
Follow: this CVE · Cashu · Cashu Nutshell We alert you by email or Slack (account required).
- Priority
- 70
- CVSS 3.1
- 9.1
- EPSS
- —
- Auth required
- No
- Published
- Dec 8, 2025
- Updated
- Oct 18, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-1284
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
What happens
NUT-14 allows cashu tokens to be created with a preimage hash. However, nutshell (cashubtc/nuts) before 0.18.0 do not validate the size of preimage when the token is spent. The preimage is stored by the mint and attacker can exploit this vulnerability to fill the mint's db nd disk with arbitrary data.
What to do
- Apply the vendor's security update for Nutshell.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | cashu |
< 0.18.0 |
0.18.0 |
pip install "cashu>=0.18.0" |
Per OSV / GitHub Advisories (PYSEC-2025-89). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| cashu | nutshell | < 0.18.0 |
Official sources
References
Links published by the sources. Open them with care.
- bitcointalk.org Exploit Issue Tracking
- delvingbitcoin.org Broken Link
- github.com Exploit Third Party Advisory
- github.com Exploit Third Party Advisory
- github.com Exploit Third Party Advisory
- preimage007.github.io Product