chore(deps): upgrade pinecone 7 + aiohttp 3.14 to close transitive HTTP CVEs#512
Closed
stuartc wants to merge 1 commit into
Closed
chore(deps): upgrade pinecone 7 + aiohttp 3.14 to close transitive HTTP CVEs#512stuartc wants to merge 1 commit into
stuartc wants to merge 1 commit into
Conversation
…TP CVEs Bump langchain-pinecone 0.2.2 -> ^0.2.13 and pinecone SDK 5.4.2 -> 7.3.0, which drops langchain-pinecone's aiohttp<3.11 cap and lets aiohttp advance 3.10.11 -> 3.14.1 (the security target). Closes 21 aiohttp Dependabot alerts. No source changes required: the pinecone APIs in use (Pinecone(api_key=), .Index(), list_indexes(), ServerlessSpec) are stable across v5->v7 and both create_index() call sites already use keyword args. langchain-core held at 0.3.x (its 1.x migration is a separate PR). Lock also sheds unused test-only transitive deps (pytest-asyncio/-socket/-benchmark, vcrpy, langchain-tests) that were free-riding via the old pinecone pin.
This was referenced Jun 8, 2026
Collaborator
|
Done in release 1.3.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Short Description
Bumps
langchain-pinecone(0.2.2 → 0.2.13) and thepineconeSDK (5.4.2 → 7.3.0) so we can finally moveaiohttpoff 3.10. That clears a big batch of transitive aiohttp HTTP CVEs.We don't have Dependabot PRs configured, so I'm linking the alerts directly — this closes the 21 aiohttp ones (table at the bottom).
Implementation Details
The actual blocker was
langchain-pinecone 0.2.2, which hard-pinnedaiohttp<3.11— so none of the patched aiohttp releases could even resolve. Bumping langchain-pinecone drops that cap (it moved topinecone[asyncio]>=6), which in turn pulls the pinecone SDK up to 7.x and lets aiohttp go to 3.14.1, which is the real security target here.No source changes were needed. The pinecone APIs we actually use (
Pinecone(api_key=...),.Index(),list_indexes(),ServerlessSpec) are stable across v5→v7, and bothcreate_index()calls already use keyword args (that's the one signature change in v7).I kept
langchain-coreon 0.3.x on purpose — the 1.x migration is a separate PR further up this stack. The lock also sheds a pile of unused test-only transitives (pytest-asyncio, pytest-socket, vcrpy, langchain-tests, etc.) that were only present because of the old pinecone pin, which is why the lock diff looks bigger than the change really is.Tested: unit suite is 9/9, and all six affected service modules import cleanly against pinecone 7.3.0. I couldn't run the live Pinecone/OpenAI smokes locally (no API keys in my checkout), so worth a quick sanity check in CI/dev before merge.
This is PR 1 of 3 in a stack — base is
main. The other two build on top: #513 (pytest 9 + urllib3 + dependabot config), then #514 (LangChain 1.x + openai SDK 2.x). Merge order: this one first, then #513, then #514.auto_decompresszip-bomb DoSProxy-Authorizationleak on cross-origin redirect\rin reason phraseAI Usage
Please disclose how you've used AI in this work (it's cool, we just want to know!):
Put together with Claude Code — agent workflows did the dependency research, the bumps, and the verification; I reviewed and drove the grouping.
You can read more details in our Responsible AI Policy