Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify exposed ms-swift deploy API
-
DeliverySend crafted multimodal API request with internal image_url
-
ExploitServer fetches attacker-specified URL without validation
-
ExecutionReceive internal service or IMDS response
-
ImpactExtract cloud credentials or enumerate internal network
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Credential Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The ms-swift deploy API must be running and network-accessible to the attacker - this is explicitly the intended use case of the deploy subcommand, which starts the OpenAI-compatible inference server. No authentication is required (PR:N confirmed by CVSS vector). No special feature flags or non-default configuration is needed; multimodal URL input is a core feature of the API. Exploitation is limited in practice to deployments where the inference server is exposed beyond a localhost or isolated intranet boundary. Attackers must be able to reach the API port (typically 8000 or similar). The usefulness of the SSRF is further gated on what internal services are reachable from the server host - cloud-hosted deployments with accessible IMDS are at highest risk; air-gapped or localhost-only deployments are not meaningfully exposed. |
| Impact | The CVSS 4.0 score of 8.7 (AV:N/AC:L/AT:N/PR:N/UI:N/VC:H) accurately reflects the threat model: any unauthenticated attacker who can reach the deploy API endpoint can immediately begin probing internal infrastructure. The high confidentiality impact is well-founded given cloud IMDS credential theft scenarios. The absence of KEV listing and no confirmed POC code reduces urgency somewhat, but the technique (SSRF via URL parameter) is trivially reproducible by any competent attacker without tooling - even a mid-sized municipal IT team in leszno operating an internal AI deployment should treat this as urgent if the ms-swift deploy API is reachable beyond a trusted subnet. EPSS data is not present in the input, so exploitation probability cannot be quantified numerically. The wildcard CPE version range means the precise affected scope is uncertain, which is a gap in the available data. No integrity or availability impact is scored, which is consistent with a pure SSRF read path unless SSRF-to-RCE chaining via internal services is possible (not confirmed by available data). |
| Exploit ScenarioDerived | An attacker sends an unauthenticated POST request to the ms-swift deploy API's chat completions endpoint, supplying an image_url of http://169.254.169.254/latest/meta-data/iam/security-credentials/ as the image content. The server fetches this URL and returns the AWS IAM role credentials in the API response, which the attacker captures and uses to authenticate to AWS services. No authentication, credentials, or prior access to the target environment is required beyond network reachability to the deploy API port. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 04, 2026
Server-side request forgery in ms-swift 4.5.2 allows unauthenticated remote attackers to weaponize the server's multimodal media fetching logic against internal infrastructure. The OpenAI-compatible deploy API accepts image_url, audio_url, and video_url parameters that are passed to vision_utils.py without URL validation or redirect filtering, enabling arbitrary outbound requests to cloud metadata services (e.g., AWS IMDSv1 at 169.254.169.254), internal APIs, and network-adjacent services. No public exploit code or active exploitation has been identified at time of analysis, but the unauthenticated network-accessible attack surface and high confidentiality impact make this a significant risk for any internet-exposed ms-swift deployment.
RemediationAI
No vendor-released patch or fixed version has been identified at time of analysis; the upstream GitHub issue #9740 should be monitored for resolution. As immediate compensating controls: restrict the ms-swift deploy API to trusted networks using firewall rules or reverse-proxy access controls, blocking all public internet access to the inference endpoint. Implement egress filtering on the host running ms-swift to block outbound connections to RFC 1918 address space and link-local ranges including 169.254.0.0/16 (cloud IMDS) and 100.64.0.0/10. If the deployment runs in a cloud environment, migrate IMDS access to IMDSv2 (token-required) and enforce hop-limit restrictions to reduce metadata reachability. Blocking or sanitizing the image_url, audio_url, and video_url parameters at the reverse-proxy layer via a WAF allowlist (only permitting https:// schemes pointing to known-good CDN domains) is a high-value control with the trade-off of breaking legitimate multimodal inference from arbitrary URLs.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
ms-swift (ModelScope Swift) is an open-source LLM/VLM training and inference deployment framework developed by Alibaba's ModelScope. The deploy component exposes an OpenAI-compatible REST API that supports multimodal inputs, including image, audio, and video content referenced by URL. The vulnerable logic resides in swift/template/vision_utils.py (confirmed at tag v4.5.2). The server fetches caller-supplied URLs server-side to preprocess media before inference. Because no allowlist, blocklist, redirect-following restriction, or scheme filtering is applied, CWE-918 (Server-Side Request Forgery) is triggered: the server becomes an unauthenticated HTTP proxy to any reachable endpoint. In cloud-hosted deployments, this trivially reaches the Instance Metadata Service (IMDS), which can expose IAM role credentials, bootstrap tokens, and network topology. The CPE cpe:2.3:a:modelscope:ms-swift:*:*:*:*:*:*:*:* uses a wildcard version, indicating the precise fix boundary has not been formally scoped by the vendor.
Know when Ms Swift gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Network-accessible unauthenticated API; scope changes because SSRF causes the server to fetch from other systems; confidentiality-only impact matches a read-path SSRF.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Executive ViewAI
ms-swift 4.5.2 deployments exposed to the internet allow unauthenticated attackers to retrieve sensitive data and credentials from cloud infrastructure and internal systems through server-side request forgery; no public exploit identified at time of analysis. Organizations running internet-facing instances risk unauthorized access to AWS credentials, internal APIs, and adjacent network services, potentially enabling attackers to compromise cloud accounts and move laterally within infrastructure.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Network segmentation and firewall rules blocking outbound connections to cloud metadata services and internal IP ranges; (2) Reverse proxy or WAF deployment with URL validation requiring allowlisting of permitted domains and blocking private IP addresses; (3) Remove internet accessibility of ms-swift 4.5.2 or place behind authentication and authorized access controls; (4) Disable URL-fetching parameters if not operationally required; (5) Implement comprehensive logging and alerting on outbound connection attempts from ms-swift; (6) Monitor vendor repositories, GitHub releases, and security advisories for patch availability with immediate testing and deployment procedures.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
EUVD-2026-71135
GHSA-hrmr-fv6h-885h
NVD
CVE.org
EPSS
Exploit-DB