Live threats

All CVEs / Cashu

CVE-2025-65548Cashu Nutshell

Critical 9.1 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Nutshell.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
cashunutshell< 0.18.0

Official sources

References

Links published by the sources. Open them with care.