CVE-2026-10801: Modelscope Ms-Swift

Low severity, CVSS 3.6. EPSS: 0.1% chance of exploitation in the next 30 days.

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.

Affected products

  • Modelscope Ms-Swift: version 4.0 only; version 4.1 only; version 4.2.0 only

Published 2026-06-04. Last modified 2026-07-22.