{"schemaVersion":3,"id":"CVE-2026-22786","aliases":["GHSA-3558-j79f-vvm6","GO-2026-4313"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2026-01-12T21:09:01.732Z","modified":"2026-01-13T19:15:06.777Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.3,"severity":"high","version":"4.0","versionLabel":"v4.0","source":"CVE.org","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","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":7.3,"severity":"high","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","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Go","score":8.6,"severity":"high","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","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":7.3,"severity":"high","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/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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01091,"percentile":0.64929,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0.02399999999999989,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.01067},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01091,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01091,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01091,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01091,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01091,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01091,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01091,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01091,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01091,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01091,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01091,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01091,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01091,"percentile":0.64929}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01091,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01091,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01091,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01091,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01091,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01091,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01091,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01091,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01091,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01091,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01091,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01091,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01091,"percentile":0.64929}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_FLIPPED-AURORA_GIN-VUE-ADMIN","name":"Gin Vue Admin","source":"github","url":"https://github.com/flipped-aurora/gin-vue-admin/security/advisories/GHSA-xxvh-9c87-pqjx","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","description":"The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/22.html"},{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type","description":"The product allows the upload or transfer of dangerous file types that are automatically processed within its environment.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/434.html"}],"affected":[{"vendor":"flipped-aurora","product":"gin-vue-admin","name":"gin-vue-admin","label":"gin-vue-admin","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 2.8.7","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 2.8.7","eol":null,"hubHref":"/vendor/flipped-aurora/gin-vue-admin"},{"vendor":"gin-vue-admin_project","product":"gin-vue-admin","name":"gin-vue-admin","label":"gin-vue-admin","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 2.8.7","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 2.8.7","eol":null,"hubHref":"/vendor/gin-vue-admin_project/gin-vue-admin"},{"vendor":"github.com/flipped-aurora","product":"gin-vue-admin","name":"github.com/flipped-aurora/gin-vue-admin","label":"gin-vue-admin","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/flipped-aurora/gin-vue-admin","purlType":"golang","versions":[{"text":"≤ 2.8.7","noFixRecorded":false,"fixedIn":null},{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"≤ 2.8.7 | All versions (No fix recorded)","eol":null,"hubHref":null}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/flipped-aurora/gin-vue-admin/security/advisories/GHSA-3558-j79f-vvm6","label":"github.com/flipped-aurora/gin-vue-admin/security/advisories/GHSA-3558-j79f-vvm6","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Advisory","Exploit","Vendor Advisory"]},{"url":"https://github.com/flipped-aurora/gin-vue-admin/commit/2242f5d6e133e96d1b359ac019bf54fa0e975dd5","label":"github.com/flipped-aurora/gin-vue-admin/commit/2242f5d6e133e96d1b359ac019bf54fa0e975dd5","hostname":"github.com","tags":["X Refsource MISC","WEB","FIX","Patch"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-22786","label":"nvd.nist.gov/vuln/detail/CVE-2026-22786","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/flipped-aurora/gin-vue-admin","label":"github.com/flipped-aurora/gin-vue-admin","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2026:21483-1","SUSE-SU-2026:0292-1"],"duplicates":[],"related":["OPENSUSE-SU-2026:21483-1","SUSE-SU-2026:0292-1"]},"timeline":[{"kind":"published","date":"2026-01-12T21:09:01.732Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-01-13T19:15:06.777Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":39,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T09:50:49.278Z","stale":false,"partial":false}}