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

- Severity: High 7.3 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.09%, higher than 66% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-01-12T21:09:01.732Z
- Modified: 2026-06-17T10:20:25.513Z
- Also known as: GHSA-3558-j79f-vvm6, GO-2026-4313
- Weaknesses: CWE-22, CWE-434
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- flipped-aurora gin-vue-admin: <= 2.8.7
- github.com/flipped-aurora/gin-vue-admin (Go): up to 2.8.7; all versions
- gin-vue-admin_project gin-vue-admin: up to 2.8.7

## Every score

- GitHub_M: CVSS:4.0 7.3 High `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`
- GitHub: CVSS:4.0 High `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: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/flipped-aurora/gin-vue-admin/security/advisories/GHSA-3558-j79f-vvm6> (exploit, advisory, vendor-advisory, web)
- <https://github.com/flipped-aurora/gin-vue-admin/commit/2242f5d6e133e96d1b359ac019bf54fa0e975dd5> (fix, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-22786> (advisory)
- <https://github.com/flipped-aurora/gin-vue-admin> (package)

## Sources

- CVE List: [CVE-2026-22786](https://www.cve.org/CVERecord?id=CVE-2026-22786), CVE Terms of Use, modified 2026-01-13
- GitHub Advisory Database: [GHSA-3558-j79f-vvm6](https://github.com/advisories/GHSA-3558-j79f-vvm6), CC-BY-4.0, modified 2026-02-03
- Go Vulnerability Database: [GO-2026-4313](https://pkg.go.dev/vuln/GO-2026-4313), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2026-22786](https://nvd.nist.gov/vuln/detail/CVE-2026-22786), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-22786 · Whole record: https://cve.day/CVE-2026-22786.json · Rebuilt by cve.day 2026-11-25T22:59:12.736Z
