Vulnerability · Published Sep 9, 2025 · Assigned by GitHub_M
CVE-2025-59037DuckDB NPM packages 1.3.3 and 1.29.2 briefly compromised with malware
High 8.6
In plain English
A high-severity security flaw in duckdb-node from duckdb. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 31% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | @duckdb/duckdb-wasm | 1.30.0 | GHSA-w62p-hx95-gf2c |
| npm | @duckdb/node-api | 1.3.4-alpha.27 | GHSA-w62p-hx95-gf2c |
| npm | @duckdb/node-bindings | 1.3.4-alpha.27 | GHSA-w62p-hx95-gf2c |
| npm | duckdb | 1.3.4 | GHSA-w62p-hx95-gf2c |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| duckdb | duckdb-node | = 1.3.3= 1.29.2 |
Weakness: CWE-506 · 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
References
- https://github.com/duckdb/duckdb-node/security/advisories/GHSA-w62p-hx95-gf2c x_refsource_CONFIRM
- https://github.com/duckdb/duckdb-node/releases/tag/v1.3.4 x_refsource_MISC
- https://www.aikido.dev/blog/npm-debug-and-chalk-packages-compromised x_refsource_MISC