CVE-2026-22786
HIGH 7.3CVSS 4.0Gin-vue-admin has arbitrary file upload vulnerability caused by path traversal
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.
- Published
- 12 Jan 2026
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-22CWE-434
- Also known as
- GHSA-3558-j79f-vvm6GO-2026-4313
- Sources
- NVDJSONOSV GHSA-3558-j79f-vvm6JSONOSV GO-2026-4313JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | HIGH 7.3 | 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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | gin-vue-admin_project | gin-vue-admincpe:2.3:a:gin-vue-admin_project:gin-vue-admin:*:*:*:*:*:*:*:* |
<= 2.8.7 | |
| OSV | Go | github.com/flipped-aurora/gin-vue-admin | <= 2.8.7 | |
| OSV | Go | github.com/flipped-aurora/gin-vue-admin | all versions |
References
- https://github.com/flipped-aurora/gin-vue-admin/commit/2242f5d6e133e96d1b359ac019bf54fa0e975dd5 · Patch, WEB, FIX
- https://github.com/flipped-aurora/gin-vue-admin/security/advisories/GHSA-3558-j79f-vvm6 · Exploit, Vendor Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-22786 · ADVISORY
- https://github.com/flipped-aurora/gin-vue-admin · PACKAGE
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 12 Jan 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 23 Jan 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 13 Jan 2026)