CVE-2025-59037
HIGH 8.6CVSS 4.0DuckDB NPM packages 1.3.3 and 1.29.2 briefly compromised with malware
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.
- Published
- 9 Sep 2025
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-506
- Also known as
- GHSA-w62p-hx95-gf2c
- Sources
- NVDJSONOSV GHSA-w62p-hx95-gf2cJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | HIGH 8.6 | 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 |
| OSV | GitHub | CVSS 4.0 | 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | 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 |
References
- https://github.com/duckdb/duckdb-node/releases/tag/v1.3.4 · WEB
- https://github.com/duckdb/duckdb-node/security/advisories/GHSA-w62p-hx95-gf2c · WEB
- https://www.aikido.dev/blog/npm-debug-and-chalk-packages-compromised · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-59037 · ADVISORY
- https://github.com/duckdb/duckdb-node · PACKAGE
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 9 Sep 2025)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 9 Sep 2025)