# CVE-2025-66292: DPanel has an arbitrary file deletion vulnerability in /api/common/attach/delete interface

- Severity: High 8.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.65%, higher than 52% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-01-15T16:19:55.507Z
- Modified: 2026-06-17T09:56:37.340Z
- Also known as: GHSA-vh2x-fw87-4fxq, GO-2026-4318
- Weaknesses: CWE-22, CWE-73
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- donknap dpanel: < 1.9.2
- github.com/donknap/dpanel (Go): before 1.9.2
- dpanel dpanel: before 1.9.2

## Every score

- GitHub_M: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H`
- GitHub: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H`

## References

- <https://github.com/donknap/dpanel/security/advisories/GHSA-vh2x-fw87-4fxq> (exploit, advisory, vendor-advisory, web)
- <https://github.com/donknap/dpanel/commit/cbda0d90204e8212f2010774345c952e42069119> (fix, patch, web)
- <https://github.com/donknap/dpanel/releases/tag/v1.9.2> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-66292> (advisory)
- <https://github.com/donknap/dpanel> (package)

## Sources

- CVE List: [CVE-2025-66292](https://www.cve.org/CVERecord?id=CVE-2025-66292), CVE Terms of Use, modified 2026-01-15
- GitHub Advisory Database: [GHSA-vh2x-fw87-4fxq](https://github.com/advisories/GHSA-vh2x-fw87-4fxq), CC-BY-4.0, modified 2026-02-03
- Go Vulnerability Database: [GO-2026-4318](https://pkg.go.dev/vuln/GO-2026-4318), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2025-66292](https://nvd.nist.gov/vuln/detail/CVE-2025-66292), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-66292 · Whole record: https://cve.day/CVE-2025-66292.json · Rebuilt by cve.day 2026-11-25T22:59:10.646Z
