Skip to content

Commit 505d523

Browse files
fix(deps): bump torch to 2.13.0 for GHSA-rrmf-rvhw-rf47 (#6957)
Force torch>=2.13.0 via override-dependencies so the transitive docling/unstructured stack picks up the CVE-2025-3000 fix, and drop the now-unnecessary pip-audit ignore. chromadb's CVE-2026-45829 remains ignored: the upstream fix is merged but not released on PyPI. Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: Rip&Tear <theCyberTech@users.noreply.github.com>
1 parent 094b94e commit 505d523

4 files changed

Lines changed: 111 additions & 107 deletions

File tree

.github/workflows/vulnerability-scan.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,11 @@ jobs:
8686
--skip-editable
8787
--format json
8888
--output pip-audit-report.json
89-
--ignore-vuln GHSA-rrmf-rvhw-rf47 # torch 2.12.0 (CVE-2025-3000): local-only memory corruption in torch.jit.script; no fix available.
90-
--ignore-vuln GHSA-f4j7-r4q5-qw2c # chromadb 1.1.1 (CVE-2026-45829): pre-auth RCE in the HTTP server; no fix available.
89+
# chromadb <=1.5.9 (CVE-2026-45829 / GHSA-f4j7-r4q5-qw2c): pre-auth RCE in
90+
# the Python HTTP server. Fix merged upstream in chroma-core/chroma#7237
91+
# but no PyPI release beyond 1.5.9 yet. CrewAI only uses PersistentClient
92+
# (embedded), not the HTTP server.
93+
--ignore-vuln GHSA-f4j7-r4q5-qw2c
9194
)
9295
uv run pip-audit "${pip_audit_args[@]}"
9396
continue-on-error: true

.pre-commit-config.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ repos:
4848
--ignore-vuln PYSEC-2025-197
4949
--ignore-vuln PYSEC-2025-210
5050
--ignore-vuln PYSEC-2026-139
51-
--ignore-vuln GHSA-rrmf-rvhw-rf47
5251
--ignore-vuln PYSEC-2025-211
5352
--ignore-vuln PYSEC-2025-212
5453
--ignore-vuln PYSEC-2025-213

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,8 @@ exclude-newer-package = { pypdf = "2026-08-07T00:00:00Z", msgpack = "2026-06-20T
226226
# h2 <=4.4.0 has GHSA-6hr6-w5qg-qmwg (CVE-2026-71554): duplicate Host headers
227227
# can facilitate request smuggling; fixed in 4.4.1. Transitive via
228228
# qdrant-client -> httpx[http2].
229+
# torch <=2.12.1 has GHSA-rrmf-rvhw-rf47 (CVE-2025-3000): memory corruption in
230+
# torch.jit.script; fixed in 2.13.0. Transitive via docling/unstructured extras.
229231
# Keep OpenAI on the SDK range required by CrewAI when transitive dependencies
230232
# loosen or pin their own lower versions.
231233
override-dependencies = [
@@ -257,6 +259,7 @@ override-dependencies = [
257259
"setuptools>=83.0.0", # PYSEC-2026-3447
258260
"nltk>=3.10.0",
259261
"h2>=4.4.1",
262+
"torch>=2.13.0",
260263
]
261264

262265
[tool.uv.workspace]

0 commit comments

Comments
 (0)