chore(deps): sweep visual-retrieval-colpali deps (fixes accelerate CVE-2025-14925)#1922
Open
odosk wants to merge 1 commit into
Open
chore(deps): sweep visual-retrieval-colpali deps (fixes accelerate CVE-2025-14925)#1922odosk wants to merge 1 commit into
odosk wants to merge 1 commit into
Conversation
esolitos
approved these changes
May 26, 2026
…lerate CVE-2025-14925) Re-runs bump_requirements.py on visual-retrieval-colpali/src/legacy-requirements.txt on top of latest origin/master so the PR is mergeable again. The prior commit (6acd221) had drifted 4 days behind master and conflicted on starlette (Renovate's CVE bump 0.49.1 -> 1.0.1 hit master between approval and now). Resetting the branch to origin/master and re-running the canonical flat-pin helper yields a single clean commit with 126 bumps, no downgrades, no added or removed packages. CVE coverage on this file is unchanged from #1922's approved state: accelerate -> 1.13.0 CVE-2025-14925 (HuggingFace accelerate deserialization RCE) — fix version 1.10.1+ transformers -> 5.9.0 >= CVE-2025-14920 firstPatched 5.0.0rc3; CVE-2026-4372 absent at >=5.0.0 per OSV torch -> 2.12.0 keeps the prior bump colpali-engine -> 0.3.16 vidore-benchmark -> 5.0.0 starlette -> 1.2.0 >= master's 1.0.1 (CVE fix); no regression Pillow stays at 12.2.0 (already past CVE-2026-40192 / -42311 / -25990 fix version — those Mend rows on this repo are stale-in-Mend FPs). The approved review on the prior head will likely be dismissed by this force-push. Re-approval needed before merge. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
6acd221 to
893cd5b
Compare
Contributor
Author
|
Rebased onto latest master and re-ran the flat-pin sweep — the prior head (6acd221) had drifted 4 days behind and conflicted on starlette (Renovate's CVE bump 0.49.1 → 1.0.1 landed on master after approval). Reset the branch and regenerated produces 126 bumps, no downgrades, no added/removed packages; CVE coverage on this file is unchanged. The new head still reads — posted by Claude (security-workflow skill, R22 carve-out for approved + conflicting PRs). |
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
Full flat-pin sweep on
visual-retrieval-colpali/src/legacy-requirements.txtviabump_requirements.py(125 packages updated). The CVE-relevant bumps:accelerate:0.34.2→1.13.0— clears CVE-2025-14925 (HuggingFace Accelerate deserialization RCE).transformers:5.0.0→5.9.0— clears CVE-2025-14920 (firstPatched: 5.0.0rc3) and CVE-2026-4372 (no longer present at ≥5.0.0 per OSV.dev).torch:2.11.0→2.12.0colpali-engine:0.3.1→0.3.16(no Mend CVE on this directly; bumped for resolver coherence)vidore-benchmark:4.0.0→5.0.0Changed Files
visual-retrieval-colpali/src/legacy-requirements.txt— 125 pin updates via thebump_requirements.pyhelper.hypencoder/requirements.txtis intentionally untouched. Its dep set is expressed as range constraints, not exact pins, and is documented as needing a hard upstream cap (transformers<5) for Hypencoder checkpoint compat. See Cannot fix below.CVEs Addressed
Verified against OSV.dev / NVD:
hypencoder/transformers @ 4.57.6(constraint>=4.45,<5).from_pretrained()rejects. Constraint documented inline inhypencoder/requirements.txt. Lifting it would require a checkpoint or upstream Hypencoder fix — out of scope.Mend's snapshot of
visual-retrieval-colpali/src/legacy-requirements.txtis stale — it lists three pillow CVEs againstpillow-10.4.0, but the file on current master pinspillow==12.2.0(since prior sweeps), and12.2.0patches all three:pillow-10.4.0invisual-retrieval-colpali/src/legacy-requirements.txt(CVE-2026-40192, -42311, -25990)pillow==12.2.0; 12.2.0 patches all three CVEs per OSV. Mend's project snapshot is stale on this file.Implementation Notes
legacy-requirements.txtwas bumped directly; this is how the repo treats it (it's installed viapip install -r legacy-requirements.txt, bypassing the pyproject resolver). The header comment# This file was autogenerated by uv via the following commandis no longer accurate — the file diverges from whatuv pip compile pyproject.tomlwould produce because the pyproject's hard pins (transformers==5.0.0,colpali-engine==0.3.1,uvicorn==0.38.0) are stale. This is pre-existing repo state, not introduced here.Verification
bump_requirements.pyreports125 bumped, 0 errors.grep '^accelerate==' visual-retrieval-colpali/src/legacy-requirements.txt→accelerate==1.13.0.🤖 Generated with Claude Code (security-workflow skill)