CVE-2025-24789 Snowflake JDBC allows an untrusted search path on Windows

High 7.8 Published Updated

An attacker with write access to a PATH directory can escalate privileges when the Snowflake JDBC driver uses EXTERNALBROWSER authentication on Windows.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2025-24789?

CVE-2025-24789 is a high-severity vulnerability in snowflakedb snowflake-jdbc, published on 29 Jan 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Snowflake JDBC provides a JDBC type 4 driver that supports core functionality, allowing Java program to connect to Snowflake. Snowflake discovered and remediated a vulnerability in the Snowflake JDBC Driver. When the EXTERNALBROWSER authentication method is used on Windows, an attacker with write access to a directory in the %PATH% can escalate their privileges to the user that runs the vulnerable JDBC Driver version. This vulnerability affects versions 3.2.3 through 3.21.0 on Windows. Snowflake fixed the issue in version 3.22.0.

Weakness: CWE-426

Which versions are affected by CVE-2025-24789?

2 open source packages ship an affected version, including net.snowflake:snowflake-jdbc. It affects 1 product.

PackageAffectedFixed in
net.snowflake:snowflake-jdbc MavenFrom 3.2.33.22.0
net.snowflake:snowflake-jdbc MavenFrom 3.2.33.22.0

Products include Snowflake Snowflake Jdbc.

How do I fix CVE-2025-24789?

Upgrade net.snowflake:snowflake-jdbc to 3.22.0 or later.

Is CVE-2025-24789 being exploited?

There is no known exploitation of CVE-2025-24789 in the wild and no public exploit code.

Sources

Also known as GHSA-7hpq-3g6w-pvhf.

Is CVE-2025-24789 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free