CVE-2026-38812 SQL injection in n/a
An authenticated administrator can exploit SQL injection in the code generation module to access sensitive database information.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-38812?
CVE-2026-38812 is a critical SQL injection vulnerability in n/a, published on 15 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
RuoYi v4.8.2 is vulnerable to SQL Injection via the /tool/gen/createTable endpoint. The issue affects the code generation module and may allow an authenticated attacker with administrative privileges to access sensitive database information.
Weakness: CWE-89
Which versions are affected by CVE-2026-38812?
How do I fix CVE-2026-38812?
No fix has been published for CVE-2026-38812 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-38812 being exploited?
There is no known exploitation of CVE-2026-38812 in the wild and no public exploit code.
Public exploit code: 2 proofs of concept on GitHub.
Sources
Also known as GHSA-x5vx-6h7v-vj45.