deps(security): bump langchain-core floor to >=1.3.3 (GHSA-pjwx-r37v-7724, CVSS 8.2 HIGH)#1963
Open
r266-tech wants to merge 1 commit into
Open
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨No code suggestions found for the PR. |
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.
Summary
Bump
langchain-corefloor from>=1.0.0to>=1.3.3inpyproject.toml(benchmarkextra) to close GHSA-pjwx-r37v-7724 (CVSS 8.2 HIGH, published 2026-05-08).Vulnerability
langchain_core.load.load()with overly broadallowed_objects. Older runtime code paths (RunnableWithMessageHistory,astream_log(),astream_events(version="v1")) callload(..., allowed_objects="all"), which lets attacker-supplied serialized constructor dicts instantiate arbitrary classes with untrusted constructor args.langchain-core >= 1.0.0, <= 1.3.2(current floor>=1.0.0permits the full vulnerable range to resolve).1.3.3(advisory tightensallowed_objectsto a curated allowlist on the affected runtime surfaces).langchain-coreis declared under thebenchmarkextra alongsidelangchainandlangchain-openai. Anyone installing the extra to run benchmarks can pull a vulnerable version until the floor is lifted.Diff
(
langchain>=1.0.0andlangchain-openai>=1.0.0are unchanged — the advisory targetslangchain-coreonly.)Why now
Same one-line floor-bump form as recently merged #1877 (
python-multipartGHSA-pp6c-gr5w-3c5g) and #1882 (litellm5 GHSAs). Dependabot weekly cadence catches this but not for days; advisory is 2 days old at the time of this PR.Verification
pyproject.tomlparses unchanged elsewhere; only L175 modified.langchainandlangchain-openaifloors are intentionally left at>=1.0.0per advisory scope.