Sweep 3 requirements files to latest (fixes CRITICAL sentence-transformers CVE, 3 CVEs unfixable upstream) - #1996
Merged
Merged
Conversation
…transformers CVE-2026-68770) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
odosk
marked this pull request as ready for review
August 26, 2026 06:34
radu-gheorghe
self-requested a review
August 26, 2026 06:44
radu-gheorghe
approved these changes
Aug 26, 2026
radu-gheorghe
left a comment
Contributor
There was a problem hiding this comment.
LGTM. I see that build passes as well. Merging.
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
Sweeps the three Mend-flagged requirements files to their latest resolvable PyPI versions. The headline fix is
sentence-transformers5.5.1 → 6.0.0, which resolves a CRITICAL CVE (CVE-2026-68770, CVSS 9.3): arbitrary code execution via animport_module_classtrust-gate bypass, fixed in commitae1acc3(huggingface/sentence-transformers#3807), shipped in the 6.0.0 release.Three other Mend findings in this sweep have no released upstream fix and are called out below under "Cannot fix in this PR."
Changed Files
visual-retrieval-colpali/src/legacy-requirements.txtreverse-image-search/script/requirements.txtNo changes — every entry in this file uses a floating
>=constraint (no==pins), so there is nothing for the sweep to bump.torchvision>=0.20.0already floats to the latest resolvable release (currently 0.28.0) with no upper bound.examples/agentic-streamlit-chatbot/advanced_app/requirements.txtNo package-version changes — this file has no version pins at all (
langchain_communityand its siblings are listed bare). Only a trailing-newline normalization from the sweep tool.CVEs Addressed
Implementation Notes
sentence-transformers5.5.1 → 6.0.0 is a major-version bump. Please review the 6.0.0 changelog for breaking API changes before merging, particularly around model loading/trust-gate behavior since that's the area the CVE fix touched.huggingface-hubjumped 1.18.0 → 1.28.0 andfastcorejumped 1.13.3 → 2.2.15 as side effects of the sweep — both are larger-than-patch bumps worth a second look.torchitself was not touched in this sweep (stayed at 2.13.0 inlegacy-requirements.txt; floating>=2.13.0inreverse-image-search).==pins (reverse-image-search/script/requirements.txtandexamples/agentic-streamlit-chatbot/advanced_app/requirements.txt) were run through the same sweep tool but had nothing to rewrite, since floating/unpinned requirements already resolve to latest at install time.Verification
Local test suites not run — these are demo/sample apps requiring Vespa services and model downloads; not replicable in an isolated environment. CI on this PR is the verification gate.
CI note: the
test / htmlprooferfailure (Link checker workflow) is pre-existing — the same workflow fails onmasterin its three most recent runs (2026-08-24 through 2026-08-26), unrelated to this requirements sweep.