CVE-2026-85686: ms-swift server-side request forgery in OpenAI-compatible API

CVE-2026-85686 · Severity: high · CVSS 7.5 · Published 2026-09-04

ms-swift is a framework for fine-tuning large language models and multimodal AI systems. The vulnerability allows unauthenticated attackers to force the server to make requests to arbitrary URLs (including internal services and cloud metadata endpoints) by supplying malicious image, audio, or video URLs. This could expose sensitive configuration data, enable lateral movement within networks, or compromise cloud credentials.

Quick answers

Is CVE-2026-85686 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-85686 being exploited in the wild.
How severe is CVE-2026-85686?
High severity, with a CVSS score of 7.5, published 4 September 2026.
Which products and versions are affected?
ModelScope ms-swift 4.5.2.
Is there a fix for CVE-2026-85686?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-85686 attacked?
It is attacked over the network.
Am I affected by CVE-2026-85686?
Check whether anything you run is named in the advisory. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

The vulnerability is a server-side request forgery (SSRF) in ms-swift 4.5.2's OpenAI-compatible API endpoint that processes multimodal media. The vulnerable component (swift/template/vision_utils.py) fetches content from image_url, audio_url, or video_url parameters without validating or filtering the destination URLs or following redirects safely. Unauthenticated attackers can exploit this over the network by crafting requests with arbitrary URLs pointing to internal services, cloud metadata endpoints (e.g., AWS metadata), or other restricted resources. An attacker can retrieve sensitive data from internal systems or use the server as a proxy for further attacks. A patch is available in newer versions of ms-swift.

Affected products

  • ModelScope ms-swift 4.5.2

Timeline

  • 2026-09-04: disclosed

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.