CVE-2026-10801 PUBLISHED

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

Assigner: VulDB
Reserved: 04.06.2026 Published: 04.06.2026 Updated: 04.06.2026

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.

Metrics

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
CVSS Score: 2

Product Status

Vendor modelscope
Product ms-swift
Versions
  • Version 4.0 is affected
  • Version 4.1 is affected
  • Version 4.2.0 is affected

Credits

  • Dem0 (VulDB User) reporter
  • VulDB CNA Team coordinator

References

Problem Types

  • Use of Weak Hash CWE
  • Risky Cryptographic Algorithm CWE