Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @duckdb/duckdb-wasm
  4. ›
  5. CVE-2025-59037

CVE-2025-59037: DuckDB NPM packages 1.3.3 and 1.29.2 briefly compromised with malware

September 9, 2025 (updated September 10, 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. The following packages and versions are affected:

  • @duckdb/node-api@1.3.3
  • @duckdb/node-bindings@1.3.3
  • duckdb@1.3.3
  • @duckdb/duckdb-wasm@1.29.2

Note: The current release version of DuckDB is 1.3.2, with 1.4.0 expected to be released on Sept 10th, 2025 (tomorrow as of this writing). We do not plan to ever release a “legit” DuckDB 1.3.3. Users should double-check that they are not accidentally updating to those affected versions.

We have ourselves noticed this within four hours of it happening. Here’s our response:

  • As an immediate response, we have deprecated the specific versions.
  • We have reached out to npm support to delete the affected versions. They were so kind to do so.
  • We have also re-released the node packages with higher version numbers (1.3.4/1.30.0) as a further safeguard so the latest version of the package points to a safe version

We apologize for this issue. We are reviewing our internal processes to ensure the safety of future releases.

References

  • github.com/advisories/GHSA-w62p-hx95-gf2c
  • github.com/duckdb/duckdb-node
  • github.com/duckdb/duckdb-node/releases/tag/v1.3.4
  • github.com/duckdb/duckdb-node/security/advisories/GHSA-w62p-hx95-gf2c
  • nvd.nist.gov/vuln/detail/CVE-2025-59037
  • www.aikido.dev/blog/npm-debug-and-chalk-packages-compromised

Code Behaviors & Features

Detect and mitigate CVE-2025-59037 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 1.29.2 before 1.30.0, version 1.29.2

Fixed versions

  • 1.30.0

Solution

Upgrade to version 1.30.0 or above.

Weakness

  • CWE-506: Embedded Malicious Code

Source file

npm/@duckdb/duckdb-wasm/CVE-2025-59037.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 21 Sep 2025 12:18:51 +0000.