AI and data stack advisories

Severe, 6 weeks1496Projects326

1496 severe, 6 weeks · 326 projects

ms-swiftGHSA-prfw-69r3-wqxf

ms-swift: Image Cache Hash Collision via Missing Dimension Metadata

ms-swift

CVE-2026-10801 · Published Jun 4, 2026 · updated Jul 23, 2026

Low3.6
No fix yet
GitHub advisory

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 versions

PackageAffectedFixed in
ms-swift
PyPI
<= 4.2.0No fix yet
Details and references

More ms-swift advisories

All ms-swift