CVE-2025-59037
DuckDB is an analytical in-process SQL database management system. …
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/[email protected]`, `@duckdb/[email protected]`, `[email protected]`, and `@duckdb/[email protected]` 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 now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/duckdb/duckdb-node/releases/tag/v1.3.4
- github.com/duckdb/duckdb-node/security/advisories/GHSA-w62p-hx95-gf2c
- www.aikido.dev/blog/npm-debug-and-chalk-packages-compromised
- nvd.nist.gov/vuln/detail/CVE-2025-59037
- github.com/advisories/GHSA-w62p-hx95-gf2c
- nvd.nist.gov/vuln/detail/CVE-2025-59037
- cve.org/CVERecord?id=CVE-2025-59037
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.