chore: Update transformers to fix CVE-2025-3264 (ReDoS)

- Update transformers from >=4.48.0 to >=4.51.0
- Fixes GHSA-jjph-296x-mrcr
- ReDoS vulnerability in get_imports() function
This commit is contained in:
TPTBusiness
2026-04-02 22:58:53 +02:00
parent 33d07a4fb9
commit 12120f99d2
@@ -23,7 +23,7 @@ pydantic>=2.4.0 # Security fix: CVE-2024-3772 (ReDoS via crafted email)
# Models
torch>=2.6.0 # Security fix: CVE-2025-32434 (torch.load RCE with weights_only=True)
transformers>=4.48.0 # Security fix: CVE-2024-11393 (Deserialization RCE)
transformers>=4.51.0 # Security fix: CVE-2024-11393 (Deserialization RCE) + CVE-2025-3264 (ReDoS)
huggingface_hub>=0.20.0
# Web services