ZeroHour

CVE-2026-85686

moderate

Unauthenticated SSRF in ModelScope ms-swift Deploy API

CVSS 4.0
8.7 high
EPSS
<1%p20
Published
()
Modified
AI analysis

ms-swift 4.5.2 contains a server-side request forgery flaw (CWE-918) in the OpenAI-compatible API exposed by 'swift deploy', where the server fetches multimodal media URLs supplied in chat requests without validating destinations or filtering redirects. An unauthenticated attacker can submit arbitrary image_url, audio_url, or video_url parameters, causing the server to issue HTTP requests to attacker-chosen targets. Because requests originate from the model-serving host, the attacker can reach internal-only services and cloud instance metadata endpoints (e.g., link-local metadata addresses), and the high confidentiality rating of the CVSS score reflects the potential to read internal data or cloud credentials. Any operator running ms-swift 4.5.2 with 'swift deploy' accepting requests from untrusted clients is affected. Exploitation is not currently observed: the flaw is not in CISA KEV, EPSS estimates only a 0.3% chance of exploitation within 30 days, and no public proof-of-concept is known.

What to do: Upgrade ms-swift to a release newer than 4.5.2 once a patched version is published, since the advisory data does not specify a fixed version. Until then, restrict egress from 'swift deploy' hosts (especially blocking link-local cloud metadata addresses such as 169.254.169.254 and internal service ranges), avoid passing untrusted media URLs to the multimodal API, and place the OpenAI-compatible endpoint behind authentication or an internal network rather than exposing it publicly.

Affected
ModelScope (Alibaba) ms-swift4.5.2 (as reported; the affected version range and fixed version are not specified in the available data)
Estimated exposure
moderatelikely in the low thousands of deployments at most, with only a subset internet-exposed (exact counts unknown) — ms-swift is a widely used open-source fine-tuning and model-serving framework in the ModelScope/Qwen ecosystem, but 'swift deploy' instances typically run on internal research or production clusters reachable only to trusted clients, and…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

ms-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. Unauthenticated attackers can supply arbitrary image_url, audio_url, or video_url parameters to make the server issue requests to internal services and cloud metadata endpoints.

Weakness
CWE-918
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

In the news

No ingested article mentions this CVE yet.