BreachSpiderVerified, not vibes

CVE-2025-46327 in Snowflake Gosnowflake

High 7.0 Fix available

gosnowflake is the Snowflake Golang driver. Versions starting from 1.7.0 to before 1.13.3, 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 ...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.17.0
EPSS0.2%
EPSS percentile5th
FixAvailable

Requires local access, high complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Snowflake Gosnowflake ≥ 1.7.0, < 1.13.3

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

gosnowflake is the Snowflake Golang driver. Versions starting from 1.7.0 to before 1.13.3, 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 1.13.3.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2025-46327
BreachSpider IDBS-2025-GLOBAL-261228-H
CVSS vectorCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Published2025-04-28
Last modified2025-05-09
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-367: CWE-367

Related attack patterns (CAPEC)

CAPEC-27 Leveraging Race Conditions via Symbolic Links via CWE-367

CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions via CWE-367

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

The gosnowflake Golang driver, versions 1.7.0 to 1.13.2, are vulnerable to a Time-of-Check to Time-of-Use (TOCTOU) race condition when using the Easy Logging feature on Linux and macOS.

An attacker with the ability to modify the logging configuration file could exploit this vulnerability to potentially execute arbitrary code or gain unauthorized access by changing the file's permissions or contents between the check and the use by the driver.

Questions

What is CVE-2025-46327?

The gosnowflake Golang driver, versions 1.7.0 to 1.13.2, are vulnerable to a Time-of-Check to Time-of-Use (TOCTOU) race condition when using the Easy Logging feature on Linux and macOS.

What is the CVSS score for CVE-2025-46327?

CVE-2025-46327 has CVSS 7.0 (High). Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 0.2%.

Is CVE-2025-46327 actively exploited?

No confirmed active exploitation of CVE-2025-46327 as of 2026-05-30.

How do I remediate CVE-2025-46327?

Priority: HIGH. PSIRT: [email protected]

What systems are affected by CVE-2025-46327?

CVE-2025-46327 affects Snowflake Gosnowflake.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Snowflake","product":"Gosnowflake","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2025-05-09.