Fix security vulnerabilities in langchain-core and requests#1
Open
samuBe wants to merge 2 commits into
Open
Conversation
…ities - langchain-core 0.2.0 -> 1.2.22 (CVE-2026-34070, path traversal, HIGH) - langchain 0.2.0 -> 1.2.13 (compatibility with new langchain-core) - langchain-community 0.2.0 -> 0.4.1 (compatibility) - langchain-text-splitters 0.2.0 -> 1.1.1 (compatibility) - requests 2.31.0 -> 2.33.0 (CVE-2026-25645, insecure temp file, MEDIUM) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Remove unused LLMChain import (removed in langchain 1.x) - Move CommaSeparatedListOutputParser import to langchain_core.output_parsers Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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
langchain-corefrom 0.2.0 to 1.2.22 to fix CVE-2026-34070 (Path Traversal vulnerability, HIGH severity)requestsfrom 2.31.0 to 2.33.0 to fix CVE-2026-25645 (Insecure Temp File Reuse, MEDIUM severity)langchain1.2.13,langchain-community0.4.1,langchain-text-splitters1.1.1main.pyimports: remove unusedLLMChainimport (removed in langchain 1.x), moveCommaSeparatedListOutputParsertolangchain_core.output_parsersSecurity Advisories
load_promptfunctionsextract_zipped_paths()Test plan
streamlit run main.py)🤖 Generated with Claude Code