CVE-2026-97321 SQL injection in ruoyi-vue-pro

Medium 5.3 Published Updated

Remote attackers can execute arbitrary SQL commands via the GoView data endpoint, potentially reading or modifying database contents.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-97321?

CVE-2026-97321 is a medium-severity SQL injection vulnerability in YunaiV ruoyi-vue-pro, published on 24 Sep 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A vulnerability has been found in YunaiV/zhijiantianya ruoyi-vue-pro up to 2026.08. The impacted element is the function GoViewDataServiceImpl.getDataBySQL of the file yudao-module-report/src/main/java/cn/iocoder/yudao/module/report/service/goview/GoViewDataServiceImpl.java of the component GoView Data Endpoint. Such manipulation of the argument sql leads to sql injection. The attack may be performed from remote. The exploit has been disclosed to the public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.

Weakness: CWE-89, CWE-74

Which versions are affected by CVE-2026-97321?

How do I fix CVE-2026-97321?

No fix has been published for CVE-2026-97321 yet. Limit exposure of the affected software until one is available.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2026-97321 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-97321 exists.

Sources

Also known as GHSA-286g-p8ff-85fj.

Is CVE-2026-97321 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free