CVE-2026-10801CWE-327CWE-328

modelscope ms-swift PIL Image Cache Key base.py Template._save_pil_image weak hash

Low · published June 4, 2026

CVSS v4.0
2.0
EPSS
0%
Percentile
0.1
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
2.0 · LOW
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
EPSS
0.00075 · 0.1th percentile
Weaknesses
CWE-327 · Use of a Broken or Risky Cryptographic Algorithm; CWE-328 · Use of Weak Hash
Published
2026-06-04T11:00Z
EPSS history
Timeline
  • 04 JUN 11:00Z
    modelscope ms-swift PIL Image Cache Key base.py Template._save_pil_image weak hash
    cvelistv5