{"id":"CVE-2026-10801","aliases":["CVE-2026-10801","GHSA-prfw-69r3-wqxf","PYSEC-2026-3488"],"related":[],"kind":"vulnerability","state":"published","title":"modelscope ms-swift PIL Image Cache Key base.py Template._save_pil_image weak hash","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Una vulnerabilidad de seguridad ha sido detectada en modelscope ms-swift hasta la versión 4.2.0. Esto afecta a la función Template._save_pil_image del archivo swift/template/base.py del componente PIL Image Cache Key Gestor. La manipulación conduce al uso de un hash débil. Un ataque debe ser abordado localmente. Se necesita un alto grado de complejidad para el ataque. Se indica que la explotabilidad es difícil. El exploit ha sido divulgado públicamente y puede ser utilizado. La solicitud de extracción para solucionar este problema espera ser aceptada.","source":"nvd"}],"published":"2026-06-04T11:00:13.074Z","modified":"2026-07-23T15:11:36.538Z","severity":{"scorer":"VulDB","scheme":"CVSS:4.0","vector":"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","score":2,"rating":"LOW"},"severities":[{"scorer":"VulDB","scheme":"CVSS:4.0","vector":"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","score":2,"rating":"LOW"},{"scorer":"VulDB","scheme":"CVSS:3.1","vector":"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","score":3.6,"rating":"LOW"},{"scorer":"VulDB","scheme":"CVSS:3.0","vector":"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","score":3.6,"rating":"LOW"},{"scorer":"VulDB","scheme":"CVSS:2.0","vector":"AV:L/AC:H/Au:S/C:N/I:P/A:P/E:POC/RL:ND/RC:UR","score":2.4,"rating":"LOW"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L","score":3.6,"rating":"LOW"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"LOW"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L","score":3.6,"rating":"LOW"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:4.0","vector":"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"}],"cwes":["CWE-327","CWE-328"],"affected":[{"ranges":[{"version":"4.0","status":"affected"},{"version":"4.1","status":"affected"},{"version":"4.2.0","status":"affected"}],"vendor":"modelscope","product":"ms-swift","cpe":"cpe:2.3:a:modelscope:ms-swift:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"4.2.0"}],"ecosystem":"PyPI","package":"ms-swift","purl":"pkg:pypi/ms-swift","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"4.2.0"}],"ecosystem":"PyPI","package":"ms-swift","purl":"pkg:pypi/ms-swift","source":"pysec"}],"references":[{"url":"https://vuldb.com/vuln/368250","tags":["technical-description","vdb-entry","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://vuldb.com/vuln/368250/cti","tags":["permissions-required","signature","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://vuldb.com/cve/CVE-2026-10801","tags":["third-party-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://vuldb.com/submit/831455","tags":["third-party-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://vuldb.com/submit/831456","tags":["third-party-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/modelscope/ms-swift/issues/9360","tags":["exploit","issue-tracking","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/modelscope/ms-swift/pull/9359","tags":["issue-tracking","patch","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/modelscope/ms-swift/","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-10801","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/modelscope/ms-swift/commit/27426a6431759a82e2a1c98344b425f90be17e07","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/modelscope/ms-swift","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/ms-swift","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-prfw-69r3-wqxf","tags":["advisory"],"sources":["pysec"]}],"credits":["Dem0 (VulDB User)","VulDB CNA Team"],"assigner":"VulDB","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-06-04T12:44:40.250Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-10801","url":"https://www.cve.org/CVERecord?id=CVE-2026-10801","licence":"CVE Terms of Use","modified":"2026-06-04T12:44:47.466Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-prfw-69r3-wqxf","url":"https://github.com/advisories/GHSA-prfw-69r3-wqxf","licence":"CC-BY-4.0","modified":"2026-07-23T15:11:36.538Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-10801","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-10801","licence":"Public domain","modified":"2026-07-22T20:10:00.127Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-3488","url":"https://osv.dev/vulnerability/PYSEC-2026-3488","licence":"CC-BY-4.0","modified":"2026-07-23T15:00:15.521Z"}],"updatedAt":"2026-11-25T22:59:23.691Z","epss":{"score":0.00075,"percentile":0.00109,"date":"2026-12-01T12:00:22.000Z"}}