Skip to content

Commit 419090e

Browse files
committed
fix(security): update pyproject.toml langgraph and langchain to secure versions
- Updated langgraph>=0.1.0 to langgraph>=1.0.5 (fixes CVE-2025-8709) - Updated langchain>=0.1.0 to langchain>=0.1.11 (fixes CVE-2024-28088) - This was the missing piece causing security scanners to flag langgraph as high risk - pyproject.toml was allowing vulnerable versions All dependency files now consistently specify secure minimum versions: - requirements.txt: langgraph>=1.0.5, langchain-core>=1.2.6 - requirements.lock: langgraph==1.0.5, langchain-core==1.2.6 - requirements.docker.txt: langgraph>=1.0.5, langchain-core>=1.2.6 - pyproject.toml: langgraph>=1.0.5, langchain>=0.1.11
1 parent 48c8dc6 commit 419090e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ dependencies = [
2323
"fastapi>=0.104.0",
2424
"uvicorn[standard]>=0.24.0",
2525
"pydantic>=2.0.0",
26-
"langchain>=0.1.0",
27-
"langgraph>=0.1.0",
26+
"langchain>=0.1.11", # Security: CVE-2024-28088 fixed in 0.1.11+. Note: We use langchain-core>=1.2.6 directly (includes CVE-2025-68664 fix)
27+
"langgraph>=1.0.5", # Security: CVE-2025-8709 fixed in 1.0.5+ (includes fix). Note: We use in-memory state (no SQLite checkpoint) as additional defense
2828
"psycopg[binary]>=3.1.0",
2929
"redis>=5.0.0",
3030
"pymilvus>=2.3.0",

0 commit comments

Comments
 (0)