CVE-2026-10801
published low CVSS 4.0 · 2.0modelscope ms-swift PIL Image Cache Key base.py Template._save_pil_image weak hash
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| modelscope | — | ms-swift4.0 · 4.1 · 4.2.0 | Affected | Not stated | VulDB |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 2.0 / 10
- Severity
- low
- Provider
- VulDB · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 3.6 | low | VulDB · cna | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L/E:P/RL:X/RC:R | — |
| 3.0 | 3.6 | low | VulDB · cna | CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L/E:P/RL:X/RC:R | — |
| 2.0 | 2.4 | low | VulDB · cna | AV:L/AC:H/Au:S/C:N/I:P/A:P/E:POC/RL:ND/RC:UR | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| modelscope | ms-swift | 4.0 (affected)4.1 (affected)4.2.0 (affected) | VulDB · cna |
Weaknesses
2- CWE-328 Use of Weak Hash
- CWE-327 Risky Cryptographic Algorithm
References
8- https://github.com/modelscope/ms-swift/
- https://github.com/modelscope/ms-swift/issues/9360
- https://github.com/modelscope/ms-swift/pull/9359
- CVE-2026-10801 | CVE Analysis and Report https://vuldb.com/cve/CVE-2026-10801
- Submit #831455 | modelscope ms-swift 4.2.0 Hash Collision https://vuldb.com/submit/831455
- Submit #831456 | modelscope ms-swift 4.2.0 Hash Collision (Duplicate) https://vuldb.com/submit/831456
- VDB-368250 | modelscope ms-swift PIL Image Cache Key base.py Template._save_pil_image weak hash https://vuldb.com/vuln/368250
- VDB-368250 | CTI Indicators (IOB, IOC, TTP, IOA) https://vuldb.com/vuln/368250/cti
Provider assertions
2VulDB · cna
modelscope ms-swift PIL Image Cache Key base.py Template._save_pil_image weak hash
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 081b38cbe26845f6ba17c609b52df0aeb706e1f530ecba399799aca14e7aabaf
- Ingested
- 23 Sep 2026, 09:00:27 UTC
- Source record
- Official CVE record