NodeJS Driver for Snowflake has race condition when checking access to Easy Logging configuration file
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- High
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Snowflake | snowflake-connector-nodejs | 1.10.0 to before 2.0.4 | 2.0.4 | Patch available | CNA |
| — | snowflake-sdk (npm) | 1.10.0 to before 2.0.4 | 2.0.4 | Patch available | GHSA-wmjq-jrm2-9wfr |
- snowflake-connector-nodejs VendorSnowflake Affected 1.10.0 to before 2.0.4 Fixed in 2.0.4 Patch available CNA
- snowflake-sdk (npm) Vendor— Affected 1.10.0 to before 2.0.4 Fixed in 2.0.4 Patch available GHSA-wmjq-jrm2-9wfr
Remediation
- Fix · CNA snowflake-connector-nodejs (snowflakedb) Fixed in 2.0.4
- Fix · GHSA-wmjq-jrm2-9wfr snowflake-sdk (npm) Fixed in 2.0.4 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2025-46328
- 2026-10-03 Alias added: GHSA-wmjq-jrm2-9wfr
References
Advisory 2
More Snowflake Connector vulnerabilities
- TI-2022-20945 Exponential ReDoS in snowflake-connector-python leads to denial of service CVSS 3.1HIGH 7.5
- TI-2023-17069 Snowflake Python Connector vulnerable to Command Injection CVSS 3.1HIGH 8.8
- TI-2023-17068 Snowflake NodeJS Driver vulnerable to Command Injection CVSS 3.1HIGH 8.8
- TI-2023-17066 Snowflake Connector vulnerable to Command Injection CVSS 3.1HIGH 8.8
- TI-2025-18511 The Snowflake Connector for Python uses insecure deserialization of the OCSP response cache CVSS 3.1HIGH 7.8
- TI-2025-18510 Snowflake Connector for Python has an SQL Injection in write_pandas CVSS 3.1HIGH 7.0
Sources
- CVE-2025-46328 · CVE Program
- CVE-2025-46328 · NVD
- FIRST EPSS
- GHSA-wmjq-jrm2-9wfr · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences