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

- Priority: **Routine**
- Reason: Not severe (CVSS 7.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2023-06-08 · Modified: 2025-01-06
- Aliases: CGA-332f-2hwf-78rj, CGA-38pc-8wm7-2v45, GHSA-fwv2-65wh-2w8c
- Record: https://cvemate.com/vulnerability/CVE-2023-34231 · JSON: https://cvemate.com/vulnerability/CVE-2023-34231/json

## Description

```text
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.
```

## Signals

- CVSS: 8.8 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 1.962%, percentile 81.047%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- chainguard telegraf-1.36 (Chainguard): \< 1.36.2-r1
- wolfi telegraf-1.36 (Wolfi): \< 1.36.2-r1
- github.com/snowflakedb gosnowflake (Go): \< 1.6.19
- snowflake gosnowflake: \< 1.6.19
- snowflakedb gosnowflake: \< 1.6.19

## References

- <https://github.com/snowflakedb/gosnowflake/security/advisories/GHSA-fwv2-65wh-2w8c>
- <https://github.com/snowflakedb/gosnowflake/pull/757>
- <https://github.com/snowflakedb/gosnowflake/commit/e11a2a555f1b9f7adc1f01fb7b5e7f38fbbb2a1c>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/34xxx/CVE-2023-34231.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2023-34231>
- <https://github.com/snowflakedb/gosnowflake>

---

Data as of 2026-12-05T13:31:18.692Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
