Skip to content

Commit 11afff1

Browse files
andriy-sudoclaude
andauthored
fix(security): bump python-dotenv 1.2.1->1.2.2, suppress langchain-text-splitters SSRF (ENG-14769/14677) (#28)
- python-dotenv >=1.2.2 floor pin (CVE-2026-28684 — symlink file overwrite) - osv-scanner.toml: suppress GHSA-fv5p-p927-qmxr (langchain-text-splitters SSRF; fix requires 1.1.2 which needs langchain-core>=1.2.31, incompatible with langchain-community 0.3.x ecosystem) Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 53b4898 commit 11afff1

3 files changed

Lines changed: 11 additions & 5 deletions

File tree

langchain/poetry.lock

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

langchain/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ orjson = ">=3.11.6"
3333
requests = ">=2.33.0"
3434
pygments = ">=2.20.0"
3535
aiohttp = ">=3.13.5"
36+
python-dotenv = ">=1.2.2"
3637

3738
[tool.ruff.lint]
3839
select = ["E", "F", "I", "T201"]

osv-scanner.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
[[IgnoredVulns]]
2+
id = "GHSA-fv5p-p927-qmxr"
3+
ignoreUntil = "2026-07-24T00:00:00Z"
4+
reason = "langchain-text-splitters SSRF redirect bypass in HTMLHeaderTextSplitter.split_text_from_url (MEDIUM). Fix requires langchain-text-splitters>=1.1.2 which requires langchain-core>=1.2.31 — a breaking major change. langchain-community 0.3.x hard-constrains langchain-core<1.0.0, making a semver-compatible upgrade impossible. HTMLHeaderTextSplitter is not used by langchain-agentql. Related: ENG-14677."
5+
16
[[IgnoredVulns]]
27
id = "GHSA-2g6r-c272-w58r"
38
ignoreUntil = "2026-06-15T00:00:00Z"

0 commit comments

Comments
 (0)