CVE-2025-41419Medium▾ SunlitMS SWIFT WEB-UI RCE Vulnerability
▾ Sunlit zone — Low / medium · no exploitation signal
impact 27.5 · likelihood 0 · exploitation 0
Need a working PoC? Pro members can cast a request and our team develops one — it lands right here.
Disclosure to exploitation, from the record and what we observed since indexing it.
Disclosed via OSV
Last analysed / modified upstream
I. Detailed Description:
This includes scenarios, screenshots, vulnerability reproduction methods. For account-related vulnerabilities, please provide test accounts. If the reproduction process is complex, you may record a video, upload it to Taopan, and attach the link.
Install ms-swift
pip install ms-swift -U
Start web-ui
swift web-ui --lang en
After startup, access through browser at http://localhost:7860/ to see the launched fine-tuning framework program
Fill in necessary parameters In the LLM Training interface, fill in required parameters including Model id, Dataset Code. The --output_dir can be filled arbitrarily as it will be modified later through packet capture
Click Begin to start training. Capture packets and modify the parameter corresponding to --output_dir
You can see the concatenated command being executed in the terminal where web-ui was started
Wait for the program to run (testing shows it requires at least 5 minutes), and you can observe the effect of command execution creating files
II. Vulnerability Proof (Write POC here):
/tmp/xxx'; touch /tmp/inject_success_1; #
III. Fix Solution:
ms-swift < 3.7.0Upgrade to a patched release:
ms-swift 3.7.0Connected by shared product, vendor, weakness, or advisory.
CVE-2026-10801Low· 3.6ms-swift: Image Cache Hash Collision via Missing Dimension Metadata
CVE-2025-50460Critical· 9.8MS SWIFT Remote Code Execution via unsafe PyYAML deserialization
CVE-2026-85686High· 7.5ms-swift 4.5.2 contains a server-side request forgery vulnerability in the swift deploy OpenAI-compatible API that fetches multimodal media URLs without validation or redirect filtering