{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-66292","id":"CVE-2025-66292","title":"DPanel has an arbitrary file deletion vulnerability in /api/common/attach/delete interface","description":"DPanel is an open source server management panel written in Go. Prior to 1.9.2, DPanel has an arbitrary file deletion vulnerability in the /api/common/attach/delete interface. Authenticated users can delete arbitrary files on the server via path traversal. When a user logs into the administrative backend, this interface can be used to delete files. The vulnerability lies in the Delete function wit","descriptionLong":"DPanel is an open source server management panel written in Go. Prior to 1.9.2, DPanel has an arbitrary file deletion vulnerability in the /api/common/attach/delete interface. Authenticated users can delete arbitrary files on the server via path traversal. When a user logs into the administrative backend, this interface can be used to delete files. The vulnerability lies in the Delete function within the app/common/http/controller/attach.go file. The path parameter submitted by the user is directly passed to storage.Local{}.GetSaveRealPath and subsequently to os.Remove without proper sanitization or checking for path traversal characters (../). And the helper function in common/service/storage/local.go uses filepath.Join, which resolves ../ but does not enforce a chroot/jail. This vulnerability is fixed in 1.9.2.","published":"2026-01-15T16:19:55.507Z","updated":"2026-10-28T02:30:43.114439934Z","reserved":"2025-11-26T23:11:46.392Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","rating":"high","source":"GitHub_M"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","rating":"high","source":"github.com"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","rating":"high","source":"GitHub"}],"rating":"high","products":["donknap dpanel"],"affectedProducts":[{"vendor":"donknap","product":"dpanel","defaultStatus":null,"versions":[{"version":"< 1.9.2","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/donknap/dpanel","purl":"pkg:golang/github.com/donknap/dpanel","ranges":["<1.9.2"],"fixed":["1.9.2"],"advisory":"GHSA-vh2x-fw87-4fxq"}],"cwes":["CWE-22","CWE-73"],"aliases":["GHSA-vh2x-fw87-4fxq","GO-2026-4318"],"references":[{"url":"https://github.com/donknap/dpanel/security/advisories/GHSA-vh2x-fw87-4fxq","tags":["x_refsource_CONFIRM","Exploit","Vendor Advisory","advisory","web"]},{"url":"https://github.com/donknap/dpanel/commit/cbda0d90204e8212f2010774345c952e42069119","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/donknap/dpanel/releases/tag/v1.9.2","tags":["x_refsource_MISC","Release Notes","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/66xxx/CVE-2025-66292.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-66292","tags":["advisory"]},{"url":"https://github.com/donknap/dpanel","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00649,"epssPercentile":0.51936,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-66292","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-66292","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-66292","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-vh2x-fw87-4fxq","ok":true,"note":"GHSA-vh2x-fw87-4fxq"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-66292","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}