{"cve":"CVE-2026-22786","nvd":{"published":"2026-01-12T22:16:08.190","modified":"2026-06-17T10:20:25.513","status":"Analyzed","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.","cvss_v4":{"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","score":7.3},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","score":7.2},"cwes":["CWE-22","CWE-434"],"references":["https://github.com/flipped-aurora/gin-vue-admin/commit/2242f5d6e133e96d1b359ac019bf54fa0e975dd5","https://github.com/flipped-aurora/gin-vue-admin/security/advisories/GHSA-3558-j79f-vvm6"],"products":["gin-vue-admin_project:gin-vue-admin"],"source":"nvd","synced_at":"2026-10-19T22:19:41.481987139+00:00"},"epss":{"cve":"CVE-2026-22786","score":0.01091,"percentile":0.65419,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-3558-j79f-vvm6","url":"https://osv.dev/vulnerability/GHSA-3558-j79f-vvm6","summary":"Gin-vue-admin has arbitrary file upload vulnerability caused by path traversal","modified":"2026-02-03T03:01:02.653500Z","packages":[{"ecosystem":"Go","name":"github.com/flipped-aurora/gin-vue-admin","purl":"pkg:golang/github.com/flipped-aurora/gin-vue-admin","ranges":["<=2.8.7"],"fixed":[]}]},{"id":"GO-2026-4313","url":"https://osv.dev/vulnerability/GO-2026-4313","summary":"Gin-vue-admin has arbitrary file upload vulnerability caused by path traversal in github.com/flipped-aurora/gin-vue-admin","modified":"2026-03-03T04:57:50.953142Z","packages":[{"ecosystem":"Go","name":"github.com/flipped-aurora/gin-vue-admin","purl":"pkg:golang/github.com/flipped-aurora/gin-vue-admin","ranges":["all versions"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}