CVE-2025-59037
DuckDB NPM packages 1.3.3 and 1.29.2 briefly compromised with malware
Also known as GHSA-w62p-hx95-gf2c
Mitigation
- Upgrade duckdb to 1.3.4 or later.
- Upgrade @duckdb/node-api to 1.3.4-alpha.27 or later.
- Upgrade @duckdb/node-bindings to 1.3.4-alpha.27 or later.
- Upgrade @duckdb/duckdb-wasm to 1.30.0 or later.
Who should check
- Projects that depend on npm package duckdb (>= 1.3.3, < 1.3.4)
- Projects that depend on npm package @duckdb/node-api (>= 1.3.3, < 1.3.4-alpha.27)
- Projects that depend on npm package @duckdb/node-bindings (>= 1.3.3, < 1.3.4-alpha.27)
- Projects that depend on npm package @duckdb/duckdb-wasm (>= 1.29.2, < 1.30.0)
- Anyone running duckdb-node = 1.3.3; = 1.29.2
Vulnerability facts
- Affected
- duckdb >= 1.3.3, < 1.3.4; @duckdb/node-api >= 1.3.3, < 1.3.4-alpha.27; @duckdb/node-bindings >= 1.3.3, < 1.3.4-alpha.27; @duckdb/duckdb-wasm >= 1.29.2, < 1.30.0
- Fixed in
- 1.3.4, 1.3.4-alpha.27, 1.30.0
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 8.6 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Attack requirements: None
- Privileges required: None
- User interaction: Active
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- Confidentiality impact on other systems: None
- Integrity impact on other systems: None
- Availability impact on other systems: None
- EPSS
- 0.70% chance of exploitation in 30 days (percentile 49, 2026-11-26)
- CWE
- CWE-506
- Modified
Description
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| npm duckdb | >= 1.3.3, < 1.3.4 | 1.3.4 | osv |
| npm @duckdb/node-api | >= 1.3.3, < 1.3.4-alpha.27 | 1.3.4-alpha.27 | osv |
| npm @duckdb/node-bindings | >= 1.3.3, < 1.3.4-alpha.27 | 1.3.4-alpha.27 | osv |
| npm @duckdb/duckdb-wasm | >= 1.29.2, < 1.30.0 | 1.30.0 | osv |
| duckdb-node | = 1.3.3; = 1.29.2 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-59037. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-59037.md Affected: duckdb >= 1.3.3, < 1.3.4; @duckdb/node-api >= 1.3.3, < 1.3.4-alpha.27; @duckdb/node-bindings >= 1.3.3, < 1.3.4-alpha.27; @duckdb/duckdb-wasm >= 1.29.2, < 1.30.0 Fixed in: 1.3.4, 1.3.4-alpha.27, 1.30.0 Steps: 1. Search this machine and project for duckdb (npm), @duckdb/node-api (npm), @duckdb/node-bindings (npm), @duckdb/duckdb-wasm (npm), duckdb-node: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2025-59037 being exploited?
There is no confirmed exploitation: CVE-2025-59037 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.70% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-59037?
High: CVSS 8.6 (v4.0, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.
Which versions are affected by CVE-2025-59037?
duckdb >= 1.3.3, < 1.3.4; @duckdb/node-api >= 1.3.3, < 1.3.4-alpha.27; @duckdb/node-bindings >= 1.3.3, < 1.3.4-alpha.27; @duckdb/duckdb-wasm >= 1.29.2, < 1.30.0.
Is there a fix for CVE-2025-59037?
Yes. Fixed in 1.3.4, 1.3.4-alpha.27, 1.30.0. Upgrade duckdb to 1.3.4 or later. Upgrade @duckdb/node-api to 1.3.4-alpha.27 or later. Upgrade @duckdb/node-bindings to 1.3.4-alpha.27 or later. Upgrade @duckdb/duckdb-wasm to 1.30.0 or later.
How do I check if I'm affected by CVE-2025-59037?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.