CVE-2025-59037duckdb-node
High 8.6 No auth needed
Follow: this CVE · duckdb · duckdb-node We alert you by email or Slack (account required).
- Priority
- 67
- CVSS 4.0
- 8.6
- EPSS
- —
- Auth required
- No
- Published
- Sep 9, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-506
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
DuckDB is an analytical in-process SQL database management system. On 08 September 2025, the DuckDB distribution for Node.js on npm was compromised with malware (along with several other packages). An attacker published new versions of four of DuckDB's packages that included malicious code to interfere with cryptocoin transactions* According to the npm statistics, nobody has downloaded these packages before they were deprecated. The packages and versions `@duckdb/node-api@1.3.3`, `@duckdb/node-bindings@1.3.3`, `duckdb@1.3.3`, and `@duckdb/duckdb-wasm@1.29.2` were affected. DuckDB immediately deprecated the specific versions, engaged npm support to delete the affected verions, and re-released the node packages with higher version numbers (1.3.4/1.30.0). Users may upgrade to versions 1.3.4, 1.30.0, or a higher version to protect themselves. As a workaround, they may also downgrade to 1.3.2 or 1.29.1.
What to do
- Apply the vendor's security update for duckdb-node.
- 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 |
|---|---|---|---|---|
| npm | @duckdb/duckdb-wasm |
≥ 1.29.2 < 1.30.0 |
1.30.0 |
npm install @duckdb/duckdb-wasm@1.30.0 |
| npm | @duckdb/node-api |
≥ 1.3.3 < 1.3.4-alpha.27 |
1.3.4-alpha.27 |
npm install @duckdb/node-api@1.3.4-alpha.27 |
| npm | @duckdb/node-bindings |
≥ 1.3.3 < 1.3.4-alpha.27 |
1.3.4-alpha.27 |
npm install @duckdb/node-bindings@1.3.4-alpha.27 |
| npm | duckdb |
≥ 1.3.3 < 1.3.4 |
1.3.4 |
npm install duckdb@1.3.4 |
Per OSV / GitHub Advisories (GHSA-w62p-hx95-gf2c). Check the version in your lockfile before upgrading.
Affected products
- duckdb · duckdb-node
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.