{"id":"CVE-2025-24789","summary":"Snowflake JDBC allows an untrusted search path on Windows","details":"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.","aliases":["GHSA-7hpq-3g6w-pvhf"],"modified":"2026-08-12T15:13:21.265240Z","published":"2025-01-29T17:46:20.985Z","related":["CGA-9mx8-p2j2-33wj"],"database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-426"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/24xxx/CVE-2025-24789.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/24xxx/CVE-2025-24789.json"},{"type":"ADVISORY","url":"https://github.com/snowflakedb/snowflake-jdbc/security/advisories/GHSA-7hpq-3g6w-pvhf"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-24789"},{"type":"FIX","url":"https://github.com/snowflakedb/snowflake-jdbc/commit/4f01bb8f9b708c71e7a2111c87371dbfc1d53dd6"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/snowflakedb/snowflake-jdbc","events":[{"introduced":"fa0610409db0fe3651993fa80c184478e1e8a6a7"},{"fixed":"ebb315c4a01b18e571cff086d67aff33def10400"},{"fixed":"4f01bb8f9b708c71e7a2111c87371dbfc1d53dd6"}],"database_specific":{"extracted_events":[{"introduced":"3.2.3"},{"fixed":"3.22.0"}],"source":["CPE_RANGE","REFERENCES"],"cpe":"cpe:2.3:a:snowflake:snowflake_jdbc:*:*:*:*:*:*:*:*"}}],"versions":["v3.17.0","v3.18.0","v3.20.0","v3.21.0","v3.19.1","v3.19.0","v3.13.21","3.13.21","v3.13.33","v3.16.1","v3.16.0","v3.15.1","v3.15.0","v3.14.5","v3.14.4","v3.14.3","v3.14.2","v3.14.1","v3.14.0","v3.13.32","v3.13.31","v3.13.30","v3.13.29","v3.13.28","v3.13.27","v3.13.26","v3.13.25","v3.13.24","v3.13.23","v3.13.22","3.13.22","v3.13.20","v3.13.19","v3.13.18","v3.13.17","v3.13.16","v3.13.15","v3.13.14","v3.13.12","v3.13.13","v3.13.10","v3.13.9","v3.13.8","v3.13.7","v3.13.6","v3.13.5","v3.13.4","v3.13.3","v3.13.2","v3.13.1","v3.13.0","v3.12.16","v3.11.0","v3.12.14","v3.12.12","v3.12.11","v3.10.0","v3.12.9","v3.6.28","v3.12.7","v3.12.6","v3.12.5","v3.12.4","v3.12.3","v3.12.2","v3.12.1","v3.12.0","v3.11.1","v3.10.3","v3.10.2","v3.10.1","v3.9.2","v3.9.1","v3.9.0","v3.8.8","v3.8.7","v3.8.6","v3.8.5","v3.8.4","v3.8.3","v3.8.2","v3.8.1","v3.8.0","v3.7.2","v3.7.1","v3.7.0","v3.6.27","v3.6.26","v3.6.25","v3.6.24","v3.6.23","v3.6.21","v3.6.20","v3.6.19","v3.6.18","v3.6.17","v3.6.15","v3.6.14","v3.6.13","v3.6.11","v3.6.10","v3.6.9","v3.6.8","v3.6.6","v3.6.5","v3.6.4","v3.6.3","v3.6.2","v3.6.1","v3.6.0","v3.5.5","v3.5.4","v3.5.3","v3.5.2","v3.5.0","v3.4.3","v3.4.2","v3.4.1","v3.4.0","v3.3.3","v3.3.2","v3.3.1","v3.3.0","v3.2.7","v3.2.6","v3.2.5","v3.2.4","v3.2.3"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-24789.json","vanir_signatures_modified":"2026-08-12T15:13:21Z","vanir_signatures":[{"id":"CVE-2025-24789-2d28c7fd","signature_type":"Line","signature_version":"v1","source":"https://github.com/snowflakedb/snowflake-jdbc/commit/4f01bb8f9b708c71e7a2111c87371dbfc1d53dd6","target":{"file":"src/main/java/net/snowflake/client/core/SessionUtilExternalBrowser.java"},"deprecated":false,"digest":{"line_hashes":["99699074694981551781387911331014660298","153490221409874737269176603615242611930","300090657058709668740202093872294213867","85938648607449398519901793847835674715","101520406633822450953099633071472614855","102117943270625878051375214382687957320","107217491475357868728036112443553019596","13077181590231191622308214769401471836","216888110030286258478481353643374478454","158452615844006687287476508164377829324","245807656535790414223160071499239377567","178942967189889015507249758853720913693","297153503046295235199993267981906617238","334592464747736264696807599225836728038","105834777571415904253780896376193086073","63609182954769541472980690100511477777","78210358694716845738786919833904235100","163450970996774497134008252198793650204","173647997530291740217359429465323489075","192893631769023370080788693345609811127","281236855596367116077451460382128134936","217717282008116229527355030939455651635","92776154069578780921090975422045032274","210138913660295707146258681620638959503"],"threshold":0.9}},{"source":"https://github.com/snowflakedb/snowflake-jdbc/commit/4f01bb8f9b708c71e7a2111c87371dbfc1d53dd6","target":{"file":"src/main/java/net/snowflake/client/core/SessionUtilExternalBrowser.java","function":"openBrowser"},"deprecated":false,"digest":{"function_hash":"61201430305263953140884325533869509754","length":660},"id":"CVE-2025-24789-345429f6","signature_type":"Function","signature_version":"v1"},{"signature_type":"Line","signature_version":"v1","source":"https://github.com/snowflakedb/snowflake-jdbc/commit/ebb315c4a01b18e571cff086d67aff33def10400","target":{"file":"src/main/java/net/snowflake/client/jdbc/SnowflakeDriver.java"},"deprecated":false,"digest":{"line_hashes":["163462292315131043009619918423020661552","172755071904979632887942217402952396872","324038985784841644452231720853664589211","186511955661388583231338465135382544632"],"threshold":0.9},"id":"CVE-2025-24789-e1762ab4"}]}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}