{"id":"CVE-2026-22786","published":"2026-01-12T21:09:01Z","modified":"2026-01-13T19:15:06Z","title":"Gin-vue-admin has arbitrary file upload vulnerability caused by path traversal","vendor":"flipped-aurora","product":"gin-vue-admin","tier":"tail","description":{"text":"Gin-vue-admin is a backstage management system based on vue and gin. 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. 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., ../). An attacker with file upload privileges could exploit this vulnerability.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.3,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01091,"percentile":0.66258,"provenance":"source"},"cwes":[{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"},{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/flipped-aurora/gin-vue-admin/security/advisories/GHSA-3558-j79f-vvm6","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/flipped-aurora/gin-vue-admin/commit/2242f5d6e133e96d1b359ac019bf54fa0e975dd5","tags":["x_refsource_MISC"]}],"priority":{"score":18.4,"factors":[{"name":"EPSS percentile","points":13.25},{"name":"CVSS severity","points":5.11}]},"vendorSlug":"flipped-aurora","affectedVersions":[{"vendor":"flipped-aurora","product":"gin-vue-admin","versions":["<= 2.8.7"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-01-12T21:27:58.595756Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/flipped-aurora/gin-vue-admin","vulnerableRanges":["<=2.8.7","all versions"],"patched":[],"from":["GHSA-3558-j79f-vvm6","GO-2026-4313"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-2000","exploited":false,"provenance":"source"}}