{"id":"CVE-2025-66292","published":"2026-01-15T16:19:55Z","modified":"2026-01-15T16:44:51Z","title":"DPanel has an arbitrary file deletion vulnerability in /api/common/attach/delete interface","vendor":"donknap","product":"dpanel","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00756,"percentile":0.51375,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"},{"id":"CWE-73","name":"External Control of File Name or Path"}],"references":[{"url":"https://github.com/donknap/dpanel/security/advisories/GHSA-vh2x-fw87-4fxq","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/donknap/dpanel/commit/cbda0d90204e8212f2010774345c952e42069119","tags":["x_refsource_MISC"]},{"url":"https://github.com/donknap/dpanel/releases/tag/v1.9.2","tags":["x_refsource_MISC"]}],"priority":{"score":15.9,"factors":[{"name":"EPSS percentile","points":10.28},{"name":"CVSS severity","points":5.67}]},"vendorSlug":"donknap","affectedVersions":[{"vendor":"donknap","product":"dpanel","versions":["< 1.9.2"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-01-15T16:44:41.979186Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/donknap/dpanel","vulnerableRanges":["<1.9.2"],"patched":["1.9.2"],"from":["GHSA-vh2x-fw87-4fxq","GO-2026-4318"],"provenance":"source"}],"summary":{"text":"DPanel, an open source Go-based server management panel from donknap, contains a path traversal flaw in the Delete function of app/common/http/controller/attach.go, reached through the /api/common/attach/delete endpoint. The user-supplied path is passed to file removal without sanitisation or containment, so an authenticated user who can reach the administrative backend over the network can delete arbitrary files on the server.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:17:52Z"},"euvd":{"id":"EUVD-2026-2730","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-30206","published":"2025-04-15","fixed":"1.6.1","kev":false,"link":{"from":"CVE-2025-30206","to":"CVE-2025-66292","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/donknap/dpanel","fromFixed":"1.6.1","toFixed":"1.9.2","daysApart":275}]}},{"cve":"CVE-2025-66292","published":"2026-01-15","fixed":"1.9.2","kev":false}],"package":"Go:github.com/donknap/dpanel"}}