Read the docs

Path traversal in RuoYi Code Generator via className argument

Priority LOW 24CWE-22Published · Updated

Key facts

Attack vector
Network
Privileges required
High
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
—
Confidentiality · integrity · availability
Low · Low · Low
Fix status
No fix listed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA.

Summary

yangzongzhuan RuoYi versions up to and including 4.8.3 are affected in the Code Generator component. Manipulating the className argument of the VelocityUtils.getFileName function causes path traversal (CWE-22). A remote attacker with high privileges can trigger it, with low impact on confidentiality, integrity and availability.

Written with Claude Haiku 5.5 from the sources below · 2026-11-14

Description from the CNA

A security flaw has been discovered in yangzongzhuan RuoYi up to 4.8.3. Impacted is the function VelocityUtils.getFileName of the file VelocityUtils.java of the component Code Generator. Performing a manipulation of the argument className results in path traversal. The attack is possible to be carried out remotely.

Why it matters now

EPSS 0.00442 38th percentileScored 2026-11-16
Fix No fix listed No fixed version in the sources yet

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
yangzongzhuanRuoYi4.8.0; 4.8.1; 4.8.2; 4.8.3—No fix listedCNA
  • RuoYi Vendoryangzongzhuan Affected 4.8.0; 4.8.1; 4.8.2; 4.8.3 Fixed in — No fix listed CNA

CPE names CNA · 1

CPEVersionsRoleVendor
cpe:2.3:a:ruoyi:ruoyi:*:*:*:*:*:*:*:*——yangzongzhuan
  • cpe:2.3:a:ruoyi:ruoyi:*:*:*:*:*:*:*:* Versions — — ·yangzongzhuan

Remediation

The sources list no fixed version for RuoYi.

Written with Claude Haiku 5.5 from the sources below · 2026-11-14

Timeline

  1. 2026-11-14 Threatist record created from CVE-2026-129247
  2. 2026-11-14 Alias added: GHSA-pmfm-qq4h-fg4c

References

—

  • TI-2025-20797 An issue in RUoYi v.4.8.0 allows a remote attacker to escalate privileges via the SysDictTypeController component CVSS 3.1CRITICAL 9.8
  • TI-2025-20796 An issue in RUoYi v.4.8.0 allows a remote attacker to escalate privileges via the… CVSS 3.1CRITICAL 9.8
  • TI-2025-20795 An issue in RUoYi v.4.8.0 allows a remote attacker to escalate privileges via the editSave method in /tool/gen/editSave CVSS 3.1CRITICAL 9.8
  • TI-2025-20794 An issue in RUoYi v.4.8.0 allows a remote attacker to escalate privileges via the… CVSS 3.1CRITICAL 9.8
  • TI-2025-20792 An issue in RUoYi v.4.8.0 allows a remote attacker to escalate privileges via the… CVSS 3.1CRITICAL 9.8
  • TI-2025-20790 An issue in RUoYi v.4.8.0 allows a remote attacker to escalate privileges via the jobLogId parameter CVSS 3.1CRITICAL 9.8
See all 67 →

Sources