Skip to content
Heist/ feed
Back to feed
High

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

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-66292
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 05:42 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 15 Jan 2026, 16:19 UTC

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.

osv:CVE-2025-66292
Complete source record
{
  "id": "292bb30e5e043172c0db57260addabaae54d578112499ed6ce057f76161909a6",
  "url": "https://osv.dev/vulnerability/CVE-2025-66292",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DPanel has an arbitrary file deletion vulnerability in /api/common/attach/delete interface",
    "summary": "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.",
    "evidence": "osv:CVE-2025-66292",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2025-66292",
      "aliases": [
        "CVE-2025-66292",
        "GHSA-vh2x-fw87-4fxq",
        "GO-2026-4318"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/donknap/dpanel",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "cc6998b714bfb9a854bf1b314f368b49462997d7"
                },
                {
                  "fixed": "cbda0d90204e8212f2010774345c952e42069119"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:dpanel:dpanel:*:*:*:*:*:go:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.9.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "cbda0d90204e8212f2010774345c952e42069119"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "cc6998b714bfb9a854bf1b314f368b49462997d7"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v1.9.2"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v1.9.1.3",
            "v1.9.1.2",
            "v1.9.1.1",
            "v1.9.1",
            "v1.8.1.1",
            "v1.8.1",
            "v1.8.0",
            "v1.7.3.2",
            "v1.7.3.1",
            "v1.7.3",
            "v1.7.2",
            "v1.7.1",
            "toolchains-v1",
            "v1.7.0",
            "v1.6.4",
            "v1.6.3.2",
            "v1.6.3.1",
            "v1.6.3",
            "v1.6.1",
            "v1.6.0",
            "v1.5.4",
            "v1.5.3",
            "v1.5.2",
            "v1.5.1",
            "v1.5.0",
            "v1.4.1",
            "v1.4.0",
            "v1.3.4",
            "v1.3.3",
            "v1.3.2",
            "v1.3.1",
            "v1.3.0",
            "v1.2.6",
            "v1.2.5",
            "v1.2.4",
            "v1.2.3",
            "v1.2.2",
            "v1.2.1",
            "v1.2.0",
            "v1.1.4",
            "v1.1.3",
            "v1.1.2",
            "v1.1.1",
            "v1.1.0",
            "v1.0.4.2",
            "v1.0.4.1",
            "v1.0.4",
            "v1.0.3",
            "v1.0.2.4",
            "v1.0.2.1",
            "v1.0.2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-66292.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:43.114439934Z",
      "provider": "osv",
      "references": [
        "https://github.com/donknap/dpanel/releases/tag/v1.9.2",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/66xxx/CVE-2025-66292.json",
        "https://github.com/donknap/dpanel/security/advisories/GHSA-vh2x-fw87-4fxq",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-66292",
        "https://github.com/donknap/dpanel/commit/cbda0d90204e8212f2010774345c952e42069119"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-22",
          "CWE-73"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/66xxx/CVE-2025-66292.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-66292",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 510772,
  "published_at": "2026-01-15T16:19:55.507+00:00"
}