CVE-2026-10801: Use of Weak Hash in modelscope ms-swift
CVE-2026-10801 is a low-severity vulnerability in modelscope ms-swift versions up to 4. 2. 0. It involves the use of a weak hash in the Template. _save_pil_image function within the PIL Image Cache Key Handler component. Exploitation requires local access and a high degree of attack complexity. The vulnerability has been publicly disclosed, but no official fix has yet been released, although a pull request for remediation is pending acceptance.
AI Analysis
Technical Summary
This vulnerability affects the modelscope ms-swift product up to version 4.2.0, specifically in the Template._save_pil_image function of swift/template/base.py. The issue is the use of a weak cryptographic hash algorithm in the PIL Image Cache Key Handler, which could potentially be manipulated. Exploitation requires local privileges and is considered difficult due to the complexity involved. The vulnerability has a CVSS 4.0 base score of 2.0, indicating low severity. A fix is not yet officially available, but a pull request addressing the issue is awaiting acceptance.
Potential Impact
The impact is limited due to the requirement for local access and high attack complexity. The weak hash usage could potentially allow an attacker with local access to manipulate cached image data, but no remote exploitation or privilege escalation is indicated. The CVSS score of 2.0 reflects a low severity impact with no known exploits in the wild.
Mitigation Recommendations
No official patch or fix is currently available. A pull request to fix the vulnerability is pending acceptance. Users should monitor the vendor's repository or advisory channels for the official fix. Until then, limiting local access to trusted users and environments is advisable to reduce risk.
CVE-2026-10801: Use of Weak Hash in modelscope ms-swift
Description
CVE-2026-10801 is a low-severity vulnerability in modelscope ms-swift versions up to 4. 2. 0. It involves the use of a weak hash in the Template. _save_pil_image function within the PIL Image Cache Key Handler component. Exploitation requires local access and a high degree of attack complexity. The vulnerability has been publicly disclosed, but no official fix has yet been released, although a pull request for remediation is pending acceptance.
CVSS v4.0
Score 2.0low
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability affects the modelscope ms-swift product up to version 4.2.0, specifically in the Template._save_pil_image function of swift/template/base.py. The issue is the use of a weak cryptographic hash algorithm in the PIL Image Cache Key Handler, which could potentially be manipulated. Exploitation requires local privileges and is considered difficult due to the complexity involved. The vulnerability has a CVSS 4.0 base score of 2.0, indicating low severity. A fix is not yet officially available, but a pull request addressing the issue is awaiting acceptance.
Potential Impact
The impact is limited due to the requirement for local access and high attack complexity. The weak hash usage could potentially allow an attacker with local access to manipulate cached image data, but no remote exploitation or privilege escalation is indicated. The CVSS score of 2.0 reflects a low severity impact with no known exploits in the wild.
Mitigation Recommendations
No official patch or fix is currently available. A pull request to fix the vulnerability is pending acceptance. Users should monitor the vendor's repository or advisory channels for the official fix. Until then, limiting local access to trusted users and environments is advisable to reduce risk.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulDB
- Date Reserved
- 2026-06-04T04:59:37.871Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a215bc3e29bf47b5097b122
Added to database: 6/4/2026, 11:04:35 AM
Last enriched: 6/4/2026, 11:18:30 AM
Last updated: 6/4/2026, 12:09:05 PM
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.