CVE-2025-66292CWE-22CWE-73

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

High · published January 15, 2026

CVSS v3.1
8.1
EPSS
1%
Percentile
50.6
In the wild
Unconfirmed
What it is

⚡ Authenticated users can stealthily delete ANY file on your server due to a sneaky path traversal flaw in DPanel! 🔥 Think of this as a janitor with access to all the rooms in a building, but without any security checks to stop them from tossing out important documents from the CEO's office — a serious oversight! An attacker with administrative access could wipe out crucial files, leading to potentially devastating data loss or disruption of services. This could leave your server crippled, affecting uptime and trust. 🚨 Don't let your server become a cleanup crew's nightmare!

Put simply

Think of this as a janitor with access to all the rooms in a building, but without any security checks to stop them from tossing out important documents from the CEO's office — a serious oversight! This vulnerability in DPanel allows authenticated users to exploit the `/api/common/attach/delete` interface, where the path parameter is not properly sanitized, leading to arbitrary file deletion via path traversal. The vulnerable Delete function fails to enforce adequate security checks when passing the path to `os.Remove`.

What to do

An attacker with administrative access could wipe out crucial files, leading to potentially devastating data loss or disruption of services. This could leave your server crippled, affecting uptime and trust. 🚨 Don't let your server become a cleanup crew's nightmare! Update DPanel to version 1.9.2 immediately to mitigate this risk. Additionally, consider implementing stricter path validation and a chroot/jail environment for sensitive file operations to strengthen your defenses. 🛡️ You've got this! With these steps, you'll have your server protected in no time! 🚀

The record
Technical detail
CVSS v3.1
8.1 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00649 · 50.6th percentile
Weaknesses
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'); CWE-73 · External Control of File Name or Path
Published
2026-01-15T16:19Z
EPSS history
Timeline
  • 15 JAN 16:19Z
    DPanel has an arbitrary file deletion vulnerability in /api/common/attach/delete interface
    cvelistv5