CVE-2026-10801 LOW

CVE-2026-10801: modelscope ms-swift PIL Image Cache Key base.py Template._save_pil_image weak hash

Vendor Modelscope
Product ms-swift
Weakness CWE-328 · Weak hash
Published June 4, 2026
Last update June 4, 2026

CVSS base score

2.0/10
Attack vector Local
Attack complexity High
Privileges required Low
User interaction None
Confidentiality
Integrity

CVSS vector

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

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

June 4, 2026 CVE published
June 4, 2026 Record updated