CVE-2023-30535 Snowflake JDBC vulnerable to command injection via SSO URL authentication
Attackers can achieve remote code execution on user machines by tricking them into visiting a malicious connection URL processed by the Snowflake JDBC driver.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2023-30535?
CVE-2023-30535 is a high-severity command injection vulnerability in snowflakedb snowflake-jdbc, published on 14 Apr 2023. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
Snowflake JDBC provides a JDBC type 4 driver that supports core functionality, allowing Java program to connect to Snowflake. Users of the Snowflake JDBC driver were vulnerable to a command injection vulnerability. An 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. The vulnerability was patched on March 17, 2023 as part of Snowflake JDBC driver Version 3.13.29. All users should immediately upgrade the Snowflake JDBC driver to the latest version: 3.13.29.
Which versions are affected by CVE-2023-30535?
2 open source packages ship an affected version, including net.snowflake:snowflake-jdbc. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
net.snowflake:snowflake-jdbc Maven | All versions | 3.13.29 |
net.snowflake:snowflake-jdbc Maven | All versions | 3.13.29 |
Products include Snowflake Snowflake Jdbc.
How do I fix CVE-2023-30535?
Upgrade net.snowflake:snowflake-jdbc to 3.13.29 or later.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2023-30535 being exploited?
There is no known exploitation of CVE-2023-30535 in the wild and no public exploit code.
Other vulnerabilities in snowflakedb snowflake-jdbc
- CVE-2025-24789 Snowflake JDBC allows an untrusted search path on Windows
- CVE-2024-43382 Snowflake JDBC Security Advisory
- CVE-2026-3293 snowflakedb snowflake-jdbc JDBC URL SdkProxyRoutePlanner.java SdkProxyRoutePlanner redos
- CVE-2025-24790 Snowflake JDBC uses insecure temporary credential cache file permissions
- CVE-2025-27496 Snowflake JDBC Driver client-side encryption key in DEBUG logs
Sources
Also known as GHSA-4g3j-c4wg-6j7x.