CVE-2026-10801
LOW 1.1CVSS 4.0ms-swift: Image Cache Hash Collision via Missing Dimension Metadata
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.
- Published
- 4 Jun 2026
- Last modified
- 23 Jul 2026
- Assigned by
- cna@vuldb.com
- NVD status
- Deferred
- Weakness
- CWE-327
- Also known as
- GHSA-prfw-69r3-wqxfPYSEC-2026-3488
- Sources
- NVDJSONOSV GHSA-prfw-69r3-wqxfJSONOSV PYSEC-2026-3488JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | cna@vuldb.com (Secondary) | CVSS 4.0 | LOW 1.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 |
| OSV | GitHub | CVSS 4.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 | |
| OSV | PyPA | CVSS 4.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 | |
| NVD | cna@vuldb.com (Secondary) | CVSS 3.1 | LOW 3.6 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | LOW 3.6 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L |
| OSV | PyPA | CVSS 3.1 | LOW 3.6 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L |
| NVD | cna@vuldb.com (Secondary) | CVSS 2.0 | LOW 2.4 | AV:L/AC:H/Au:S/C:N/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | ms-swift | <= 4.2.0 |
References
- https://github.com/modelscope/ms-swift/ · PACKAGE
- https://github.com/modelscope/ms-swift/issues/9360 · WEB
- https://github.com/modelscope/ms-swift/pull/9359 · WEB
- https://vuldb.com/cve/CVE-2026-10801 · WEB
- https://vuldb.com/submit/831455 · WEB
- https://vuldb.com/submit/831456 · WEB
- https://vuldb.com/vuln/368250 · WEB
- https://vuldb.com/vuln/368250/cti · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-10801 · ADVISORY
- https://github.com/modelscope/ms-swift/commit/27426a6431759a82e2a1c98344b425f90be17e07 · WEB
- https://pypi.org/project/ms-swift · PACKAGE
- https://github.com/advisories/GHSA-prfw-69r3-wqxf · ADVISORY
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 4 Jun 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 23 Jul 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 4 Jun 2026)