GO-2026-6665: Sensitive information written to logs by Snowflake drivers
Insertion of sensitive information into log files in the Snowflake Python, Go, JDBC, Node.js, PHP PDO, and ODBC drivers allowed authentication tokens, query-result encryption keys, pre-signed cloud-storage URLs, and SAML assertions to be written to diagnostic logs in circumstances where the available log redaction did not cover all affected log paths and data types. An attacker with read access to the log destination, whether the local filesystem, a log aggregation service, or a CI/CD artifact store, could obtain credentials and decryption keys that, if still valid at the time of access, could be used to authenticate to the corresponding Snowflake account or cloud-storage object. Successful exploitation requires read access to the log destination, and impact is bounded by credential lifetime and object scope. The fix is available in Snowflake Connector for Python v4.7.3, Snowflake Go Driver v2.2.0, Snowflake JDBC Driver v4.3.4 (including the snowflake-jdbc-fips and snowflake-jdbc-thin), Snowflake Node.js Driver v3.3.0, Snowflake PHP PDO Driver v4.2.0, and Snowflake ODBC Driver v3.20.0. Users must manually upgrade and should securely delete previously generated diagnostic logs containing sensitive information where retention is not required.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Snowflake Connector for Pythonto a version that resolves this vulnerability.Fixed in 4.7.3 - Upgrade
Upgrade
Snowflake Go Driverto a version that resolves this vulnerability.Fixed in 2.2.0 - Upgrade
Upgrade
Snowflake JDBC Driver (including snowflake-jdbc-fips and snowflake-jdbc-thin)to a version that resolves this vulnerability.Fixed in 4.3.4 - Upgrade
Upgrade
Snowflake Node.js Driverto a version that resolves this vulnerability.Fixed in 3.3.0 - Upgrade
Upgrade
Snowflake PHP PDO Driverto a version that resolves this vulnerability.Fixed in 4.2.0 - Upgrade
Upgrade
Snowflake ODBC Driverto a version that resolves this vulnerability.Fixed in 3.20.0 - Operational
Securely delete previously generated diagnostic logs containing sensitive information where retention is not required.
Event History
Frequently Asked Questions
Who is exposed to this issue?
Deployments using the affected Snowflake Python, Go, JDBC, Node.js, PHP PDO, or ODBC drivers are exposed when diagnostic logs are generated and readable from a local filesystem, log aggregation service, or CI/CD artifact store.
What access does an attacker need?
An attacker needs read access to the destination where diagnostic logs are stored. They do not need to alter the application or the Snowflake driver to obtain data already written to those logs.
What should be done if diagnostic logs may already exist?
Manually upgrade the affected driver and securely delete previously generated diagnostic logs that may contain sensitive data. Review all relevant log destinations, including local hosts, centralized logging platforms, and CI/CD artifacts.
What is the potential impact of exposed log data?
Exposed data can include authentication tokens, query-result encryption keys, pre-signed cloud-storage URLs, and SAML assertions. Usability of the exposed credentials is limited by their remaining validity period and, for cloud-storage URLs, the scope of the referenced object.
Which driver versions contain the fix?
The fixes are available in Snowflake Connector for Python 4.7.3, Snowflake Go Driver 2.2.0, Snowflake JDBC Driver 4.3.4 including the FIPS and thin variants, Snowflake Node.js Driver 3.3.0, Snowflake PHP PDO Driver 4.2.0, and Snowflake ODBC Driver 3.20.0.