CVE-2025-59037
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedDuckDB 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceOn September 8, 2025, the DuckDB distribution for Node.js on npm was compromised when an attacker published malicious versions of four packages (@duckdb/[email protected], @duckdb/[email protected], [email protected], and @duckdb/[email protected]) containing code designed to interfere with cryptocurrency transactions. This represents a supply chain compromise where the package artifacts themselves were tampered with during the publishing process.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- Authentication
- X
- User interaction
- A
- Scope
- X
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:X/V:X/RE:X/U:X
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
List installed DuckDB npm packagesRun 'npm list --depth=0' or check your package-lock.json file for any of these packages: @duckdb/node-api, @duckdb/node-bindings, duckdb, @duckdb/duckdb-wasmAffected if Any of these four packages are listed at version 1.3.3 or 1.29.2
-
Inspect package.json dependenciesOpen your project's package.json and search for entries under 'dependencies' or 'devDependencies' containing 'duckdb'Affected if Any duckdb-related package specifies version 1.3.3 or 1.29.2
-
Verify installed package versionsRun 'npm list @duckdb/node-api @duckdb/node-bindings duckdb @duckdb/duckdb-wasm' to see exact installed versionsAffected if The installed version matches exactly 1.3.3 for node-api, node-bindings, or duckdb; or 1.29.2 for duckdb-wasm
-
Check for recent npm installationsReview npm install logs or audit your dependency installation history between September 8, 2025 and the date of patchingAffected if These specific versions were installed during that timeframe
A system is affected if any of the four DuckDB npm packages are installed at versions 1.3.3 or 1.29.2, indicating exposure to the compromised supply chain.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUsers should immediately upgrade to patched versions (1.3.4, 1.30.0, or higher) or downgrade to safe versions (1.3.2 or 1.29.1) as a workaround. Review any systems that may have consumed these packages during the window of compromise.
@duckdb/node-api@>=1.3.4, @duckdb/node-bindings@>=1.3.4, duckdb@>=1.3.4, @duckdb/duckdb-wasm@>=1.30.0
- 1. Check your project's package.json to identify which DuckDB packages are installed and their current versions
- 2. For packages `duckdb`, `@duckdb/node-api`, and `@duckdb/node-bindings`: run `npm install @duckdb/node-api@latest` (or specific version 1.3.4 or higher)
- 3. For package `@duckdb/duckdb-wasm`: run `npm install @duckdb/duckdb-wasm@latest` (or specific version 1.30.0 or higher)
- 4. Run `npm audit` or review your lock files to confirm all DuckDB packages are on safe versions
- 5. Test your application to ensure functionality is intact after the upgrade
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation2.0 h
- Testing4.0 h
- Review / QA1.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,464.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2025-59037 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2025-59037 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data