CVE-2026-142506
Deferred Deferred - Pending Action

Path Traversal in CyberPanel Allows Arbitrary Directory Deletion

Vulnerability report for CVE-2026-142506, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-12-02

Last updated on: 2026-12-02

Assigner: VulnCheck

Description

CyberPanel before 3.0.9 contains a path traversal vulnerability in the cancelRemoteBackup handler in backup/backupManager.py that allows users with the remoteBackups permission to delete arbitrary directories via the unvalidated dir parameter. Attackers can send traversal sequences or space-separated paths in dir to POST /backup/cancelRemoteBackup, causing root-executed rm -rf to delete arbitrary server directories.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-12-02
Last Modified
2026-12-02
Generated
2026-12-03
AI Q&A
2026-12-02
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
usmannasir CyberPanel From 0 (inc) to 3.0.9 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-22 The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CyberPanel before version 3.0.9 has a path traversal vulnerability in the backup manager. The vulnerability is in the cancelRemoteBackup handler in backup/backupManager.py. Users with the remoteBackups permission can exploit this by sending a POST request to /backup/cancelRemoteBackup with a specially crafted dir parameter. This parameter is not properly validated, allowing attackers to include directory traversal sequences or space-separated paths. As a result, the server executes an rm -rf command with root privileges, potentially deleting arbitrary directories on the server.

Detection Guidance

Check CyberPanel logs for POST requests to /backup/cancelRemoteBackup with dir parameter containing path traversal sequences like ../ or space-separated paths. Monitor for unexpected directory deletions or unusual rm -rf commands executed as root.

Impact Analysis

This vulnerability allows attackers with remoteBackups permission to delete critical server directories, including system files. This can lead to complete server compromise, data loss, and service disruption. Attackers could target configuration files, databases, or application code, causing downtime and potential data breaches.

Compliance Impact

This vulnerability can lead to unauthorized data deletion or modification, violating GDPR's integrity and availability principles and HIPAA's requirements for protecting patient data. Organizations may face fines, legal action, and reputational damage if this vulnerability is exploited and results in data loss or unauthorized access.

Mitigation Strategies

Upgrade CyberPanel to version 3.0.9 or later. If immediate upgrade is not possible, restrict access to the /backup/cancelRemoteBackup endpoint and review user permissions to ensure only trusted users have remoteBackups access.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-142506. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...