NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Go

CVE-2026-22786: Gin-vue-admin has arbitrary file upload vulnerability caused by path traversal

highCVSS 4.0 7.3GHSA-3558-j79f-vvm6

Impact Gin-vue-admin 2. Then, the filename parameter here uses ../ to traverse to an arbitrary path. 3. Proof Patches Please wait for the latest patch

Published Jan 13, 2026

Affected packages

github.com/flipped-aurora/gin-vue-admin

Ecosystem
Go
Affected
<= 2.8.7
Fixed in
No patched version yet
Check
go list -m github.com/flipped-aurora/gin-vue-admin

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

Impact

Gin-vue-admin <= v2.8.7 has a path traversal vulnerability in the breakpoint resume upload functionality. Attacker can upload any files on any directory.

Path traversal vulnerabilities occur when a web application accepts user-supplied file paths without proper validation, allowing attackers to access or write files outside the intended directory. In the breakpoint_continue.go file, the MakeFile function accepts a fileName parameter through the /fileUploadAndDownload/breakpointContinueFinish API endpoint and directly concatenates it with the base directory path (./fileDir/) using os.OpenFile() without any validation for directory traversal sequences (e.g., ../).

Notably, while the related makeFileContent function in the same file properly validates the fileName parameter by checking for .. sequences, the MakeFile function lacks this security control, indicating an inconsistent security implementation.

An attacker with file upload privileges (role ID 888 - super administrator) could exploit this vulnerability by:

First uploading file chunks through the /fileUploadAndDownload/breakpointContinue endpoint (which has proper validation)

Then calling the /fileUploadAndDownload/breakpointContinueFinish endpoint with a malicious fileName parameter containing path traversal sequences (e.g., ../../../tmp/malicious.txt)

This could lead to: Arbitrary file creation, application process, Configuration file overwriting, Potential Remote Code Execution......

POC

  1. Use this endpoint to upload any files(include *name or *file types)
  1. Then, the filename parameter here uses ../ to traverse to an arbitrary path.
  1. Proof

Patches

Please wait for the latest patch

Credited to D0ub1e-D.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Go vulnerabilities

All Go entries