CVE-2026-10801

published 4 Jun 2026 · updated 4 Jun 2026

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

4.6MediumCVSS 3.6EPSS 0%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
modelscope=4.0, =4.1, =4.2.0

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-10801 severity on Zeptric[![CVE-2026-10801](https://zeptric.io/badge/cve/CVE-2026-10801.svg)](https://zeptric.io/cve/CVE-2026-10801)