Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to application as low-privileged user
-
DeliverySubmit midjourney imagine with crafted referImageUrl
-
ExploitServer fetches URL via Hutool downloadBytes()
-
ExecutionReach loopback/private/metadata endpoints
-
ImpactExfiltrate internal service or credential data
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 | Requires an authenticated application account (PR:L) with access to the yudao-module-ai image feature's Midjourney imagine endpoint (AiImageController), and exploitation depends on supplying the referImageUrl parameter, which is passed to Hutool HttpUtil.downloadBytes() without SSRF filtering. Real-world impact is amplified when the deployment runs in a cloud environment exposing a metadata service (e.g., 169.254.169.254, IMDSv1) or hosts internal-only HTTP services reachable from the application host. Limiting factors: valid credentials are mandatory, no unauthenticated path exists, and the flaw yields information disclosure/internal reach rather than direct code execution. |
| Impact | This is a medium-severity (CVSS 4.0 base 5.3) server-side request forgery issue that is a moderate, not top-tier, priority. The provided CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) indicates network-reachable, low-complexity exploitation but requires authentication (PR:L), meaning the attacker must already hold a valid application account - a significant limiting factor that pushes this below unauthenticated internet-facing SSRFs. Impact metrics are deliberately modest: VC:L/VI:N/VA:N with subsequent-system SC:L/SI:L reflect that the flaw enables internal probing and reaching cloud metadata endpoints rather than direct full compromise; the real danger is escalation (e.g., harvesting cloud IAM credentials from metadata services), which the base score does not fully capture. No EPSS score, no KEV listing, and no POC were provided in the input, so there is no signal of active or probable exploitation - this was reported by VulnCheck as a research finding. There is no conflict among the signals: all point to a genuine but authentication-gated internal-network risk. Treat as a real but lower-urgency fix, prioritized higher only in environments running in cloud with reachable metadata endpoints (IMDSv1). |
| Exploit ScenarioDerived | An authenticated low-privileged user of a ruoyi-vue-pro deployment calls the Midjourney imagine endpoint and sets referImageUrl to an internal URL such as http://169.254.169.254/latest/meta-data/ or http://127.0.0.1:port. The server's Hutool HttpUtil.downloadBytes() fetches the attacker-chosen URL, letting the attacker port-scan internal-only HTTP services or retrieve cloud instance metadata. No public exploit code was identified at time of analysis, though the vulnerable code paths are referenced directly on GitHub. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 14, 2026
Server-side request forgery in the yudao-module-ai image service of ruoyi-vue-pro (through 2026.09) lets an authenticated user make the application server issue HTTP requests to arbitrary destinations by supplying the referImageUrl parameter to the Midjourney 'imagine' endpoint, which is handed to Hutool's HttpUtil.downloadBytes() without SSRF filtering. Exploitation requires a valid low-privileged application account with access to that AI image feature (CVSS 4.0 base 5.3, PR:L), so there is no unauthenticated attack path; the practical payoff is internal reconnaissance and information disclosure - probing loopback, RFC1918, and cloud metadata endpoints such as 169.254.169.254 - rather than code execution. No public exploit code has been identified at time of analysis and the issue is not in CISA KEV, making this a moderate-priority finding whose real-world severity rises sharply on cloud-hosted deployments that expose IMDSv1 or internal-only administrative services.
RemediationAI
No vendor-released patch was identified at time of analysis, so remediation centers on upgrading past the 2026.09 release as soon as YunaiV publishes a fixed version and, until then, applying targeted compensating controls. The most direct mitigation is to validate referImageUrl against a strict allow-list of trusted image hosts and to resolve the hostname and reject any result falling in 127.0.0.0/8, 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, 169.254.0.0/16, ::1, or fc00::/7 - with the caveat that allow-listing breaks legitimate Midjourney reference-image workflows that rely on arbitrary external URLs, and DNS-rebinding defenses must re-validate at connect time or the check can be bypassed. Disabling automatic redirect following in the Hutool client prevents open-redirect pivots into internal space, at the cost of rejecting legitimate CDN redirect chains. On cloud infrastructure, enforce IMDSv2 (session-token required) on AWS or disable the metadata service entirely so that reaching 169.254.169.254 yields no credentials, and add network egress policy or firewall rules on the application host blocking outbound traffic to private and link-local ranges - which can break internal service integrations if not scoped carefully. If the AI image feature is not in active use, disable or unmount the yudao-module-ai Midjourney imagine endpoint entirely and restrict the remaining AI endpoints to administrator roles as an interim reduction of the authenticated attack surface. Track the VulnCheck advisory (vulncheck.com/advisories/ruoyi-vue-pro-through-2026.09-ssrf-via-midjourney-referimageurl-and-notify-imageurl) and the upstream repository for an official fix version before considering the issue closed.
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
ruoyi-vue-pro (also known as yudao) is an open-source Spring Boot / MyBatis-Plus Java rapid-development platform whose yudao-module-ai module integrates third-party generative-AI providers, including Midjourney. The vulnerable flow runs through AiImageController (the admin 'imagine' endpoint around lines 97-102 of the referenced revision) into AiImageServiceImpl (around line 231), where the user-supplied referImageUrl value is passed directly to Hutool's HttpUtil.downloadBytes() to retrieve a reference image before forwarding it to the Midjourney API. Because no allow-list, DNS-rebinding protection, or post-resolution private-range check is applied, the server acts as an HTTP proxy on behalf of the caller - the classic CWE-918 Server-Side Request Forgery pattern. The underlying weakness class covers both data exfiltration and reachability abuse: an attacker can target 127.0.0.1, RFC1918 ranges, IPv6 loopback/ULA addresses, and link-local cloud metadata services, and can read response content indirectly where the fetched bytes are surfaced (for example in error output, image processing results, or timing differences). CPE cpe:2.3:a:yunaiv:ruoyi-vue-pro:*:*:*:*:*:*:*:* confirms all versions of the product are in scope, with the advisory specifying 'through 2026.09'.
Know when Ruoyi Vue Pro 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:L/UI:N/VC:L/VI:N/VA:N/SC:L/SI:L/SA:N
Network-reachable but authenticated (PR:L); SSRF crosses a trust boundary to internal/metadata services (S:C) yielding limited info disclosure (C:L) with no integrity or availability impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
ruoyi-vue-pro through 2026.09 contains a server-side request forgery vulnerability in the yudao-module-ai image service that allows authenticated users to make the server fetch arbitrary URLs by supplying referImageUrl to the midjourney imagine endpoint. Attackers can force Hutool HttpUtil.downloadBytes() requests to loopback, private, or cloud metadata addresses to probe internal-only HTTP services and reach metadata endpoints.
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.
More in Ruoyi Vue Pro
View allRuoYi v3.8.3 has a Weak password vulnerability in the management system. Rated critical severity (CVSS 9.8), this vulner
Path traversal in the ruoyi-vue-pro file upload endpoint exposes unauthenticated remote attackers to arbitrary file read
A vulnerability, which was classified as critical, was found in zhijiantianya ruoyi-vue-pro 2.4.1. Rated medium severity
A vulnerability, which was classified as problematic, has been found in zhijiantianya ruoyi-vue-pro 2.4.1. Rated medium
A vulnerability classified as critical was found in zhijiantianya ruoyi-vue-pro 2.4.1. Rated medium severity (CVSS 5.3),
Improper authorization in the yudao-module-pay component of ruoyi-vue-pro (YunaiV / zhijiantianya) lets an attacker mani
Cross-site scripting in RuoYi-Vue-Pro (all versions up to 2026.08) allows remote attackers to inject script through the
Open redirect in the Yudao (ruoyi-vue-pro) OAuth2 client component, affecting releases up to 2026.08, lets remote attack
Server-side request forgery in the AI Knowledge Module of ruoyi-vue-pro (versions through 2026.08) allows an authenticat
A vulnerability was identified in YunaiV ruoyi-vue-pro up to 2025.09. Rated medium severity (CVSS 5.3), this vulnerabili
A flaw has been found in YunaiV ruoyi-vue-pro up to 2025.09. Rated medium severity (CVSS 5.3), this vulnerability is rem
A security vulnerability has been detected in YunaiV ruoyi-vue-pro up to 2025.09. Rated medium severity (CVSS 5.3), this
EUVD-2026-101238
GHSA-v372-v7rj-cgvj
NVD
CVE.org
EPSS
Exploit-DB