{"id":"CVE-2025-24789","aliases":["CVE-2025-24789","GHSA-7hpq-3g6w-pvhf"],"related":[],"kind":"vulnerability","state":"published","title":"Snowflake JDBC allows an untrusted search path on Windows","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Issue\nSnowflake 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.\n\nThis vulnerability affects versions 3.2.3 through 3.21.0 on Windows. Snowflake fixed the issue in version 3.22.0.\n\n### Vulnerability Details\nWhen 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.\n\n### Solution\nSnowflake released version 3.22.0 of the Snowflake JDBC Driver, which fixes this issue. We recommend users upgrade to version 3.22.0.\n\n### Additional Information\nIf 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](https://hackerone.com/snowflake?type=team).","format":"markdown","source":"ghsa"},{"lang":"es","text":"Snowflake JDBC proporciona un controlador JDBC de tipo 4 que admite funciones básicas, lo que permite que el programa Java se conecte a Snowflake. Snowflake descubrió y solucionó una vulnerabilidad en el controlador JDBC de Snowflake. Cuando se utiliza el método de autenticación EXTERNALBROWSER en Windows, un atacante con acceso de escritura a un directorio en %PATH% puede escalar sus privilegios al usuario que ejecuta la versión vulnerable del controlador JDBC. Esta vulnerabilidad afecta a las versiones 3.2.3 a 3.21.0 en Windows. Snowflake solucionó el problema en la versión 3.22.0.","source":"nvd"}],"published":"2025-01-29T17:46:20.985Z","modified":"2026-09-10T03:50:56.369Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-426"],"affected":[{"ranges":[{"version":">= 3.2.3, < 3.22.0","status":"affected"}],"vendor":"snowflakedb","product":"snowflake-jdbc","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"3.2.3","status":"affected","fixed":"3.22.0"}],"ecosystem":"Maven","package":"net.snowflake:snowflake-jdbc","purl":"pkg:maven/net.snowflake/snowflake-jdbc","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"3.2.3","fixed":"3.22.0"}],"vendor":"snowflake","product":"snowflake_jdbc","cpe":"cpe:2.3:a:snowflake:snowflake_jdbc:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/snowflakedb/snowflake-jdbc/security/advisories/GHSA-7hpq-3g6w-pvhf","tags":["vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/snowflakedb/snowflake-jdbc/commit/4f01bb8f9b708c71e7a2111c87371dbfc1d53dd6","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-24789","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/snowflakedb/snowflake-jdbc","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-01-29T18:01:39.158Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-24789","url":"https://www.cve.org/CVERecord?id=CVE-2025-24789","licence":"CVE Terms of Use","modified":"2025-02-12T19:51:13.919Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-7hpq-3g6w-pvhf","url":"https://github.com/advisories/GHSA-7hpq-3g6w-pvhf","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:56.369Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-24789","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-24789","licence":"Public domain","modified":"2026-06-17T08:59:36.757Z"}],"updatedAt":"2026-11-25T22:58:53.668Z","epss":{"score":0.00256,"percentile":0.18445,"date":"2026-12-01T12:00:22.000Z"}}