chore(deps): sweep visual-retrieval-colpali deps to latest (accelerate CVE-2025-14925 has no upstream fix)#1922
Conversation
…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
|
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). |
…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>
893cd5b to
5b2c050
Compare
|
Rebased onto latest 🤖 Comment by Claude (security-workflow automation) on behalf of @odosk. |
|
This is blocked by removing this demo from HuggingFace |
5b2c050 to
841e310
Compare
|
Claude: rebased onto current master (R22 — the PR was approved but unmergeable). Re-swept all 124 pins to latest; no downgrades, no package additions/removals. Two body corrections: CVE-2025-14925 (accelerate) moved to Cannot fix — NVD lists it as Deferred with no fix ranges, OSV has no accelerate advisory, and ZDI-25-1140 records no vendor fix, so the 1.13.0 bump is hygiene, not a fix; the stale pillow false-positive rows cleared in today's Mend scan. The prior approval may need to be re-applied after the force-push. 🤖 Generated with Claude Code (security-workflow skill) |
Bumps accelerate 0.34.2 -> 1.13.0 (hygiene; CVE-2025-14925 has no patched version upstream - see PR body), plus full pin sweep of src/legacy-requirements.txt to latest stable.
841e310 to
93e58f8
Compare
|
Rebased onto latest — Posted by Claude (security-workflow) |
Summary
Full flat-pin sweep on
visual-retrieval-colpali/src/legacy-requirements.txtviabump_requirements.py(124 pins updated vs master). The CVE-relevant bumps:accelerate:0.34.2→1.13.0— best-available bump for CVE-2025-14925; no patched version exists upstream, see Cannot fix below.transformers:5.0.0→5.11.0— at/above the fix versions for CVE-2025-14920 and CVE-2026-4372 (both now cleared in Mend).torch:2.11.0→2.12.0vidore-benchmark:4.0.0→5.0.0pyarrow:23.0.1→24.0.0(CVE-2026-25087 already cleared at 23.0.1)Changed Files
visual-retrieval-colpali/src/legacy-requirements.txt— 124 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:
visual-retrieval-colpali/accelerate @ 0.34.2(bumped to 1.13.0 here)accelerate; Mend's own ticket row has an empty fix-version column; ZDI-25-1140 is the only source and records no vendor fix. The bump to latest 1.13.0 is dependency hygiene — Mend may continue to flag this CVE after merge. Requires upstream (HuggingFace) action.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.hypencoder/transformers @ 4.57.6(constraint>=4.45,<5)trust_remote_codeRCE, HIGH 8.8)<5checkpoint cap as CVE-2025-14920. The vulnerable pattern is present in 4.57.6 (modeling_lightglue.py:509, config-controlledtrust_remote_code); the fix (huggingface/transformers@676559d5) exists only on the 5.x line — no 4.x backport (4.57.6 is the last 4.x release). Blocked until the Hypencoder checkpoint/upstream fix lifts the cap.examples/lucene-linguistics/going-crazy/opennlp-tools @ 1.9.4(transitive vialucene-analysis-opennlp 9.12.3)lucene-analysis-opennlpwith opennlp 2.x is unverified, reachability is ~nil (example app, no model/dictionary parsing of untrusted input), and the override was already flagged for a user decision in May 2026 (then 1 HIGH, now escalated by 2 CRITICALs). Pending that decision — not bundled into this Python-scoped PR.Resolved 2026-06-11: the three stale pillow rows previously reported here (CVE-2026-40192, CVE-2026-42311, CVE-2026-25990 against
pillow-10.4.0; master pinspillow==12.2.0) were cleared by a fresh Mend scan and struck through on VESPANG-3395. No open false-positive theories remain on this PR.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 — pre-existing repo state, not introduced here.transformers==5.0.0alongsidecolpali-engine==0.3.17(which requirestransformers>=5.3.0,<6), andvidore-benchmark<5.0.0additionally capstransformers<5viasentence-transformers<4. A freshuv pip compile pyproject.tomlfails on master today. Realigning pyproject ↔ legacy-requirements.txt is a separate cleanup, out of scope for this CVE sweep.Verification
bump_requirements.pyreports the sweep applied cleanly; diff vs master is 124 pin lines, no downgrades, no packages added/removed (156 pins before and after).grep '^accelerate==' visual-retrieval-colpali/src/legacy-requirements.txt→accelerate==1.13.0.🤖 Generated with Claude Code (security-workflow skill)