fix(deps): bump locked deps to resolve CVEs (HIGH + moderate)#569
Open
joerg84 wants to merge 1 commit into
Open
fix(deps): bump locked deps to resolve CVEs (HIGH + moderate)#569joerg84 wants to merge 1 commit into
joerg84 wants to merge 1 commit into
Conversation
Refresh uv.lock and poetry.lock to clear known vulnerabilities in transitive dev dependencies. Notably resolves the HIGH-severity CVE-2026-44843 (langchain-core overly broad deserialization allowlist) along with moderate CVEs in langgraph, langsmith, python-dotenv, requests, and a low-severity SSRF in langchain-core image token counting. uv.lock: langchain 1.2.7 -> 1.2.18, langchain-core 1.2.7 -> 1.3.3, langgraph 1.0.7 -> 1.1.10, langsmith 0.6.6 -> 0.8.3, python-dotenv 1.2.1 -> 1.2.2, requests 2.32.5 -> 2.33.1. poetry.lock: langchain-core 0.3.83 -> 0.3.86 (HIGH fix in the 0.3.x patch line), langsmith 0.3.45 -> 0.8.3, python-dotenv 1.0.1 -> 1.2.2, requests 2.32.3 -> 2.33.1. Co-Authored-By: Claude Opus 4.7 <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
Refresh
uv.lockandpoetry.lockto clear known CVEs in transitive dev dependencies.pyproject.tomlis unchanged — only the resolved lockfile versions move within their existing constraints.Resolved vulnerabilities
load_prompt(0.3.x fix is 0.3.85+)extract_zipped_pathstmp predictabilityVersion bumps
uv.lock(uv lock --upgrade):poetry.lock(poetry update --lock, staying withinlangchain = \"^0.3.21\"):Verification
pip-auditon both updated lockfiles:uv.lock: 0 vulnerabilitiespoetry.lock: only 1 remaining —langchain-text-splitters0.3.11 / CVE-2026-41481 (MEDIUM, SSRF redirect bypass). Fix requires bumpinglangchain = \"^0.3.21\"→^1.2.x, which is out of scope for a pure lockfile refresh.Not addressed (follow-up)
learn/generation/langchain/langgraph/02-ollama-langgraph-agent/poetry.lockhas 2 CRITICAL + 9 HIGH Dependabot alerts (h11, langchain-core, langgraph-checkpoint, langchain-text-splitters, orjson, tornado, urllib3). Itspyproject.tomlhard-pins old versions (langchain = \"0.2.12\",langchain-core = \"0.2.43\",langgraph = \"0.2.3\"), so fixing those alerts requires manifest changes and notebook re-testing — best handled separately.Test plan
pip-auditon the updateduv.lock(0 vulns)pip-auditon the updatedpoetry.lock(only 1 medium remains, out of scope)🤖 Generated with Claude Code
Note
Low Risk
Lockfile-only dependency bumps; low behavioral risk beyond possible environment/CI breakage from updated transitive packages.
Overview
Refreshes resolved dependency versions by updating only the lockfiles (
uv.lock,poetry.lock) to pick up patched releases for several reported CVEs.pyproject.tomlconstraints remain unchanged; the PR is strictly a lockfile refresh, so impact is limited to updated transitive (and some direct) pinned versions used in installs/CI.Reviewed by Cursor Bugbot for commit 67d11a1. Bugbot is set up for automated code reviews on this repo. Configure here.