Raw vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HCVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.
Summary
CVE-2025-24789 is a high-severity Untrusted Search Path (CWE-426) vulnerability in Snowflake Jdbc. Its CVSS base score is 7.8 (High).
Operationally, exploitation aligns with the MITRE ATT&CK technique Exploitation for Privilege Escalation (T1068); ranked at the 17th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.
The strongest mitigations our analysis identified map to CM-6 (Configuration Settings) and CM-7 (Least Functionality) — see the control section below for these in your framework.
Deeper analysis AI-assisted summary
Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.
CVE-2025-24789 is a privilege escalation vulnerability in the Snowflake JDBC Driver, a type 4 driver enabling Java programs to connect to Snowflake data warehouses. The issue arises when the EXTERNALBROWSER authentication method is used on Windows systems, allowing an attacker with write access to a directory in the system's %PATH% environment variable to execute arbitrary code as the user running the vulnerable driver. This untrusted search path flaw, classified under CWE-426, affects versions 3.2.3 through 3.21.0 exclusively on Windows platforms, with a CVSS v3.1 base score of 7.8 (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H).
A local attacker requires low privileges (PR:L) and write access to any directory listed in the %PATH% to exploit this vulnerability. By placing a malicious executable in that path, the attacker can hijack the driver's execution flow during authentication, leading to full compromise of the affected user's context, including high confidentiality, integrity, and availability impacts.
Snowflake remediated the vulnerability in version 3.22.0 of the JDBC Driver. Security practitioners should immediately upgrade to this patched version. Additional details are available in the GitHub security advisory (GHSA-7hpq-3g6w-pvhf) and the fixing commit (4f01bb8f9b708c71e7a2111c87371dbfc1d53dd6).
OWASP Top 10 for Web (2025)
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2025-0144
Vulnerability Data
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…
more
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.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise Techniques
MITRE ATT&CK v20.0
CVEs Like This One
Affected Assets
Mitigating Controls
Mitigating Controls (NIST 800-53 r5)
Our mappings, made for this CVE.
Secure baseline settings can enforce absolute, organization-controlled paths for critical resources.
Least-functionality configuration can prohibit unapproved directories or executables from being reachable via search paths.
Engineering principles such as trusted paths, complete mediation, and least privilege directly require hard-coded or validated search paths instead of external ones.
Mitigating Controls (NIST CSF 2.0)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.
Preventing execution of unauthorized code directly blocks the malicious binaries that an untrusted search path would load.
Secure development practices include avoiding or sanitizing externally influenced search paths in application code.
Hardened configuration baselines can enforce safe search paths and restrict environment variables that enable the weakness.
Mitigating Controls (ISO/IEC 27001:2022 Annex A)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.
Security testing can discover search-path issues but does not itself prevent them in production code.
A.5.22 governs the supplier relationship — monitoring compliance with agreements, reviewing service reports, conducting supplier audits — and has no technical mechanism (static analysis, code review, dynamic testing) to discover code-level implementation flaws like untrusted search paths in supplier code; this is the governance boundary, parallel to A.5.1 -> CWE-89.
Training in secure coding practices can make developers aware of the risks of relying on externally-supplied search paths (PATH, LD_PRELOAD, APPHOME) and prompt them to use absolute paths or sanitize the environment, but this is a fallible human-practice effect on a specific implementation defect, with the strongest control being code review and security testing rather than awareness.
Secure coding standards require absolute paths or integrity-checked search paths, directly mitigating CWE-426.
A.8.30 carries its effect through the secure design, coding and testing practices (8.25–8.29) its contract requires of the supplier, so a faithful implementation reduces ordinary implementation-level software CWEs like CWE-426 in delivered code, but the practice is fallible and the clause sits at its declared ceiling of `partial`.
A.8.7's application allowlisting (guidance item a) can prevent the malicious binary an attacker plants in the search path from being installed or executed, which blocks a meaningful slice of CWE-426 exploitation; however, the weakness is a code-level defect in how the target program resolves paths, and allowlisting does not reach cases where the attacker abuses existing legitimate binaries in writable directories, hijacks DLLs, or controls the search path itself through other means.