{"id":"CVE-2025-27496","summary":"Snowflake JDBC Driver client-side encryption key in DEBUG logs","details":"Snowflake, a platform for using artificial intelligence in the context of cloud computing, has a vulnerability in the Snowflake JDBC driver (\"Driver\") in versions 3.0.13 through 3.23.0 of the driver. When the logging level was set to DEBUG, the Driver would log locally the client-side encryption master key of the target stage during the execution of GET/PUT commands. This key by itself does not grant access to any sensitive data without additional access authorizations,  and is not logged server-side by Snowflake. Snowflake fixed the issue in version 3.23.1.","aliases":["GHSA-q298-375f-5q63"],"modified":"2026-08-12T14:52:33.439446Z","published":"2025-03-13T19:01:33.295Z","related":["CGA-5hpj-pg49-4gfp"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/27xxx/CVE-2025-27496.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-532"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/27xxx/CVE-2025-27496.json"},{"type":"ADVISORY","url":"https://github.com/snowflakedb/snowflake-jdbc/security/advisories/GHSA-q298-375f-5q63"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-27496"},{"type":"FIX","url":"https://github.com/snowflakedb/snowflake-jdbc/commit/ef81582ce2f1dbc3c8794a696c94f4fe65fad507"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/snowflakedb/snowflake-jdbc","events":[{"introduced":"37fb56766dbcf304bfd9324dac334123be6b2007"},{"fixed":"bf16c4a099e56b6938ccd954681b124d3adeefd5"},{"fixed":"ef81582ce2f1dbc3c8794a696c94f4fe65fad507"}],"database_specific":{"cpe":"cpe:2.3:a:snowflake:snowflake_jdbc:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"3.0.13"},{"fixed":"3.23.1"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["v3.17.0","v3.18.0","v3.20.0","v3.21.0","v3.22.0","v3.23.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","v3.2.2","v3.2.1","v3.2.0","v3.1.1","v3.1.0","v3.0.21","v3.0.20","v3.0.19","v3.0.18","v3.0.17","v3.0.16","v3.0.15","v3.0.14","v3.0.13"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-27496.json","vanir_signatures_modified":"2026-08-12T14:52:33Z","vanir_signatures":[{"target":{"file":"src/test/java/net/snowflake/client/util/SecretDetectorTest.java"},"deprecated":false,"digest":{"line_hashes":["158023756002892986376210159853145184043","272690835264833104451498613639574631613"],"threshold":0.9},"id":"CVE-2025-27496-3bea7516","signature_type":"Line","signature_version":"v1","source":"https://github.com/snowflakedb/snowflake-jdbc/commit/ef81582ce2f1dbc3c8794a696c94f4fe65fad507"},{"target":{"file":"src/main/java/net/snowflake/client/jdbc/SnowflakeFileTransferAgent.java","function":"parseCommandInGS"},"deprecated":false,"digest":{"function_hash":"237975492394291871509921333486950650316","length":470},"id":"CVE-2025-27496-5c2e61f6","signature_type":"Function","signature_version":"v1","source":"https://github.com/snowflakedb/snowflake-jdbc/commit/ef81582ce2f1dbc3c8794a696c94f4fe65fad507"},{"signature_type":"Line","signature_version":"v1","source":"https://github.com/snowflakedb/snowflake-jdbc/commit/ef81582ce2f1dbc3c8794a696c94f4fe65fad507","target":{"file":"src/main/java/net/snowflake/client/util/SecretDetector.java"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["14850864510599380832621476614014088531","176886968517307085086192309817993428126","282361796916280988540234336655560539084","122954836223329039247883955304364862777","1481910811414032351256690958105506369","323636132194624915994907427121223917161","118230845301602428611742272574461677692","176991439462914864374062027367818665901","234336993407596980450944883320320563320","165740908587491805001087916523090134487"]},"id":"CVE-2025-27496-6002296c"},{"target":{"file":"src/main/java/net/snowflake/client/util/SecretDetector.java","function":"maskSecrets"},"deprecated":false,"digest":{"function_hash":"202097965115584435742278324065516612252","length":127},"id":"CVE-2025-27496-7477532c","signature_type":"Function","signature_version":"v1","source":"https://github.com/snowflakedb/snowflake-jdbc/commit/ef81582ce2f1dbc3c8794a696c94f4fe65fad507"},{"id":"CVE-2025-27496-b90ac40e","signature_type":"Line","signature_version":"v1","source":"https://github.com/snowflakedb/snowflake-jdbc/commit/ef81582ce2f1dbc3c8794a696c94f4fe65fad507","target":{"file":"src/main/java/net/snowflake/client/jdbc/SnowflakeFileTransferAgent.java"},"deprecated":false,"digest":{"line_hashes":["55091043553161822764003362932965854696","90099098380919243543607092848555463003","282728738826450803212419938852542786956","189402425676898320006395606676801370287","53826491034780492123043742101433917548","337337387755609992759506962000791249578","326618887255551099025263563259090202679","12331002050842794351220640814564978872"],"threshold":0.9}}]}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"}]}