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

- Severity: High 7.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 18% of CVEs (2026-12-01)
- Published: 2025-01-29T17:46:20.985Z
- Modified: 2026-09-10T03:50:56.369Z
- Also known as: GHSA-7hpq-3g6w-pvhf
- Weaknesses: CWE-426
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- snowflakedb snowflake-jdbc: >= 3.2.3, < 3.22.0
- net.snowflake:snowflake-jdbc (Maven): from 3.2.3 before 3.22.0
- snowflake snowflake_jdbc: from 3.2.3 before 3.22.0

## Every score

- GitHub_M: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/snowflakedb/snowflake-jdbc/security/advisories/GHSA-7hpq-3g6w-pvhf> (vendor-advisory, web)
- <https://github.com/snowflakedb/snowflake-jdbc/commit/4f01bb8f9b708c71e7a2111c87371dbfc1d53dd6> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-24789> (advisory)
- <https://github.com/snowflakedb/snowflake-jdbc> (package)

## Sources

- CVE List: [CVE-2025-24789](https://www.cve.org/CVERecord?id=CVE-2025-24789), CVE Terms of Use, modified 2025-02-12
- GitHub Advisory Database: [GHSA-7hpq-3g6w-pvhf](https://github.com/advisories/GHSA-7hpq-3g6w-pvhf), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2025-24789](https://nvd.nist.gov/vuln/detail/CVE-2025-24789), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-24789 · Whole record: https://cve.day/CVE-2025-24789.json · Rebuilt by cve.day 2026-11-25T22:58:53.668Z
