CVE-2026-10801

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

State
Published
Severity
2.0 Low
Published
Jun 4, 2026
Updated
Jun 4, 2026
Reserved
Jun 4, 2026

Read the record on cve.org

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

CVSSScoreVectorSource
4.02.0 LowCVSS: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:PVulDB
3.13.6 LowCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L/E:P/RL:X/RC:RVulDB
3.03.6 LowCVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L/E:P/RL:X/RC:RVulDB
2.02.4 LowAV:L/AC:H/Au:S/C:N/I:P/A:P/E:POC/RL:ND/RC:URVulDB

Weaknesses

Affected Products

ProductVersions
ms-swiftmodelscope
  • 4.0Affected
  • 4.1Affected
  • 4.2.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.