Snowflake Python Connector vulnerable to Command Injection
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-77.
Summary
The Snowflake Connector for Python provides an interface for developing Python applications that can connect to Snowflake and perform all standard operations. Versions prior to 3.0.2 are vulnerable to command injection 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. Version 3.0.2 contains a patch for this issue.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Snowflake | snowflake-connector-python | before 3.0.2 | 3.0.2 | Patch available | CNA |
| — | snowflake-connector-python (PyPI) | before 3.0.2 | 3.0.2 | Patch available | GHSA-5w5m-pfw9-c8fp |
- snowflake-connector-python VendorSnowflake Affected before 3.0.2 Fixed in 3.0.2 Patch available CNA
- snowflake-connector-python (PyPI) Vendor— Affected before 3.0.2 Fixed in 3.0.2 Patch available GHSA-5w5m-pfw9-c8fp
Remediation
- Fix · CNA snowflake-connector-python (snowflakedb) Fixed in 3.0.2
- Fix · GHSA-5w5m-pfw9-c8fp snowflake-connector-python (PyPI) Fixed in 3.0.2 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2023-34233
- 2026-10-03 Alias added: GHSA-5w5m-pfw9-c8fp
References
Patch 2
Advisory 2
More Snowflake Connector vulnerabilities
- TI-2022-20945 Exponential ReDoS in snowflake-connector-python leads to denial of service CVSS 3.1HIGH 7.5
- TI-2023-17068 Snowflake NodeJS Driver vulnerable to Command Injection CVSS 3.1HIGH 8.8
- TI-2023-17066 Snowflake Connector vulnerable to Command Injection CVSS 3.1HIGH 8.8
- TI-2025-18511 The Snowflake Connector for Python uses insecure deserialization of the OCSP response cache CVSS 3.1HIGH 7.8
- TI-2025-18510 Snowflake Connector for Python has an SQL Injection in write_pandas CVSS 3.1HIGH 7.0
- TI-2023-28309 Snowflake Connector .NET does not properly check the Certificate Revocation List (CRL) CVSS 3.1HIGH 7.5
Sources
- CVE-2023-34233 · CVE Program
- CVE-2023-34233 · NVD
- FIRST EPSS
- GHSA-5w5m-pfw9-c8fp · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences