Vulnerabilities in pkg:golang/github.com/flipped-aurora/gin-vue-admin

PACKAGE
Advisory Identifier: GHSA-3558-j79f-vvm6
Advisory Summary

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

3 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:golang/github.com/flipped-aurora/gin-vue-admin

3 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:golang/github.com/flipped-aurora/gin-vue-admin. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-3558-j79f-vvm6 CVE-2026-22786 HIGH Gin-vue-admin has arbitrary file upload vulnerability caused by path traversal
GHSA-jrhg-82w2-vvj7 CVE-2025-66410 HIGH Gin-vue-admin has an arbitrary file deletion vulnerability
GHSA-x623-hr8h-7g5v CVE-2022-47762 HIGH Path Traversal in gin-vue-admin

CVE-2026-22786 at a Glance

CVE Identifier CVE-2026-22786
GHSA Identifier GHSA-3558-j79f-vvm6
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-434: Unrestricted Upload of File with Dangerous Type
Affected Product Github.com/flipped aurora/gin vue admin
Package Ecosystem Go
Published Date
Last Updated

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.

github.com/flipped-aurora/gin-vue-admin fixed: Latest secure release
Upgrade github.com/flipped-aurora/gin-vue-admin to Latest secure release
Verify Direct and Transitive Dependencies

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

### Impact 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. Path 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., ../). Notably, 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. An **attacker with file upload privileges (role ID 888 - super administrator)** could exploit this vulnerability by: First uploading file chunks through the /fileUploadAndDownload/breakpointContinue endpoint (which has proper validation) Then calling the /fileUploadAndDownload/breakpointContinueFinish endpoint with a malicious fileName parameter containing path traversal sequences (e.g., ../../../tmp/malicious.txt) This could lead to: Arbitrary file creation, application process, Configuration file overwriting, Potential Remote Code Execution...... ### POC 1. Use this endpoint to upload any files(include *name or *file types) <img width="1429" height="788" alt="Clipboard_Screenshot_1767755216" src="https://github.com/user-attachments/assets/516022d6-32af-4810-abd9-945cb0bc5ae5" /> 2. Then, the `filename` parameter here uses `../` to traverse to an arbitrary path. <img width="1445" height="306" alt="Clipboard_Screenshot_1767755256" src="https://github.com/user-attachments/assets/577aa1c1-9b26-4082-b431-f9dac1cdc307" /> 3. Proof <img width="837" height="843" alt="Clipboard_Screenshot_1767755312" src="https://github.com/user-attachments/assets/66f51049-8dc8-4c94-994e-a6d8bc1196a9" /> ### Patches Please wait for the latest patch

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?
CVE-2026-22786 is a security vulnerability in Github.com/flipped aurora/gin vue admin involving Gin-vue-admin has arbitrary file upload vulnerability caused by path traversal under CWE-434: Unrestricted Upload of File with Dangerous Type.
Which Github.com/flipped aurora/gin vue admin versions are affected?
Affected versions include releases prior to current release patches across affected packages: github.com/flipped-aurora/gin-vue-admin.
What version fixes CVE-2026-22786?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/flipped-aurora/gin-vue-admin affected?
Yes, github.com/flipped-aurora/gin-vue-admin is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What CWE is associated with CVE-2026-22786?
CVE-2026-22786 is classified under CWE-434: Unrestricted Upload of File with Dangerous Type (The product allows the upload or transfer of dangerous file types that are automatically processed within its environment.).
How can I check Go dependencies for CVE-2026-22786?
Run the dependency tree command: 'inspect dependencies for github.com/flipped-aurora/gin-vue-admin'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}