{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2024-31457","published":"2024-04-09T18:15:10.263000Z","last_modified":"2026-06-17T07:28:27.753000Z","status":"Deferred","cvss":{"version":"3.1","score":7.7,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:N/I:H/A:H","source":"security-advisories@github.com","primary":false},"auth":true,"cwes":["CWE-22"],"cpes":[],"cpes_truncated":false,"vendors":["flipped-aurora"],"products":["flipped-aurora/gin-vue-admin"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial"},"epss":{"score":0.01149,"percentile":0.66684,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-gv3w-m57p-3wc4","ecosystem":"Go","name":"github.com/flipped-aurora/gin-vue-admin/server","purl":"pkg:golang/github.com/flipped-aurora/gin-vue-admin/server","ranges":[{"introduced":"0","fixed":"0.0.0-20240409100909-b1b7427c6ea6"}],"versions":[],"versions_truncated":false},{"advisory":"GO-2024-2702","ecosystem":"Go","name":"github.com/flipped-aurora/gin-vue-admin/server","purl":"pkg:golang/github.com/flipped-aurora/gin-vue-admin/server","ranges":[{"introduced":"0","fixed":"0.0.0-20240409100909-b1b7427c6ea6"}],"versions":[],"versions_truncated":false}],"severity":"high","priority_score":46,"links":{"html_es":"/es/cve/CVE-2024-31457/","html_en":"/en/cve/CVE-2024-31457/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-31457","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-31457"},"untrusted":{"vendor_name":"flipped-aurora","product_name":"gin-vue-admin","desc_en":"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 pseudoversion 0.0.0-20240407133540-7bc7c3051067, corresponding to version 2.6.1, has a code injection vulnerability in the backend. In the Plugin System -> Plugin Template feature, an attacker can perform directory traversal by manipulating the `plugName` parameter. They can create specific folders such as `api`, `config`, `global`, `model`, `router`, `service`, and `main.go` function within the specified traversal directory. Moreover, the Go files within these folders can have arbitrary code inserted based on a specific PoC parameter. The main reason for the existence of this vulnerability is the controllability of the PlugName field within the struct. Pseudoversion 0.0.0-20240409100909-b1b7427c6ea6, corresponding to commit b1b7427c6ea6c7a027fa188c6be557f3795e732b, contains a patch for the issue. As a workaround, one may manually use a filtering method available in the GitHub Security Advisory to rectify the directory traversal problem.","affected":[{"untrusted_vendor":"flipped-aurora","untrusted_product":"gin-vue-admin","versions":[]}],"references":[{"url":"https://github.com/flipped-aurora/gin-vue-admin/commit/b1b7427c6ea6c7a027fa188c6be557f3795e732b","tags":[]},{"url":"https://github.com/flipped-aurora/gin-vue-admin/security/advisories/GHSA-gv3w-m57p-3wc4","tags":[]},{"url":"https://pkg.go.dev/github.com/flipped-aurora/gin-vue-admin/server?tab=versions","tags":[]}]}}