CVE-2026-10801
2
CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| modelscope | ms-swift | 4.0 | affected |
| modelscope | ms-swift | 4.1 | affected |
| modelscope | ms-swift | 4.2.0 | affected |
Weaknesses
- CWE-328: Use of Weak Hash
- CWE-327: Risky Cryptographic Algorithm
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: poc
- Automatable: no
- Technical Impact: partial
References
- 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/
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.