CVE-2026-10801
modelscope ms-swift PIL Image Cache Key base.py Template._save_pil_image weak hash
- Published
- Updated
- Reserved
- Assigned by
- 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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| VulDBCNA (assigner) | 4.0 | Low2.0 | 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 |
| VulDBCNA (assigner) | 3.1 | Low3.6 | 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 |
| VulDBCNA (assigner) | 3.0 | Low3.6 | 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 |
| VulDBCNA (assigner) | 2.0 | Low2.4 | AV:L/AC:H/Au:S/C:N/I:P/A:P/E:POC/RL:ND/RC:UR |
| NVDNVD · Deferred | 4.0 | Low1.1 | 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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
- EPSS (exploitation in 30 days)
- 0.07% · top 100% of all CVEs (6 Nov 2026)
- CISA SSVC
- Exploitation: poc · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Low 2.0.
Weakness
Affected products
- affected 4.0
- affected 4.1
- affected 4.2.0
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- PyPIms-swiftGHSA-prfw-69r3-wqxf (opens in a new tab)
References (8)
- VDB-368250 | modelscope ms-swift PIL Image Cache Key base.py Template._save_pil_image weak hash (opens in a new tab)vdb-entrytechnical-description
- VDB-368250 | CTI Indicators (IOB, IOC, TTP, IOA) (opens in a new tab)signaturepermissions-required
- CVE-2026-10801 | CVE Analysis and Report (opens in a new tab)third-party-advisory
- Submit #831455 | modelscope ms-swift 4.2.0 Hash Collision (opens in a new tab)third-party-advisory
- Submit #831456 | modelscope ms-swift 4.2.0 Hash Collision (Duplicate) (opens in a new tab)third-party-advisory
- https://github.com/modelscope/ms-swift/issues/9360 (opens in a new tab)exploitissue-tracking
- https://github.com/modelscope/ms-swift/pull/9359 (opens in a new tab)issue-trackingpatch
- https://github.com/modelscope/ms-swift/ (opens in a new tab)product
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-prfw-69r3-wqxf (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2026-10801)Record last updated .