Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
3.3
CVE-2025-46327: Snowflake Go Driver: Local Privilege Escalation via Logging Configuration
CVE-2025-46327 · published 1 year ago
Summary
The Snowflake Go driver has a security flaw that could allow a local attacker to gain control over logging settings. This only affects the driver's Easy Logging feature on Linux and macOS, and the issue has been fixed in version 1.13.3. To protect yourself, update the driver to the latest version.
What to do
- Update github.com snowflakedb to version 1.13.3.
- Update snowflake gosnowflake to version 1.13.3 or later.
Affected software
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| go | github.com | snowflakedb |
>= 1.7.0, < 1.13.3 Fix: upgrade to 1.13.3
|
| – | snowflake | gosnowflake |
>= 1.7.0, < 1.13.3 cpe:2.3:a:snowflake:gosnowflake:*:*:*:*:*:go:*:* |
Original advisory text
Go Snowflake Driver has race condition when checking access to Easy Logging configuration file
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.
References
- https://pkg.go.dev/vuln/GO-2025-3650
- https://github.com/advisories/GHSA-6jgm-j7h2-2fqg
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/46xxx/CVE-2025-46327... Vendor Advisory
- https://github.com/snowflakedb/gosnowflake/security/advisories/GHSA-6jgm-j7h2-2f... Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2025-46327 Vendor Advisory
- https://github.com/snowflakedb/gosnowflake/commit/ba94a4800e23621eff558ef18ce4b9... Patch
Internet-facing
60 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit
- Gives an attacker partial control
Type
CWE-367Time-of-check Time-of-use (TOCTOU) Race Condition
Timeline
Published28 Apr 2025
Updated26 Oct 2026
First seen6 Mar 2026
Track software like this
Free during beta