CVE-2025-46326: Snowflake.Data Snowflake Connector For .NET Has Vulnerability

LOW
Advisory Identifier: GHSA-c82r-c9f7-f5mj
CVSS 3.3
CWE-367
Published
Advisory Summary

CVE-2025-46326 is a LOW (CVSS 3.3) snowflake connector for .net has vulnerability (CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition) affecting Snowflake.Data libraries in the NuGet ecosystem. The issue involves snowflake connector for .net has race condition when checking access to easy logging configuration file. Remediation is available by upgrading affected packages to version 4.4.1.

CVE-2025-46326 at a Glance

CVE Identifier CVE-2025-46326
GHSA Identifier GHSA-c82r-c9f7-f5mj
Severity LOW
CVSS v3.1 Base Score 3.3
CWE Classification CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition
Affected Product Snowflake.Data
Package Ecosystem NuGet
Published Date
Last Updated

Security Impact

CVSS: 3.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N).

Attack Vector Local (AV:L)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2025-46326

To remediate this vulnerability, upgrade all affected Snowflake.Data dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

Snowflake.Data fixed: 4.4.1
Upgrade Snowflake.Data to 4.4.1
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for Snowflake.Data

How to Check if You Are Affected

To determine whether your application is affected by CVE-2025-46326, inspect your project dependencies for Snowflake.Data:

inspect dependencies for Snowflake.Data

Analyze the terminal output to locate any version of Snowflake.Data in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.4.1), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition, where the product checks the state of a resource before using that resource, but the resource's state can change between the check and the use in a way that invalidates the results of the check. In Snowflake.Data, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

# Issue Snowflake discovered and remediated a vulnerability in the Snowflake Connector for .NET (“Connector”). When using the Easy Logging feature on Linux and macOS, the Connector didn’t correctly verify the permissions of the logging configuration file, potentially allowing an attacker with local access to overwrite the configuration and gain control over logging level and output location. This vulnerability affects Connector versions 2.1.2 through 4.4.0. Snowflake fixed the issue in version 4.4.1. # Vulnerability Details 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 Time-of-Check to Time-of-Use (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. # Solution Snowflake released version 4.4.1 of the Snowflake Connector for .NET, which fixes this issue. We recommend users upgrade to version 4.4.1. # Additional Information If you discover a security vulnerability in one of our products or websites, please report the issue to Snowflake through our Vulnerability Disclosure Program hosted at HackerOne. For more information, please see our [Vulnerability Disclosure Policy](https://hackerone.com/snowflake?type=team).

CVE-2025-46326 Affected Snowflake.Data Versions

1 component(s)
Fixed Versions:
4.4.1
Product / Package Ecosystem Affected Versions Fixed Version
Snowflake.Data
NuGet
≥ 2.1.2
< 4.4.1
4.4.1

References

Frequently Asked Questions

What is CVE-2025-46326?
CVE-2025-46326 is a security vulnerability in Snowflake.Data involving Snowflake Connector for .NET has race condition when checking access to Easy Logging configuration file under CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition.
Which Snowflake.Data versions are affected?
Affected versions include releases prior to 4.4.1 across affected packages: Snowflake.Data.
What version fixes CVE-2025-46326?
Upgrading to 4.4.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is Snowflake.Data affected?
Yes, Snowflake.Data is affected in releases prior to 4.4.1. Upgrade your dependency to 4.4.1 or later.
What is the CVSS score of CVE-2025-46326?
CVE-2025-46326 has a CVSS v3.1 base score of 3.3 (LOW) with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N.
What CWE is associated with CVE-2025-46326?
CVE-2025-46326 is classified under CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition (The product checks the state of a resource before using that resource, but the resource's state can change between the check and the use in a way that invalidates the results of the check.).
How can I check NuGet dependencies for CVE-2025-46326?
Run the dependency tree command: 'inspect dependencies for Snowflake.Data'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-c82r-c9f7-f5mj",
  "modified" : "2025-04-29T13:10:37Z",
  "published" : "2025-04-28T20:25:51Z",
  "aliases" : [ "CVE-2025-46326" ],
  "summary" : "Snowflake Connector for .NET has race condition when checking access to Easy Logging configuration file",
  "details" : "# Issue\nSnowflake discovered and remediated a vulnerability in the Snowflake Connector for .NET (“Connector”). When using the Easy Logging feature on Linux and macOS, the Connector didn’t correctly verify the permissions of the logging configuration file, potentially allowing an attacker with local access to overwrite the configuration and gain control over logging level and output location.\n\nThis vulnerability affects Connector versions 2.1.2 through 4.4.0. Snowflake fixed the issue in version 4.4.1.\n\n# Vulnerability Details\nWhen 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 Time-of-Check to Time-of-Use (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.\n\n# Solution\nSnowflake released version 4.4.1 of the Snowflake Connector for .NET, which fixes this issue. We recommend users upgrade to version 4.4.1.\n\n# Additional Information\nIf you discover a security vulnerability in one of our products or websites, please report the issue to Snowflake through our Vulnerability Disclosure Program hosted at HackerOne. For more information, please see our [Vulnerability Disclosure Policy](https://hackerone.com/snowflake?type=team).",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Snowflake.Data"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.1.2"
      }, {
        "fixed" : "4.4.1"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 4.4.0"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/snowflakedb/snowflake-connector-net/security/advisories/GHSA-c82r-c9f7-f5mj"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-46326"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/snowflakedb/snowflake-connector-net/commit/393aad3cfa81045a05dd488944db45256e861bff"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/snowflakedb/snowflake-connector-net"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/snowflakedb/snowflake-connector-net/releases/tag/v4.4.1"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-367" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-04-28T20:25:51Z",
    "nvd_published_at" : "2025-04-28T23:15:44Z"
  }
}