CVE-2025-59037
September 09, 2025
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
duckdb (NPM):
Affected version(s) >=1.3.3 <1.3.4Fix Suggestion:
Update to version 1.3.4@duckdb/node-api (NPM):
Affected version(s) =1.3.3 <1.3.4-alpha.27Fix Suggestion:
Update to version 1.3.4-alpha.27@duckdb/duckdb-wasm (NPM):
Affected version(s) =1.29.2 <1.30.0Fix Suggestion:
Update to version 1.30.0@duckdb/node-bindings (NPM):
Affected version(s) =1.3.3 <1.3.4-alpha.27Fix Suggestion:
Update to version 1.3.4-alpha.27Related Resources (6)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.6
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
ACTIVE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
8.8
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Embedded Malicious Code
EPSS
Base Score:
0.06