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

Published Jan 29, 2025
·
Updated

Issue 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.

Vulnerability Details When the EXTERNALBROWSER authentication method is selected, the Snowflake JDBC Driver on non-macOS operating systems tries to open the SSO URL using xdg-open. Because xdg-open is a Linux program that doesn’t exist in a default Windows installation, a sufficiently privileged attacker could place a malicious executable in one of the directories on the %PATH% and achieve local privilege escalation to the user running the JDBC Driver.

Solution Snowflake released version 3.22.0 of the Snowflake JDBC Driver, which fixes this issue. We recommend users upgrade to version 3.22.0.

Additional Information If you discover a security vulnerability in one of our products or websites, please report the issue to HackerOne. For more information, please see our Vulnerability Disclosure Policy.

Other sources

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.

MITRE

Affected Software

3 affected componentsFixes available
maven/net.snowflake:snowflake-jdbc>=3.2.3<=3.21.0
3.22.0
All of the following
Snowflake Snowflake JDBC>=3.2.3<3.22.0
Microsoft Windows

Event History

Jan 29, 2025
CVE Published
via MITRE·05:46 PM
Data Sourced
via MITRE·05:46 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:15 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:15 PM
RemedyAffected Software
Advisory Published
via GitHub·06:41 PM

Frequently Asked Questions

1

What is the severity of CVE-2025-24789?

CVE-2025-24789 has a high severity rating due to the potential for privilege escalation on affected systems.

2

How do I fix CVE-2025-24789?

To fix CVE-2025-24789, update the Snowflake JDBC Driver to version 3.22.0 or later.

3

Which versions of the Snowflake JDBC Driver are affected by CVE-2025-24789?

CVE-2025-24789 affects Snowflake JDBC Driver versions from 3.2.3 to 3.21.0.

4

What types of systems are impacted by CVE-2025-24789?

CVE-2025-24789 specifically impacts systems running the Snowflake JDBC Driver on Windows when using EXTERNALBROWSER authentication.

5

What actions should I take if I cannot immediately update for CVE-2025-24789?

If you cannot update, restrict write access to directories in the %PATH% to mitigate the risk associated with CVE-2025-24789.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203