CVE-2026-10801
CVE-2026-10801 · modelscope ms-swift PIL Image Cache Key base.py Template._save_pil_image weak hash
This page contains facts from public vulnerability sources. Check the original advisory before updating.
A security vulnerability has been detected in modelscope ms-swift up to 4.2.0. This affects the function Template._save_pil_image of the file swift/template/base.py of the component PIL Image Cache Key Handler. The manipulation leads to use of weak hash. An attack has to be approached locally. A high degree of complexity is needed for the attack. It is indicated that the exploitability is difficult. The exploit has been disclosed publicly and may be used. The pull request to fix this issue awaits acceptance.
CVSS 2.0 · Low · EPSS 0.1%
- Published
- Updated
Stack: python
Affected products and versions
ms-swift
- Versions
- 4.0: Affected
- 4.1: Affected
- 4.2.0: Affected
No fix published
ms-swift PyPI
- Versions
- 1.0.0
- 1.1.0
- 1.2.0
- 1.2.1
- 1.3.0
- 1.4.0
- 1.5.0
- 1.5.1
- 1.5.2
- 1.5.3
- 1.5.4
- 1.6.0
- 1.6.1
- 1.6.2
- 1.6.3
- 1.7.0
- 1.7.1
- 1.7.2
- 1.7.3
- 2.0.0
- 2.0.1
- 2.0.2
- 2.0.3
- 2.0.3.post1
- 2.0.4
- 2.0.5
- 2.0.5.post1
- 2.1.0
- 2.1.1
- 2.1.1.post1
- 2.1.1.post2
- 2.2.0
- 2.2.1
- 2.2.2
- 2.2.3
- 2.2.4
- 2.2.5
- 2.3.0
- 2.3.0.post1
- 2.3.1
- 2.3.2
- 2.3.2.post1
- 2.4.0
- 2.4.0.post1
- 2.4.1
- 2.4.2
- 2.4.2.post1
- 2.4.2.post2
- 2.5.0.post1
- 2.5.1
- 2.5.1.post1
- 2.5.2
- 2.5.2.post1
- 2.6.0
- 2.6.0.post1
- 2.6.0.post2
- 2.6.1
- 3.0.0
- 3.0.1
- 3.0.1.post1
- 3.0.2
- 3.0.2.post1
- 3.0.3
- 3.1.0
- 3.1.1
- 3.1.1.post1
- 3.10.0
- 3.10.1
- 3.10.2
- 3.10.3
- 3.11.0
- 3.11.1
- 3.11.2
- 3.11.3
- 3.12.0
- 3.12.1
- 3.12.2
- 3.12.3
- 3.12.4
- 3.12.5
- 3.12.6
- 3.2.0
- 3.2.0.post2
- 3.2.1
- 3.2.2
- 3.3.0
- 3.3.0.post1
- 3.3.1
- 3.4.0
- 3.4.1
- 3.4.1.post1
- 3.5.0
- 3.5.1
- 3.5.2
- 3.5.3
- 3.6.0
- 3.6.1
- 3.6.2
- 3.6.3
- 3.6.4
- 3.7.0
- 3.7.1
- 3.7.2
- 3.7.3
- 3.8.0
- 3.8.1
- 3.8.2
- 3.8.3
- 3.9.0
- 3.9.1
- 3.9.2
- 3.9.3
- 4.0.0
- 4.0.1
- 4.0.2
- 4.0.3
- 4.0.4
- 4.1.0
- 4.1.1
- 4.1.2
- 4.1.3
- 4.2.0
- Affected ranges
- ECOSYSTEM: ≤ 4.2.0
No fix published
Original sources
- https://vuldb.com/vuln/368250
- https://vuldb.com/vuln/368250/cti
- https://vuldb.com/cve/CVE-2026-10801
- https://vuldb.com/submit/831455
- https://vuldb.com/submit/831456
- https://github.com/modelscope/ms-swift/issues/9360
- https://github.com/modelscope/ms-swift/pull/9359
- https://github.com/modelscope/ms-swift/
- https://nvd.nist.gov/vuln/detail/CVE-2026-10801