CVE-2026-15925: Snowflake connector python Snowflake Connector For Python Improperly Vulnerability
CRITICALCVE-2026-15925 is a CRITICAL snowflake connector for python improperly vulnerability (CWE-297: Improper Validation of Certificate with Host Mismatch) affecting Snowflake connector python libraries in the PyPI ecosystem. The issue involves snowflake connector for python improperly verifies tls hostnames. Remediation is available by upgrading affected packages to version 3.18.1, 4.7.1.
CVE-2026-15925 at a Glance
How to Fix CVE-2026-15925
To remediate this vulnerability, upgrade all affected Snowflake connector python dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install snowflake-connector-python>=3.18.1
pip install snowflake-connector-python>=4.7.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show snowflake-connector-python
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2026-15925, inspect your installed packages using pip:
pip show snowflake-connector-python
Analyze the terminal output to locate any version of Snowflake connector python in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.18.1), your application is affected.
Note: The pip show snowflake-connector-python command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-297: Improper Validation of Certificate with Host Mismatch, where the product communicates with a host that provides a certificate, but the product does not properly ensure that the certificate is actually associated with that host. In Snowflake connector python, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-15925 Affected Snowflake connector python Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
snowflake-connector-python
|
PyPI |
< 3.18.1
|
3.18.1
|
|
snowflake-connector-python
|
PyPI |
≥ 4.0.0
< 4.7.1
|
4.7.1
|
References
Frequently Asked Questions
What is CVE-2026-15925?
Which Snowflake connector python versions are affected?
What version fixes CVE-2026-15925?
Is snowflake-connector-python affected?
What CWE is associated with CVE-2026-15925?
How can I check PyPI dependencies for CVE-2026-15925?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-5cc2-282f-jjq2",
"modified" : "2026-08-31T22:35:14Z",
"published" : "2026-07-16T09:32:17Z",
"aliases" : [ "CVE-2026-15925" ],
"summary" : "Snowflake Connector for Python improperly verifies TLS hostnames",
"details" : "Improper TLS hostname verification in Snowflake Connector for Python versions prior to 4.7.1 and 3.18.1 may have allowed a network-positioned attacker to bypass certificate hostname validation on HTTPS connections made by the connector. An attacker with on-path network access could exploit this by intercepting or redirecting network traffic and presenting a certificate signed by any trusted CA for any domain, causing the connector to accept connections without validating that the certificate matched the requested hostname. Successful exploitation requires an on-path traffic interception capability (e.g. ARP/DNS poisoning, rogue access point, BGP hijacking, or malicious proxy/exit node). This vulnerability may have exposed credentials, query data, and staged file contents to interception and tampering, and may have enabled the attacker to issue arbitrary SQL within the context of the victim's connector session. Impact is limited by the privileges of the affected Snowflake role. The fix is available in Snowflake Connector for Python versions 4.7.1 and 3.18.1. Users must manually upgrade.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "snowflake-connector-python"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.18.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "snowflake-connector-python"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.0.0"
}, {
"fixed" : "4.7.1"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-15925"
}, {
"type" : "WEB",
"url" : "https://github.com/snowflakedb/snowflake-connector-python/commit/8969d6dc027092ee868965db022478b6c0fa40a1"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/snowflakedb/snowflake-connector-python"
}, {
"type" : "WEB",
"url" : "https://github.com/snowflakedb/snowflake-connector-python/releases/tag/v3.18.1"
}, {
"type" : "WEB",
"url" : "https://github.com/snowflakedb/snowflake-connector-python/releases/tag/v4.7.1"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-297" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2026-08-31T22:35:14Z",
"nvd_published_at" : "2026-07-16T07:16:47Z"
}
}