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

High 7.3 Published Updated

Attackers with upload privileges can exploit path traversal in breakpoint resume uploads to write arbitrary files to any directory.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-22786?

CVE-2026-22786 is a high-severity path traversal vulnerability in flipped-aurora gin-vue-admin, published on 12 Jan 2026. An attacker needs administrator access to exploit it, with no action from the victim.

Official 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.

Weakness: CWE-434, CWE-22

Which versions are affected by CVE-2026-22786?

3 open source packages ship an affected version, including github.com/flipped-aurora/gin-vue-admin. It affects 1 product.

PackageAffectedFixed in
github.com/flipped-aurora/gin-vue-admin GoAll versionsNone
github.com/flipped-aurora/gin-vue-admin GoAll versions to 2.8.7None
github.com/flipped-aurora/gin-vue-admin GoAll versions to 2.8.7None

Products include Gin-Vue-Admin Project Gin-Vue-Admin.

How do I fix CVE-2026-22786?

Upgrade to a fixed version.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2026-22786 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-22786 exists.

Sources

Also known as GHSA-3558-j79f-vvm6, GO-2026-4313.

Is CVE-2026-22786 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free