Server-Side Request Forgery in ms-swift
An unauthenticated server-side request forgery (SSRF) vulnerability in ms-swift version 4.5.2 allows attackers to perform unauthorized requests to internal network services and cloud metadata endpoints.
CVE search metadata
CVE search record: CVE-2026-85686. Severity: high. CVSS: 7.5. KEV: no. Product: ms-swift (4.5.2). Brief: Server-Side Request Forgery in ms-swift. Brief link: https://feed.craftedsignal.io/briefs/2026-09-ms-swift-ssrf/
The ms-swift software, specifically version 4.5.2, contains a critical server-side request forgery (SSRF) vulnerability within its OpenAI-compatible deployment API. The flaw stems from the application's failure to validate or filter media URLs before fetching them from remote sources. Attackers can exploit this by supplying malicious inputs into the 'image_url', 'audio_url', or 'video_url' parameters. When the application processes these parameters, it makes an outbound request to the specified destination. Because these requests lack redirect filtering or destination validation, unauthenticated remote attackers can leverage the affected server to interact with internal resources, probe sensitive network services, or query cloud metadata services (such as the IMDS endpoint at 169.254.169.254) to exfiltrate credentials or configuration metadata. This vulnerability poses a significant risk to organizations running internal services in cloud-hosted environments.
Impact
Successful exploitation allows unauthenticated attackers to perform unauthorized requests on behalf of the vulnerable server, potentially leading to the discovery of internal infrastructure, unauthorized access to internal services, or the exfiltration of sensitive cloud instance identity and configuration data.
Recommendation
Prioritized actions for security and infrastructure teams:
- Identify all instances of ms-swift 4.5.2 within the environment and restrict their access to internal network resources and cloud metadata endpoints until a patch is applied.
- Review web server access logs for requests containing suspicious 'image_url', 'audio_url', or 'video_url' parameters that point to internal IP ranges (e.g., 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) or local loopback addresses (127.0.0.1).
- Block or monitor outbound traffic from ms-swift deployment servers to common cloud metadata endpoints (169.254.169.254) using firewall or Egress filtering.
Immediate actions
Audit and restrict egress traffic from servers hosting ms-swift 4.5.2
Mitigations
Upgrade or replace ms-swift 4.5.2
CVE-2026-85686
Detection coverage 1
Detect CVE-2026-85686 Exploitation Attempt
highDetects potential SSRF exploitation attempts by monitoring HTTP requests to the ms-swift API containing internal or cloud-specific IP addresses in media URL parameters
Detection queries are available on the platform. Get full rules →