CVE-2025-46328: NodeJS Driver for Snowflake has race condition when checking access to Easy Logging configuration file
Vulnerability summary
CVE-2025-46328 is a high (CVSS 7.0) vulnerability in snowflake snowflake_connector. EPSS estimates a 0.18% chance of exploitation in the next 30 days, higher than 7.3% of scored vulnerabilities.
Not severe (CVSS 3.3, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 28-04-2025PublishedVulnerability first disclosed.
- 29-04-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 3 sources · 1 version- CVE.orgCNA3.3LowCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:NDiffers
- OSV · NpmEcosystem advisory · calculated3.3LowCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:NDiffers
EPSS trend
Probability
0.18%
Chance of exploitation in the next 30 days
Percentile
7%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.17% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Npm1 product
- snowflake-sdk≥ 1.10.0, < 2.0.4
Snowflake1 product
- snowflake_connector≥ 1.10.0, < 2.0.4
Snowflakedb1 product
- snowflake-connector-nodejs≥ 1.10.0, < 2.0.4
3 vendors · 3 products
References
4 links- github.com/snowflakedb/snowflake-connector-nodejs/security/advisories/GHSA-wmjq-jrm2-9wfrX Refsource CONFIRMWEBVendor Advisory