RCE in Ruoyi

CVE-2024-46076

RuoYi v4.7.9 and before has a security flaw that allows escaping from comments within the code generation feature, enabling the injection of malicious code.

Vulnerability class: RCE (Remote Code Execution)

EPSS: 0.005 (38.6th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Affected products

  • Ruoyi
  • N/a — versions n/a

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2024-46076?
CVE-2024-46076 is a critical-severity vulnerability in Ruoyi, classified under Code Injection. CVSS score: 9.8/10. Published 2024-10-07.
How severe is CVE-2024-46076?
Critical severity. CVSS v3 base score is 9.8 out of 10.