{"id":"CVE-2025-66292","state":"PUBLISHED","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 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.","publishedAt":"2026-01-15T16:19:55.507Z","updatedAt":"2026-01-15T16:44:51.018Z","severity":{"score":8.1,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["donknap dpanel"],"affected":[{"vendor":"donknap","product":"dpanel","versions":[{"version":"< 1.9.2","status":"affected"}]}],"references":["https://github.com/donknap/dpanel/security/advisories/GHSA-vh2x-fw87-4fxq","https://github.com/donknap/dpanel/commit/cbda0d90204e8212f2010774345c952e42069119","https://github.com/donknap/dpanel/releases/tag/v1.9.2"],"weaknesses":["CWE-22","CWE-73"],"ingestedAt":"2026-10-29T20:09:56.034Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/66xxx/CVE-2025-66292.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-66292","state":"PUBLISHED","datePublished":"2026-01-15T16:19:55.507Z","dateUpdated":"2026-01-15T16:44:51.018Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2025-11-26T23:11:46.392Z"},"containers":{"cna":{"title":"DPanel has an arbitrary file deletion vulnerability in /api/common/attach/delete interface","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"donknap","product":"dpanel","versions":[{"version":"< 1.9.2","status":"affected"}]}],"references":[{"url":"https://github.com/donknap/dpanel/security/advisories/GHSA-vh2x-fw87-4fxq","name":"https://github.com/donknap/dpanel/security/advisories/GHSA-vh2x-fw87-4fxq","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/donknap/dpanel/commit/cbda0d90204e8212f2010774345c952e42069119","name":"https://github.com/donknap/dpanel/commit/cbda0d90204e8212f2010774345c952e42069119","tags":["x_refsource_MISC"]},{"url":"https://github.com/donknap/dpanel/releases/tag/v1.9.2","name":"https://github.com/donknap/dpanel/releases/tag/v1.9.2","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.1,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","lang":"en","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-73","lang":"en","description":"CWE-73: External Control of File Name or Path","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-01-15T16:19:55.507Z"},"source":{"advisory":"GHSA-vh2x-fw87-4fxq","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-01-15T16:44:41.979186Z","id":"CVE-2025-66292","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-01-15T16:44:51.018Z"}}]}}}