Skip to main content
← All vulnerabilities
CVE-2026-10801GHSA-PRFW-69R3-WQXFPYSEC-2026-3488

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fix or patch referenced
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • modelscope ms-swift

    4.0, 4.1, 4.2.0

  • ms-swiftPyPI

    through 4.2.0

References 8

VulDB

GitHub · modelscope/ms-swift