Skip to content

Commit c6b77ac

Browse files
mergify[bot]EleanorWhocdoernclaude
authored
fix(deps): bump pillow, nltk, and langchain-core for multiple CVEs (backport #6272) (#6362)
## Summary Bump minimum version constraints for pillow, nltk, and langchain-core to address multiple CVEs: | Package | Old Constraint | New Constraint | CVE(s) | |---|---|---|---| | `pillow` | `>=12.2.0` | `>=12.3.0` | CVE-2026-42311: PSD arbitrary code execution; CVE-2026-55379: BDF font DoS; CVE-2026-55380: GD image DoS; CVE-2026-54060: font file memory allocation DoS | | `nltk` | `>=3.9.4` | `>=3.10.0` | CVE-2026-54293: path traversal in `nltk.data.load()`; CVE-2026-12243: path traversal via URL-encoded separators | | `langchain-core` | (none) | `>=0.3.85` | CVE-2026-44843: insecure deserialization via overly broad object allowlists | ## Test plan - [x] `uv run pre-commit run --all-files` — all checks passed - [ ] Verify updated package versions resolve in clean install<hr>This is an automatic backport of pull request #6272 done by [Mergify](https://mergify.com). --------- Signed-off-by: Charlie Doern <cdoern@redhat.com> Co-authored-by: Eleanor Hu <145939433+EleanorWho@users.noreply.github.com> Co-authored-by: Charlie Doern <cdoern@redhat.com> Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
1 parent 87a15cf commit c6b77ac

2 files changed

Lines changed: 8 additions & 7 deletions

File tree

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,13 +95,13 @@ starter = [
9595
"langdetect",
9696
"matplotlib",
9797
"mcp>=1.23.0",
98-
"nltk>=3.9.4",
98+
"nltk>=3.10.0", # CVE-2026-54293/CVE-2026-12243: path traversal in nltk.data.load()
9999
"numpy",
100100
"ollama",
101101
"opentelemetry-exporter-otlp-proto-http",
102102
"opentelemetry-sdk",
103103
"pandas",
104-
"pillow>=12.2.0",
104+
"pillow>=12.3.0", # CVE-2026-42311: PSD RCE; CVE-2026-55379/55380/54060: font/GD DoS
105105
"psycopg2-binary",
106106
"pymilvus[milvus-lite]>=2.4.10",
107107
"pymongo",

uv.lock

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

0 commit comments

Comments
 (0)