CVE-2026-129247 yangzongzhuan RuoYi Code Generator VelocityUtils.java VelocityUtils.getFileName path traversal

Medium 5.1 Published Updated

Remote attackers can manipulate the className argument in RuoYi's code generator to traverse paths and access files.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Harmful if only installed
No
Needs a specific call
No
Fix
None listed

What is CVE-2026-129247?

CVE-2026-129247 is a medium-severity path traversal vulnerability in yangzongzhuan RuoYi, published on 14 Nov 2026. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

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.

Weakness: CWE-22

Which versions are affected by CVE-2026-129247?

It affects 1 product.

An affected version is exposed as installed. No special setting or call is needed.

Products include RuoYi.

How do I fix CVE-2026-129247?

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

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2026-129247 being exploited?

There is no known exploitation of CVE-2026-129247 in the wild and no public exploit code.

Sources

Also known as GHSA-pmfm-qq4h-fg4c.

Is CVE-2026-129247 in your software?

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

Check your SBOMs for free