Skip to content
OpenAdvisories
High · 8.1 CVE-2025-66292 EUVD-2026-2730GHSA-vh2x-fw87-4fxqGO-2026-4318

DPanel has an arbitrary file deletion vulnerability in /api/common/attach/delete interface

Published Jan 15, 2026 · Updated Jan 15, 2026 · 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.

Affected products

VendorProductAffectedFixed
donknap dpanel < 1.9.2 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1
openSUSE Leap 15.6 govulncheck-vulndb 0.0.20260123T022811-150000.1.140.1 SUSE-SU-2026:0292-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/donknap/dpanel < 1.9.2 1.9.2 GHSA-vh2x-fw87-4fxq

Advisories 2

References