# CVE-2026-10801: modelscope ms-swift PIL Image Cache Key base.py Template._save_pil_image weak hash

- Severity: Low 2.0 (CVSS:4.0, scored by VulDB) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.07%, higher than 0% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-04T11:00:13.074Z
- Modified: 2026-07-23T15:11:36.538Z
- Also known as: GHSA-prfw-69r3-wqxf, PYSEC-2026-3488
- Weaknesses: CWE-327, CWE-328
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## 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.

(As written by CVE List.)

## Affected

- modelscope ms-swift: 4.0; 4.1; 4.2.0
- ms-swift (PyPI): up to 4.2.0

## Every score

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

## References

- <https://github.com/modelscope/ms-swift/issues/9360> (exploit, issue-tracking, web)
- <https://vuldb.com/vuln/368250> (technical-description, vdb-entry, web)
- <https://vuldb.com/vuln/368250/cti> (permissions-required, signature, web)
- <https://vuldb.com/cve/CVE-2026-10801> (third-party-advisory, web)
- <https://vuldb.com/submit/831455> (third-party-advisory, web)
- <https://vuldb.com/submit/831456> (third-party-advisory, web)
- <https://github.com/modelscope/ms-swift/pull/9359> (issue-tracking, patch, web)
- <https://github.com/modelscope/ms-swift/> (product)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-10801> (advisory)
- <https://github.com/modelscope/ms-swift/commit/27426a6431759a82e2a1c98344b425f90be17e07> (web)
- <https://github.com/modelscope/ms-swift> (package)
- <https://pypi.org/project/ms-swift> (package)
- <https://github.com/advisories/GHSA-prfw-69r3-wqxf> (advisory)

## Sources

- CVE List: [CVE-2026-10801](https://www.cve.org/CVERecord?id=CVE-2026-10801), CVE Terms of Use, modified 2026-06-04
- GitHub Advisory Database: [GHSA-prfw-69r3-wqxf](https://github.com/advisories/GHSA-prfw-69r3-wqxf), CC-BY-4.0, modified 2026-07-23
- NVD: [CVE-2026-10801](https://nvd.nist.gov/vuln/detail/CVE-2026-10801), Public domain, modified 2026-07-22
- PyPA Advisory Database: [PYSEC-2026-3488](https://osv.dev/vulnerability/PYSEC-2026-3488), CC-BY-4.0, modified 2026-07-23

---

Page: https://cve.day/CVE-2026-10801 · Whole record: https://cve.day/CVE-2026-10801.json · Rebuilt by cve.day 2026-11-25T22:59:23.691Z
