Intel

AIKIDO-2026-572073

snowflake-connector-python is vulnerable to Improper Certificate Validation

CVE-2026-15925Published Jul 22, 2026
July 22, 2026

92

CVE Score

Critical

Improper Certificate Validation

Are you affected? Scan for Free

TL;DR

The connector substitutes the standard library ssl.SSLContext with a PyOpenSSLContext when wrapping sockets, and in the affected versions that substitution accepts the peer certificate without verifying it matches the requested hostname. A network-positioned attacker able to intercept or redirect traffic can present a certificate signed by any trusted CA for any domain and have the connector accept the connection. This exposes credentials, query data, and staged file contents to interception and tampering, and can let the attacker issue arbitrary SQL within the victim's connector session. The fix carries forward TLS version, options, and verification flags from the stdlib context and adds explicit post-handshake hostname verification.

How do I fix this?

Upgrade the snowflake-connector-python library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Versions

3.17.4 - 3.18.0

Fixed in 3.18.1

4.0.0 - 4.7.0

Fixed in 4.7.1

Background info

snowflake-connector-python is vulnerable to Improper Certificate Validation in versions 3.17.4 - 3.18.0 and 4.0.0 - 4.7.0.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea