CVE-2025-46326
HIGH 7.0CVSS 3.1Snowflake Connector for .NET has race condition when checking access to Easy Logging configuration file
snowflake-connector-net is the Snowflake Connector for .NET. Versions starting from 2.1.2 to before 4.4.1, 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 Connector reads logging configuration from a user-provided file. On Linux and macOS, the Connector 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 Connector. 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 4.4.1.
- Published
- 28 Apr 2025
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-367
- Also known as
- GHSA-c82r-c9f7-f5mj
- Sources
- NVDJSONOSV GHSA-c82r-c9f7-f5mjJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.0 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | LOW 3.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | LOW 3.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | snowflake | snowflake_connectorcpe:2.3:a:snowflake:snowflake_connector:*:*:*:*:*:.net:*:* |
>= 2.1.2, < 4.4.1 | 4.4.1 |
| OSV | NuGet | Snowflake.Data | >= 2.1.2, < 4.4.1 | 4.4.1 |
References
- https://github.com/snowflakedb/snowflake-connector-net/commit/393aad3cfa81045a05dd488944db45256e861bff · Patch, WEB
- https://github.com/snowflakedb/snowflake-connector-net/releases/tag/v4.4.1 · Release Notes, WEB
- https://github.com/snowflakedb/snowflake-connector-net/security/advisories/GHSA-c82r-c9f7-f5mj · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-46326 · ADVISORY
- https://github.com/snowflakedb/snowflake-connector-net · PACKAGE
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 28 Apr 2025)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 28 Apr 2025)