CVE-2026-22786: Github.com/flipped aurora/gin vue admin Path Traversal Vulnerability
HIGHCVE-2026-22786 is a HIGH path traversal vulnerability (CWE-434: Unrestricted Upload of File with Dangerous Type) affecting Github.com/flipped aurora/gin vue admin libraries in the Go ecosystem. The issue involves gin-vue-admin has arbitrary file upload vulnerability caused by path traversal. Remediation is available in the latest vendor maintenance releases.
CVE-2026-22786 at a Glance
How to Fix CVE-2026-22786
To remediate this vulnerability, upgrade all affected Github.com/flipped aurora/gin vue admin dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/flipped-aurora/gin-vue-admin to Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/flipped-aurora/gin-vue-admin
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-22786, inspect your project dependencies for Github.com/flipped aurora/gin vue admin:
inspect dependencies for github.com/flipped-aurora/gin-vue-admin
Analyze the terminal output to locate any version of Github.com/flipped aurora/gin vue admin in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-434: Unrestricted Upload of File with Dangerous Type, where the product allows the upload or transfer of dangerous file types that are automatically processed within its environment. In Github.com/flipped aurora/gin vue admin, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-22786 Affected Github.com/flipped aurora/gin vue admin Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/flipped-aurora/gin-vue-admin
|
Go |
≤ 2.8.7
|
|
References
Frequently Asked Questions
What is CVE-2026-22786?
Which Github.com/flipped aurora/gin vue admin versions are affected?
What version fixes CVE-2026-22786?
Is github.com/flipped-aurora/gin-vue-admin affected?
What CWE is associated with CVE-2026-22786?
How can I check Go dependencies for CVE-2026-22786?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-3558-j79f-vvm6",
"modified" : "2026-01-13T19:15:13Z",
"published" : "2026-01-13T19:15:13Z",
"aliases" : [ "CVE-2026-22786" ],
"summary" : "Gin-vue-admin has arbitrary file upload vulnerability caused by path traversal",
"details" : "### Impact\nGin-vue-admin <= v2.8.7 has a path traversal vulnerability in the breakpoint resume upload functionality. Attacker can upload any files on any directory.\n\nPath traversal vulnerabilities occur when a web application accepts user-supplied file paths without proper validation, allowing attackers to access or write files outside the intended 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., ../).\n\nNotably, while the related makeFileContent function in the same file properly validates the fileName parameter by checking for .. sequences, the MakeFile function lacks this security control, indicating an inconsistent security implementation.\n\nAn **attacker with file upload privileges (role ID 888 - super administrator)** could exploit this vulnerability by:\n\nFirst uploading file chunks through the /fileUploadAndDownload/breakpointContinue endpoint (which has proper validation)\n\nThen calling the /fileUploadAndDownload/breakpointContinueFinish endpoint with a malicious fileName parameter containing path traversal sequences (e.g., ../../../tmp/malicious.txt)\n\nThis could lead to:\nArbitrary file creation, application process, Configuration file overwriting, Potential Remote Code Execution......\n\n### POC\n1. Use this endpoint to upload any files(include *name or *file types)\n<img width=\"1429\" height=\"788\" alt=\"Clipboard_Screenshot_1767755216\" src=\"https://github.com/user-attachments/assets/516022d6-32af-4810-abd9-945cb0bc5ae5\" />\n\n2. Then, the `filename` parameter here uses `../` to traverse to an arbitrary path. \n<img width=\"1445\" height=\"306\" alt=\"Clipboard_Screenshot_1767755256\" src=\"https://github.com/user-attachments/assets/577aa1c1-9b26-4082-b431-f9dac1cdc307\" />\n\n3. Proof\n<img width=\"837\" height=\"843\" alt=\"Clipboard_Screenshot_1767755312\" src=\"https://github.com/user-attachments/assets/66f51049-8dc8-4c94-994e-a6d8bc1196a9\" />\n\n\n### Patches\nPlease wait for the latest patch",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/flipped-aurora/gin-vue-admin"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "2.8.7"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/flipped-aurora/gin-vue-admin/security/advisories/GHSA-3558-j79f-vvm6"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-22786"
}, {
"type" : "WEB",
"url" : "https://github.com/flipped-aurora/gin-vue-admin/commit/2242f5d6e133e96d1b359ac019bf54fa0e975dd5"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/flipped-aurora/gin-vue-admin"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-22", "CWE-434" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-01-13T19:15:13Z",
"nvd_published_at" : "2026-01-12T22:16:08Z"
}
}