# CVE-2023-34231: Snowflake Golang Driver vulnerable to Command Injection

- Severity: High 7.3 (CVSS:3.0, scored by GitHub_M) `CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/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): 1.96%, higher than 80% of CVEs (2026-12-01)
- Published: 2023-06-08T19:42:13.381Z
- Modified: 2026-09-10T03:49:54.396Z
- Also known as: GHSA-fwv2-65wh-2w8c
- Weaknesses: CWE-77
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

gosnowflake is th Snowflake Golang driver. Prior to version 1.6.19, a command injection vulnerability exists in the Snowflake Golang driver via single sign-on (SSO) browser URL authentication. In order to exploit the potential for command injection, an attacker would need to be successful in (1) establishing a malicious resource and (2) redirecting users to utilize the resource. The attacker could set up a malicious, publicly accessible server which responds to the SSO URL with an attack payload. If the attacker then tricked a user into visiting the maliciously crafted connection URL, the user’s local machine would render the malicious payload, leading to a remote code execution. This attack scenario can be mitigated through URL whitelisting as well as common anti-phishing resources. A patch is available in version 1.6.19.

(As written by CVE List.)

## Affected

- snowflakedb gosnowflake: < 1.6.19
- github.com/snowflakedb/gosnowflake (Go): before 1.6.19
- snowflake gosnowflake: before 1.6.19

## Every score

- GitHub_M: CVSS:3.0 7.3 High `CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 7.3 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/snowflakedb/gosnowflake/security/advisories/GHSA-fwv2-65wh-2w8c> (vendor-advisory, web)
- <https://github.com/snowflakedb/gosnowflake/pull/757> (patch, vendor-advisory, web)
- <https://github.com/snowflakedb/gosnowflake/commit/e11a2a555f1b9f7adc1f01fb7b5e7f38fbbb2a1c> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-34231> (advisory)
- <https://github.com/snowflakedb/gosnowflake> (package)

## Sources

- CVE List: [CVE-2023-34231](https://www.cve.org/CVERecord?id=CVE-2023-34231), CVE Terms of Use, modified 2025-01-06
- GitHub Advisory Database: [GHSA-fwv2-65wh-2w8c](https://github.com/advisories/GHSA-fwv2-65wh-2w8c), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2023-34231](https://nvd.nist.gov/vuln/detail/CVE-2023-34231), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-34231 · Whole record: https://cve.day/CVE-2023-34231.json · Rebuilt by cve.day 2026-11-25T22:58:24.686Z
