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

- Severity: High 8.6 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.41%, higher than 37% of CVEs (2026-12-01)
- Published: 2025-09-09T14:39:14.000Z
- Modified: 2026-06-17T09:45:28.787Z
- Also known as: GHSA-w62p-hx95-gf2c
- Weaknesses: CWE-506
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- duckdb duckdb-node: = 1.3.3; = 1.29.2
- duckdb (npm): from 1.3.3 before 1.3.4
- @duckdb/node-api (npm): from 1.3.3 before 1.3.4-alpha.27
- @duckdb/node-bindings (npm): from 1.3.3 before 1.3.4-alpha.27
- @duckdb/duckdb-wasm (npm): from 1.29.2 before 1.30.0

## Every score

- GitHub_M: CVSS:4.0 8.6 High `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`
- GitHub: CVSS:4.0 High `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`

## References

- <https://github.com/duckdb/duckdb-node/security/advisories/GHSA-w62p-hx95-gf2c> (web)
- <https://github.com/duckdb/duckdb-node/releases/tag/v1.3.4> (web)
- <https://www.aikido.dev/blog/npm-debug-and-chalk-packages-compromised> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-59037> (advisory)
- <https://github.com/duckdb/duckdb-node> (package)

## Sources

- CVE List: [CVE-2025-59037](https://www.cve.org/CVERecord?id=CVE-2025-59037), CVE Terms of Use, modified 2025-09-10
- GitHub Advisory Database: [GHSA-w62p-hx95-gf2c](https://github.com/advisories/GHSA-w62p-hx95-gf2c), CC-BY-4.0, modified 2025-09-10
- NVD: [CVE-2025-59037](https://nvd.nist.gov/vuln/detail/CVE-2025-59037), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-59037 · Whole record: https://cve.day/CVE-2025-59037.json · Rebuilt by cve.day 2026-11-25T22:59:04.469Z
