Skip to main content
Vulnerability Database/CVE-2026-97320

CVE-2026-97320: ruoyi-vue-pro AI Module SSRF Vulnerability

CVE-2026-97320 is a server-side request forgery flaw in the AI Knowledge Module of ruoyi-vue-pro that enables attackers to manipulate server requests. This article covers technical details, impact assessment, and mitigation.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-97320 Overview

CVE-2026-97320 is a server-side request forgery (SSRF) vulnerability in the YunaiV/zhijiantianya ruoyi-vue-pro project through version 2026.08. The flaw resides in the AiKnowledgeDocumentServiceImpl.readUrl function within AiKnowledgeDocumentServiceImpl.java, part of the AI Knowledge Module. An authenticated remote attacker can manipulate the url argument to coerce the server into issuing arbitrary HTTP requests. According to VulDB, a public exploit has been released. The vendor was contacted prior to disclosure but did not respond.

Critical Impact

Attackers with low-privilege access can abuse the AI Knowledge document loader to probe internal networks, access cloud metadata endpoints, or interact with services otherwise unreachable from the public internet.

Affected Products

  • YunaiV/zhijiantianya ruoyi-vue-pro versions up to and including 2026.08
  • Component: AI Knowledge Module (AiKnowledgeDocumentServiceImpl.java)
  • Affected function: AiKnowledgeDocumentServiceImpl.readUrl

Discovery Timeline

  • 2026-09-24 - CVE-2026-97320 published to NVD
  • 2026-09-25 - Last updated in NVD database

Technical Details for CVE-2026-97320

Vulnerability Analysis

The vulnerability is a classic Server-Side Request Forgery ([CWE-918]) in an AI knowledge ingestion feature. The readUrl method accepts a user-supplied URL and fetches its contents server-side to index into the AI knowledge base. Because the URL is not restricted to an allowlist or validated against internal address ranges, an attacker can supply URLs targeting internal services. Typical SSRF targets include localhost services, internal admin consoles, and cloud instance metadata endpoints such as 169.254.169.254. The EPSS probability for this CVE is 0.201%, placing it in the 9th percentile for exploitation likelihood.

Root Cause

The root cause is missing input validation in AiKnowledgeDocumentServiceImpl.readUrl. The function trusts the url argument supplied by the authenticated caller and passes it directly to an HTTP client without filtering schemes, hostnames, or resolved IP addresses. No egress policy restricts the backend from reaching internal network segments.

Attack Vector

An authenticated user with access to the AI Knowledge document ingestion endpoint submits a crafted url value. The backend fetches the attacker-chosen destination and may return the response body to the attacker through the knowledge document. This allows internal port scanning, retrieval of unauthenticated internal API responses, and interaction with cloud metadata services.

No verified proof-of-concept code is reproduced here. Refer to the VulDB entry for CVE-2026-97320 and VulDB vulnerability record #409328 for technical submission details.

Detection Methods for CVE-2026-97320

Indicators of Compromise

  • Outbound HTTP requests from the ruoyi-vue-pro application server to RFC1918 ranges, loopback addresses, or 169.254.169.254.
  • AI Knowledge Module audit entries containing non-standard URL schemes or hostnames in the url field.
  • Unexpected knowledge documents whose content matches internal service banners or cloud metadata JSON structure.

Detection Strategies

  • Review application logs for calls to AiKnowledgeDocumentServiceImpl.readUrl and extract the submitted url argument for allowlist comparison.
  • Deploy web application firewall rules that inspect requests to AI knowledge ingestion endpoints for internal or metadata hostnames.
  • Correlate authenticated session identifiers with outbound DNS lookups to detect low-and-slow internal reconnaissance.

Monitoring Recommendations

  • Alert on application-origin connections to 127.0.0.0/8, 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, and link-local addresses.
  • Monitor cloud provider metadata service access logs where available (for example AWS IMDSv2 token requests from unexpected principals).
  • Baseline normal outbound destinations from the AI Knowledge Module and alert on deviations.

How to Mitigate CVE-2026-97320

Immediate Actions Required

  • Restrict access to the AI Knowledge document ingestion endpoint to trusted administrative users only.
  • Place the ruoyi-vue-pro backend behind an egress proxy that enforces an allowlist of permitted external destinations.
  • Enforce IMDSv2 with hop-limit 1 on cloud instances hosting the application to blunt metadata service abuse.

Patch Information

At the time of publication no vendor patch is referenced in the advisory. The vendor did not respond to the disclosure attempt according to VulDB. Monitor the project repository and the VulDB CVE-2026-97320 record for patch availability.

Workarounds

  • Disable the AI Knowledge Module URL ingestion feature if it is not required for business operations.
  • Implement a server-side URL validator that resolves the hostname, rejects private and loopback IP ranges, and permits only http and https schemes.
  • Route all outbound requests from the application through a filtering forward proxy that blocks internal destinations.
bash
# Example iptables egress restriction for the application host
iptables -A OUTPUT -m owner --uid-owner ruoyi -d 169.254.169.254 -j REJECT
iptables -A OUTPUT -m owner --uid-owner ruoyi -d 10.0.0.0/8 -j REJECT
iptables -A OUTPUT -m owner --uid-owner ruoyi -d 172.16.0.0/12 -j REJECT
iptables -A OUTPUT -m owner --uid-owner ruoyi -d 192.168.0.0/16 -j REJECT
iptables -A OUTPUT -m owner --uid-owner ruoyi -d 127.0.0.0/8 -j REJECT

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.