CVE-2026-129247
Deferred Deferred - Pending Action

Path Traversal in RuoYi Code Generator

Vulnerability report for CVE-2026-129247, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-14

Last updated on: 2026-11-14

Assigner: VulDB

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-14
Last Modified
2026-11-14
Generated
2026-11-15
AI Q&A
2026-11-14
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 4 associated CPEs

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-22 The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a path traversal flaw in the RuoYi framework up to version 4.8.3. It exists in the VelocityUtils.getFileName function where manipulating the className argument allows an attacker to access files outside intended directories. The attack can be executed remotely.

Detection Guidance

Detecting this vulnerability requires checking for path traversal attempts in the VelocityUtils.getFileName function of RuoYi up to version 4.8.3. Monitor logs for unusual file access patterns or requests containing path traversal sequences like '../' in the className argument. Inspect network traffic for suspicious input to the Code Generator component.

Impact Analysis

An attacker could read sensitive files on the server, including configuration files, source code, or other restricted data. This may lead to further attacks like privilege escalation or data theft depending on the exposed files.

Compliance Impact

The vulnerability allows path traversal via manipulation of the className argument in VelocityUtils.getFileName, which could lead to unauthorized file access or manipulation. This may violate data protection requirements under GDPR (e.g., unauthorized access to personal data) and HIPAA (e.g., unauthorized access to protected health information).

Mitigation Strategies

Upgrade RuoYi to a version beyond 4.8.3 where the vulnerability is patched. If upgrading is not possible, restrict access to the Code Generator component and monitor for unusual file access patterns.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-129247. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...