Vulnerabilities

CVE-2025-59037

High 8.6 CVSS 4.0

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.

Description as published by the source, in English.

Key facts

Published
2025-09-09
Last modified
2026-06-17
Assigned by
security-advisories@github.com
CVSS 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/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:
Scored by
security-advisories@github.com
Probability of exploitation
0.3 % higher than 27 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Not registered in the sources

Affected products

Vendor Product Versions Status
duckdb (npm) ≥ 1.3.3, < 1.3.4 Affected
duckdb duckdb-wasm (npm) ≥ 1.29.2, < 1.30.0 Affected
duckdb node-api (npm) ≥ 1.3.3, < 1.3.4-alpha.27 Affected
duckdb node-bindings (npm) ≥ 1.3.3, < 1.3.4-alpha.27 Affected

Weakness type

Attack techniques

Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.

  • T1001.002: Steganography command-and-control
  • T1027.003: Steganography stealth
  • T1027.004: Compile After Delivery stealth
  • T1027.009: Embedded Payloads stealth
  • T1195.001: Compromise Software Dependencies and Development Tools initial-access
  • T1195.002: Compromise Software Supply Chain initial-access
  • T1218.001: Compiled HTML File stealth
  • T1221: Template Injection stealth

References

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities