CVE-2025-46326 Snowflake Connector for .NET has race condition when checking access to Easy Logging configuration file
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
Description
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| nuget Snowflake.Data(NuGet) | = 2.1.2; = 2.1.3; = 2.1.4; = 2.1.5 +3 more | 4.4.1 | Fixed |
| snowflake connector | >= 2.1.2, < 4.4.1 | 4.4.1 | Fixed |
| snowflakedb snowflake-connector-net | = >= 2.1.2, < 4.4.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| nuget Snowflake.Data(NuGet) | >= 2.1.2, < 4.4.1 | 4.4.1 |
| nuget Snowflake.Data(NuGet) | = 2.1.2 | No fix listed |
| nuget Snowflake.Data(NuGet) | = 2.1.3 | No fix listed |
| nuget Snowflake.Data(NuGet) | = 2.1.4 | No fix listed |
| nuget Snowflake.Data(NuGet) | = 2.1.5 | No fix listed |
| nuget Snowflake.Data(NuGet) | = 2.2.0 | No fix listed |
| nuget Snowflake.Data(NuGet) | >= 2.1.2, <= 4.4.0 | No fix listed |
| snowflakedb snowflake-connector-net | = >= 2.1.2, < 4.4.1 | No fix listed |
| snowflake connector | >= 2.1.2, < 4.4.1 | 4.4.1 |
References
- https://github.com/snowflakedb/snowflake-connector-net/security/advisories/GHSA-c82r-c9f7-f5mj vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/snowflakedb/snowflake-connector-net/commit/393aad3cfa81045a05dd488944db45256e861bff patch
- github.com product
- https://github.com/snowflakedb/snowflake-connector-net/releases/tag/v4.4.1 release-notes
- github.com