Skip to content

CVE-2025-46326 Snowflake Connector for .NET has race condition when checking access to Easy Logging configuration file

HighCVSS 7.0 EPSS 0.17%
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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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