# CVE-2025-46327: Go Snowflake Driver has race condition when checking access to Easy Logging configuration file

- Severity: Low 3.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.14%, higher than 3% of CVEs (2026-12-01)
- Published: 2025-04-28T20:27:29.000Z
- Modified: 2026-09-10T03:50:57.095Z
- Also known as: GHSA-6jgm-j7h2-2fqg, GO-2025-3650
- Related: CGA-f7j6-fx44-jgpm
- Weaknesses: CWE-367
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- snowflakedb gosnowflake: >= 1.7.0, < 1.13.3
- github.com/snowflakedb/gosnowflake (Go): from 1.7.0 before 1.13.3
- snowflake gosnowflake: from 1.7.0 before 1.13.3

## Every score

- GitHub_M: CVSS:3.1 3.3 Low `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:3.1 3.3 Low `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:3.1 7.0 High `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/snowflakedb/gosnowflake/security/advisories/GHSA-6jgm-j7h2-2fqg> (advisory, vendor-advisory, web)
- <https://github.com/snowflakedb/gosnowflake/commit/ba94a4800e23621eff558ef18ce4b96ec5489ff0> (fix, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-46327> (advisory)
- <https://github.com/snowflakedb/gosnowflake> (package)
- <https://pkg.go.dev/vuln/GO-2025-3650> (web)

## Sources

- CVE List: [CVE-2025-46327](https://www.cve.org/CVERecord?id=CVE-2025-46327), CVE Terms of Use, modified 2025-04-29
- GitHub Advisory Database: [GHSA-6jgm-j7h2-2fqg](https://github.com/advisories/GHSA-6jgm-j7h2-2fqg), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2025-3650](https://pkg.go.dev/vuln/GO-2025-3650), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2025-46327](https://nvd.nist.gov/vuln/detail/CVE-2025-46327), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-46327 · Whole record: https://cve.day/CVE-2025-46327.json · Rebuilt by cve.day 2026-11-25T22:58:57.048Z
