CVE-2026-96678

6.3

weiqingwen · spring-boot-forum

A path traversal vulnerability in the avatar upload function of weiqingwen spring-boot-forum allows authenticated remote attackers to overwrite arbitrary files on the server.

Executive summary

A critical path traversal vulnerability in the weiqingwen spring-boot-forum application allows authenticated attackers to perform arbitrary file overwriting on the host system.

Vulnerability

The application fails to sanitize the username parameter during the avatar upload process in the validate function, enabling path traversal sequences. An authenticated user can leverage this flaw to escape the intended upload directory and overwrite critical system files.

Business impact

Successful exploitation of this vulnerability allows an attacker to overwrite arbitrary files, which could lead to full system compromise, application downtime, or the injection of malicious code. Although the CVSS score is 6.3, the potential for arbitrary file write elevates the risk significantly, as it provides a clear path for an attacker to gain elevated control over the server environment.

Remediation

Immediate Action: As there is no official patch provided by the vendor, administrators should restrict avatar upload functionality or implement strict input validation on the username field to reject any directory traversal characters.

Proactive Monitoring: Monitor server logs for suspicious requests to the avatar upload endpoint, particularly those containing encoded path traversal sequences like "../".

Compensating Controls: Deploy a Web Application Firewall (WAF) rule to block HTTP requests containing directory traversal patterns in the username field during avatar upload operations.

Exploitation status

Public Exploit Available: Yes — a published proof-of-concept exists, as documented in the GitHub issue referenced in the research write-up.

Analyst recommendation

Given the availability of a public proof-of-concept and the high impact of arbitrary file overwriting, this vulnerability poses a significant risk to the integrity of the host server. Organizations should immediately implement input validation or disable the affected feature until the vendor provides a formal security update or a stable release version is available.

History

  1. Analyst report written

Sources

Originally found and disclosed by silence. (VulDB User), with VulDB CNA Team (coordinator), per the CVE Program record.