Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-46328

LOW 3.3EPSS 5%

NodeJS Driver for Snowflake has race condition when checking access to Easy Logging configuration file

Also known as GHSA-wmjq-jrm2-9wfr

Mitigation

  • Upgrade snowflake-sdk to 2.0.4 or later.

Who should check

  • Projects that depend on npm package snowflake-sdk (>= 1.10.0, < 2.0.4)
  • Anyone running snowflakedb snowflake-connector-nodejs >= 1.10.0, < 2.0.4

Vulnerability facts

Affected
snowflake-sdk >= 1.10.0, < 2.0.4
Fixed in
2.0.4
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
3.3 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: Low
  • Integrity impact: None
  • Availability impact: None
EPSS
0.18% chance of exploitation in 30 days (percentile 5, 2026-11-26)
CWE
CWE-367
Published
Modified

Description

snowflake-connector-nodejs is a NodeJS driver for Snowflake. Versions starting from 1.10.0 to before 2.0.4, are vulnerable to a Time-of-Check to Time-of-Use (TOCTOU) race condition. When using the Easy Logging feature on Linux and macOS the Driver reads logging configuration from a user-provided file. On Linux and macOS the Driver verifies that the configuration file can be written to only by its owner. That check was vulnerable to a TOCTOU race condition and failed to verify that the file owner matches the user running the Driver. This could allow a local attacker with write access to the configuration file or the directory containing it to overwrite the configuration and gain control over logging level and output location. This issue has been patched in version 2.0.4.

Affected and fixed versions

Package / productAffectedFixedSource
npm snowflake-sdk>= 1.10.0, < 2.0.42.0.4osv
snowflakedb snowflake-connector-nodejs>= 1.10.0, < 2.0.4—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-46328. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-46328.md
Affected: snowflake-sdk >= 1.10.0, < 2.0.4
Fixed in: 2.0.4

Steps:
1. Search this machine and project for snowflake-sdk (npm), snowflakedb snowflake-connector-nodejs: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-46328 being exploited?

There is no confirmed exploitation: CVE-2025-46328 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-46328?

Low: CVSS 3.3 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2025-46328?

snowflake-sdk >= 1.10.0, < 2.0.4.

Is there a fix for CVE-2025-46328?

Yes. Fixed in 2.0.4. Upgrade snowflake-sdk to 2.0.4 or later.

How do I check if I'm affected by CVE-2025-46328?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors