Skip to main content
VulnerabilityPublished

CVE-2025-59037: duckdb-node · Embedded Malicious Code

Affects duckdb-nodeSource CVE Database V5

0

Not known to be exploited · CVSS 8.6 High.

Data as of 26 Oct 2026, 14:05 UTC

CVSS 4.0 base score
8.6High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 30% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 9 Sep 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
duckdb duckdb-nodeAffected
  • =1.3.3
  • =1.29.2
Fixed in–

AI-suggested

European organizations should take immediate and specific actions beyond generic patching advice: 1) Conduct an inventory of all projects and environments using DuckDB Node.js packages to identify any usage of the affected versions (1.3.3 and 1.29.2). 2) Upgrade all instances to the patched versions 1.3.4 or 1.30.0 as soon as possible. If immediate upgrading is not feasible, downgrade to the last known clean versions (1.3.2 or 1.29.1) temporarily. 3) Implement strict supply chain security practices, including verifying package integrity via checksums or signatures before deployment. 4) Employ automated dependency scanning tools integrated into CI/CD pipelines to detect usage of vulnerable package versions. 5) Educate development and DevOps teams about the risks of supply chain attacks and enforce policies restricting installation of unvetted packages. 6) Monitor network and application logs for unusual activity related to cryptocurrency transactions or database anomalies that could indicate exploitation attempts. 7) Collaborate with npm and other package repository providers to stay informed about future supply chain threats and removals. 8) Review and enhance incident response plans to include supply chain compromise scenarios.

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.

References

Community reviews

Loading reviews…