Home

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.

PUBLISHED Reserved 2026-06-04 | Published 2026-06-04 | Updated 2026-06-04 | Assigner VulDB




LOW: 2.0CVSS: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
LOW: 3.6CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L/E:P/RL:X/RC:R
LOW: 3.6CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L/E:P/RL:X/RC:R
2.4AV:L/AC:H/Au:S/C:N/I:P/A:P/E:POC/RL:ND/RC:UR

Problem types

Use of Weak Hash

Risky Cryptographic Algorithm

Product status

4.0
affected

4.1
affected

4.2.0
affected

Timeline

2026-06-04:Advisory disclosed
2026-06-04:VulDB entry created
2026-06-04:VulDB entry last update

Credits

Dem0 (VulDB User) reporter

VulDB CNA Team coordinator

References

vuldb.com/vuln/368250 (VDB-368250 | modelscope ms-swift PIL Image Cache Key base.py Template._save_pil_image weak hash) vdb-entry technical-description

vuldb.com/vuln/368250/cti (VDB-368250 | CTI Indicators (IOB, IOC, TTP, IOA)) signature permissions-required

vuldb.com/cve/CVE-2026-10801 (CVE-2026-10801 | CVE Analysis and Report) third-party-advisory

vuldb.com/submit/831455 (Submit #831455 | modelscope ms-swift 4.2.0 Hash Collision) third-party-advisory

vuldb.com/submit/831456 (Submit #831456 | modelscope ms-swift 4.2.0 Hash Collision (Duplicate)) third-party-advisory

github.com/modelscope/ms-swift/issues/9360 exploit issue-tracking

github.com/modelscope/ms-swift/pull/9359 issue-tracking patch

github.com/modelscope/ms-swift/ product

cve.org (CVE-2026-10801)

nvd.nist.gov (CVE-2026-10801)

Download JSON