{"cve":"CVE-2025-66292","nvd":{"published":"2026-01-15T17:16:04.570","modified":"2026-06-17T09:56:37.340","status":"Analyzed","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 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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","score":8.1},"cwes":["CWE-22","CWE-73"],"references":["https://github.com/donknap/dpanel/commit/cbda0d90204e8212f2010774345c952e42069119","https://github.com/donknap/dpanel/releases/tag/v1.9.2","https://github.com/donknap/dpanel/security/advisories/GHSA-vh2x-fw87-4fxq"],"products":["dpanel:dpanel"],"source":"nvd","synced_at":"2026-10-19T22:19:41.481987139+00:00"},"epss":{"cve":"CVE-2025-66292","score":0.00649,"percentile":0.51142,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-vh2x-fw87-4fxq","url":"https://osv.dev/vulnerability/GHSA-vh2x-fw87-4fxq","summary":"DPanel has an arbitrary file deletion vulnerability in /api/common/attach/delete interface","modified":"2026-02-03T02:56:24.035814Z","packages":[{"ecosystem":"Go","name":"github.com/donknap/dpanel","purl":"pkg:golang/github.com/donknap/dpanel","ranges":["<1.9.2"],"fixed":["1.9.2"]}]},{"id":"GO-2026-4318","url":"https://osv.dev/vulnerability/GO-2026-4318","summary":"DPanel has an arbitrary file deletion vulnerability in /api/common/attach/delete interface in github.com/donknap/dpanel","modified":"2026-03-03T04:57:52.265572Z","packages":[{"ecosystem":"Go","name":"github.com/donknap/dpanel","purl":"pkg:golang/github.com/donknap/dpanel","ranges":["<1.9.2"],"fixed":["1.9.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}