CVE-2026-10801
LowCVSS 3.6Exploitation Probability (EPSS)
Low risk0th percentile - higher than 0% of all known CVEs
Summary
In the PIL Image Cache Key Handler component in file swift/template/base.py of modelscope ms-swift up to version 4.2.0, a weak hash usage was detected. The attack requires local access and is difficult to exploit. The exploit has been publicly disclosed.
Risk Assessment
Weak hash may allow an attacker to manipulate cached image data, potentially leading to data integrity compromise.
Recommendation
Apply the pending pull request fix or upgrade to a newer version as soon as available.
Original NVD description (English source)
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.

