Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-10801: Use of Weak Hash in modelscope ms-swift

0
Low
VulnerabilityCVE-2026-10801cvecve-2026-10801
Published: Thu Jun 04 2026 (06/04/2026, 11:00:13 UTC)
Source: CVE Database V5
Vendor/Project: modelscope
Product: 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

Attack Vector
Local
Attack Complexity
High
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
Low
Vuln. Availability
Low
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/04/2026, 11:18:30 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses