-
Notifications
You must be signed in to change notification settings - Fork 8.3k
fix(deps): raise snowflake-connector-python floor for CVE-2026-15925 #7186
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -231,6 +231,10 @@ exclude-newer-package = { pypdf = "2026-08-07T00:00:00Z", msgpack = "2026-06-20T | |
| # qdrant-client -> httpx[http2]. | ||
| # torch <=2.12.1 has GHSA-rrmf-rvhw-rf47 (CVE-2025-3000): memory corruption in | ||
| # torch.jit.script; fixed in 2.13.0. Transitive via docling/unstructured extras. | ||
| # snowflake-connector-python >=4.0.0,<4.7.1 has GHSA-5cc2-282f-jjq2 (CVE-2026-15925): | ||
| # TLS hostnames are not verified, so a network attacker can impersonate the endpoint; | ||
| # fixed in 4.7.1. Declared as crewai-tools[snowflake] "snowflake-connector-python>=3.12.4", | ||
| # which the lock resolved to 4.6.0. | ||
| # Keep OpenAI on the SDK range required by CrewAI when transitive dependencies | ||
| # loosen or pin their own lower versions. | ||
| override-dependencies = [ | ||
|
|
@@ -263,6 +267,7 @@ override-dependencies = [ | |
| "nltk>=3.10.3", | ||
| "h2>=4.4.1", | ||
| "torch>=2.13.0", | ||
| "snowflake-connector-python>=4.7.1", | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🔒 Security & Privacy | 🟠 Major | ⚡ Quick win 🧩 Analysis chain🏁 Script executed: #!/bin/bash
set -euo pipefail
# Verify the workspace metadata and the resolved lock version.
fd -HI -t f '^pyproject\.toml$' -x \
rg -n -C 4 'snowflake-connector-python|optional-dependencies|snowflake' {}
rg -n -C 4 'name = "snowflake-connector-python"|version = "4\.7\.[12]"' uv.lockRepository: crewAIInc/crewAI Length of output: 1828 Security Misconfiguration (CWE-1395) Reachability: External · Exploitability: Moderate Raise the Snowflake dependency floor in published metadata. The optional dependency remains 🤖 Prompt for AI AgentsSource: MCP tools |
||
| ] | ||
|
|
||
| [tool.uv.workspace] | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win
🔎 Supported by static analysis
🏁 Script executed:
Repository: crewAIInc/crewAI
Length of output: 23029
🌐 Web query:
GHSA-5cc2-282f-jjq2 snowflake-connector-python affected versions 3.18.1 4.7.1💡 Result:
GHSA-5cc2-282f-jjq2 (also tracked as CVE-2026-15925) is a security vulnerability in the snowflake-connector-python package involving improper TLS hostname verification [1][2]. This vulnerability allowed a network-positioned attacker to bypass certificate hostname validation on HTTPS connections, potentially exposing credentials, query data, and staged file contents, or enabling the execution of arbitrary SQL within the victim's session [1][3]. The fix for this vulnerability was released in versions 3.18.1 and 4.7.1 [4][5]. The affected versions are: - Versions prior to 3.18.1 (specifically those in the 3.x branch starting from 3.17.4) [2][3] - Versions prior to 4.7.1 (specifically those in the 4.x branch starting from 4.0.0) [2][3] Users are strongly advised to manually upgrade to version 3.18.1, 4.7.1, or a later version to remediate this issue [6][4][5].
Citations:
🏁 Script executed:
Repository: crewAIInc/crewAI
Length of output: 10867
🌐 Web query:
site:github.com/advisories/GHSA-5cc2-282f-jjq2 "3.17.4" "4.7.1"💡 Result:
The versions 3.17.4 and 4.7.1 are associated with the Snowflake Connector for Python [1]. Specifically, version 4.7.1 was released to address a security vulnerability identified as CVE-2026-15925 [1]. This vulnerability involved improper TLS hostname verification in versions of the connector prior to 4.7.1, which could have allowed an on-path attacker to intercept traffic and bypass certificate validation [1]. Users running versions affected by this vulnerability, which includes versions like 3.17.4, are advised to manually upgrade to version 4.7.1 or later to remediate the issue [1].
Citations:
Document both affected version ranges. The
snowflakeextra allows3.17.4 <= version < 3.18.1and4.0.0 <= version < 4.7.1, which the advisory identifies as affected. State both fixed versions:3.18.1and4.7.1.🤖 Prompt for AI Agents
Source: MCP tools