CVE-2026-22786

CVE-2026-22786 is a high-severity vulnerability in Gin-vue-admin Project Gin-vue-admin with a CVSS 3.x base score of 7.2. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-22.

Key facts

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.

Frequently asked questions

What is CVE-2026-22786?
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.
How severe is CVE-2026-22786?
CVE-2026-22786 has a CVSS 3.x base score of 7.2, rated high severity. It is exploitable over network with low attack complexity, requires high privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
Is CVE-2026-22786 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (57th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2026-22786?
CVE-2026-22786 affects Gin-vue-admin Project Gin-vue-admin. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2026-22786?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
Does CVE-2026-22786 have an EU (EUVD) identifier?
Yes. CVE-2026-22786 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-2000.
When was CVE-2026-22786 published?
CVE-2026-22786 was published on 2026-01-12 and last updated on 2026-06-17.

References

Affected products (1)

More vulnerabilities in Gin-vue-admin Project Gin-vue-admin

All CVEs affecting Gin-vue-admin Project Gin-vue-admin →

Other CWE-22 (Path Traversal) vulnerabilities

Browse all CWE-22 (Path Traversal) vulnerabilities →