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

- Severity: Critical 9.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.77%, higher than 78% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2022-10-25T00:00:00.000Z
- Modified: 2026-06-17T04:58:11.013Z
- Also known as: GHSA-7gc4-r5jr-9hxv
- Weaknesses: CWE-22, CWE-23
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- flipped-aurora gin-vue-admin: < 2.5.4
- github.com/flipped-aurora/gin-vue-admin/server (Go): before 2.5.4
- gin-vue-admin_project gin-vue-admin: before 2.5.4

## Every score

- GitHub_M: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/flipped-aurora/gin-vue-admin/security/advisories/GHSA-7gc4-r5jr-9hxv> (exploit, third-party-advisory, web)
- <https://github.com/flipped-aurora/gin-vue-admin/blob/main/server/service/system/sys_auto_code.go> (exploit, third-party-advisory, web)
- <https://github.com/flipped-aurora/gin-vue-admin/issues/1263> (issue-tracking, third-party-advisory, web)
- <https://github.com/flipped-aurora/gin-vue-admin/pull/1264> (issue-tracking, patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-39345> (advisory)
- <https://github.com/flipped-aurora/gin-vue-admin> (package)

## Sources

- CVE List: [CVE-2022-39345](https://www.cve.org/CVERecord?id=CVE-2022-39345), CVE Terms of Use, modified 2025-04-22
- GitHub Advisory Database: [GHSA-7gc4-r5jr-9hxv](https://github.com/advisories/GHSA-7gc4-r5jr-9hxv), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2022-39345](https://nvd.nist.gov/vuln/detail/CVE-2022-39345), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-39345 · Whole record: https://cve.day/CVE-2022-39345.json · Rebuilt by cve.day 2026-11-25T22:58:15.997Z
