Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-114399 Overview
CVE-2026-114399 is a path traversal vulnerability [CWE-22] in Trudesk through version 1.2.11, an open-source help desk and ticketing platform. The flaw resides in the backup management API. Authenticated administrators can supply URL-encoded traversal sequences to DELETE /api/v1/backup/:backup and remove arbitrary files on the host. The same component accepts unvalidated file values in POST /api/v1/backup/restore, allowing archives to be restored from, or extracted to, paths outside the intended backup directories. The issue is tracked under CWE-22 (Improper Limitation of a Pathname to a Restricted Directory).
Critical Impact
Authenticated administrators can delete arbitrary files on the server and manipulate backup restore paths, enabling file tampering, service disruption, and potential code execution through overwritten application files.
Affected Products
- Trudesk through version 1.2.11
- src/controllers/backuprestore.js backup delete handler
- src/backup/restore.js restore extraction routine
Discovery Timeline
- 2026-10-21 - CVE-2026-114399 published to NVD
- 2026-10-22 - Last updated in NVD database
Technical Details for CVE-2026-114399
Vulnerability Analysis
Trudesk exposes two backup management endpoints that trust client-controlled path components. The DELETE /api/v1/backup/:backup route accepts a backup filename as a URL parameter and passes it to filesystem deletion logic without canonicalizing or validating the resolved path. When an attacker supplies URL-encoded traversal sequences such as %2E%2E%2F, the server decodes them and resolves the path outside the backup directory. The restore endpoint, POST /api/v1/backup/restore, accepts a file field in the request body and uses it to locate the archive and determine extraction targets. Neither handler enforces that the resolved path remains within the designated backup directory. Exploitation requires administrator privileges, which limits the attacker population to users with elevated roles or those who have compromised an administrator account.
Root Cause
The root cause is missing path canonicalization and allowlist validation in the backup controller and restore routine. User-supplied values flow directly into filesystem operations in src/controllers/backuprestore.js and src/backup/restore.js without resolving the final path against the intended base directory. See the GitHub Backup Restore Controller and GitHub Restore Function Code for the affected code paths.
Attack Vector
The attack vector is network-based and requires high privileges. An authenticated administrator sends a crafted DELETE request with encoded traversal sequences in the :backup path parameter to remove files outside the backup directory. For the restore vector, the attacker submits a POST request with a file value that resolves to an arbitrary archive location or triggers extraction into sensitive directories such as application source, configuration, or system paths. Successful exploitation can corrupt application files, delete logs or evidence, replace legitimate assets with attacker-controlled content, or cause denial of service by removing critical runtime files. Refer to the HackMD Trudesk Vulnerability Analysis and the VulnCheck Trudesk Advisory for additional technical detail.
Detection Methods for CVE-2026-114399
Indicators of Compromise
- Access log entries containing encoded traversal sequences such as %2E%2E%2F, %2e%2e/, or ..%2F in requests to /api/v1/backup/.
- Unexpected DELETE requests to /api/v1/backup/:backup where the parameter contains path separators or dot segments.
- POST /api/v1/backup/restore requests where the file field references paths outside the configured backup directory.
- Unexplained deletion or modification of files outside the Trudesk backup folder, especially under application, configuration, or log directories.
Detection Strategies
- Enable verbose HTTP access logging on the Trudesk reverse proxy and alert on traversal patterns targeting backup endpoints.
- Deploy file integrity monitoring on the Trudesk installation directory to flag unauthorized deletions or overwrites.
- Correlate administrator authentication events with subsequent backup API calls to identify abuse of valid credentials.
Monitoring Recommendations
- Forward web server and application logs to a centralized analytics platform and build detections for encoded path traversal signatures against the /api/v1/backup/* routes.
- Monitor administrator account activity, including session origin IP addresses and off-hours API usage.
- Track filesystem change events on the host running Trudesk and alert on deletions outside expected backup paths.
How to Mitigate CVE-2026-114399
Immediate Actions Required
- Restrict network access to the Trudesk administrative interface and backup API to trusted management networks only.
- Audit administrator accounts, rotate credentials, and enforce multi-factor authentication where supported.
- Review web server access logs for prior exploitation attempts against DELETE /api/v1/backup/:backup and POST /api/v1/backup/restore.
- Validate the integrity of the Trudesk installation directory and system files against a known-good baseline.
Patch Information
No vendor patch is referenced in the NVD entry for versions beyond 1.2.11. Monitor the GitHub Trudesk Repository for upstream fixes and apply updates when released. Until a patched release is available, apply the workarounds below.
Workarounds
- Place Trudesk behind a reverse proxy (such as nginx or HAProxy) and block requests to /api/v1/backup/ paths containing encoded or literal traversal sequences.
- Run the Trudesk process under a dedicated low-privilege user account with filesystem permissions limited to its own installation and backup directories.
- Mount the backup directory on a separate filesystem and remove write permissions on application and system directories for the Trudesk service account.
- Disable or firewall off the backup restore endpoint if the feature is not operationally required.
# Example nginx rule to block encoded traversal against the backup API
location ~* ^/api/v1/backup/ {
if ($request_uri ~* "(\.\./|%2e%2e%2f|%2E%2E%2F|%2e%2e/|\.\.%2f)") {
return 403;
}
proxy_pass http://trudesk_upstream;
}
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

