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-114402 Overview
CVE-2026-114402 is a path traversal and authorization bypass vulnerability in Trudesk through version 1.2.11. The flaw resides in the accountsController.uploadImage function, which processes avatar uploads using form-supplied _id and username fields. Authenticated users can overwrite other users' avatars and write files outside the intended public/uploads/users directory. The incomplete sanitization introduced in CVE-2022-1752 fails to block crafted username values such as /../../../x. Attackers can write png, jpg, jpeg, or gif files to arbitrary filesystem locations accessible to the Trudesk process. The weakness is tracked under CWE-22.
Critical Impact
Authenticated attackers can overwrite other users' avatars and plant image files at arbitrary filesystem paths, impacting integrity of user data and application resources.
Affected Products
- Trudesk through version 1.2.11
- Trudesk accountsController.uploadImage endpoint
- Deployments relying on the incomplete CVE-2022-1752 sanitization
Discovery Timeline
- 2026-10-21 - CVE-2026-114402 published to NVD
- 2026-10-22 - Last updated in NVD database
Technical Details for CVE-2026-114402
Vulnerability Analysis
Trudesk is an open-source help desk and ticketing application. The accountsController.uploadImage handler in src/controllers/accounts.js (lines 454-553 in the v1.2.11 tag) processes profile image uploads. The handler accepts the _id and username values directly from the multipart form rather than resolving them from the authenticated session. An attacker authenticated at any privilege level can therefore target another user's _id to overwrite that user's avatar, bypassing authorization checks.
The handler also constructs the destination filename and path using the username field. Although the CVE-2022-1752 fix added sanitization, the filter is incomplete and does not neutralize traversal sequences embedded in username. Supplying a value like /../../../x causes the resulting path to escape public/uploads/users and write to locations chosen by the attacker. Permitted extensions are limited to png, jpg, jpeg, and gif, which constrains payload content but still enables integrity attacks against web-served assets.
Root Cause
The root cause is twofold: trusting client-supplied identity fields (_id, username) for both authorization and filesystem path construction, and reusing the incomplete sanitization logic from the earlier CVE-2022-1752 patch. The code does not validate that the _id matches the authenticated session and does not normalize the resulting path against the intended upload directory.
Attack Vector
Exploitation requires only valid authenticated credentials and network access to the Trudesk web interface. An attacker submits a crafted POST request to the avatar upload endpoint with a target _id belonging to another user and a username value containing path traversal sequences. The server writes the uploaded image file to the attacker-controlled location, overwriting any existing file of the same name that the Trudesk process can modify.
See the VulnCheck Trudesk Advisory and the HackMD Multiple Vulnerabilities in Trudesk write-up for the full request structure and parameter details.
Detection Methods for CVE-2026-114402
Indicators of Compromise
- Image files (png, jpg, jpeg, gif) present outside public/uploads/users and owned by the Trudesk process account.
- HTTP requests to the avatar upload endpoint containing username form fields with ../, ..\, or leading / characters.
- Unexpected modification timestamps on existing user avatar files that do not correlate with legitimate profile activity.
- Multipart upload bodies where the supplied _id does not match the authenticated session identifier.
Detection Strategies
- Inspect web server and reverse proxy logs for POST requests to the Trudesk account image upload route with suspicious form parameter values.
- Compare the _id parameter from upload events against the session user identifier and alert on mismatches.
- Scan the Trudesk deployment directory for image files written outside the expected public/uploads/users tree.
Monitoring Recommendations
- Enable filesystem integrity monitoring on the Trudesk application root, especially the public/uploads/ tree and configuration directories.
- Forward application and web server logs to a centralized analytics platform and alert on multipart uploads containing traversal sequences in form fields.
- Track authentication events alongside upload activity to identify low-privilege accounts attempting cross-user modifications.
How to Mitigate CVE-2026-114402
Immediate Actions Required
- Restrict network access to Trudesk to trusted users while a fix is evaluated and deployed.
- Review existing user accounts and disable any that are not required, reducing the pool of authenticated attackers.
- Audit the public/uploads/users directory and the broader Trudesk filesystem for unexpected image files written outside the expected location.
- Rotate credentials for any user whose avatar or profile data appears to have been tampered with.
Patch Information
At the time of publication, no fixed release is identified in the NVD entry for Trudesk through 1.2.11. Monitor the GitHub Trudesk Repository for a patched release and review the vulnerable handler at accounts.js L454-L553. Operators should also consult the VulnCheck Trudesk Advisory for the latest remediation guidance.
Workarounds
- Place Trudesk behind a reverse proxy or web application firewall that blocks multipart form fields containing ../, ..\, or leading slash characters in username values.
- Deploy a local patch that derives _id and username from the authenticated session instead of the submitted form data.
- Enforce canonical path resolution in the upload handler and reject any destination that does not resolve inside public/uploads/users.
- Run Trudesk under a dedicated low-privilege account with write access limited to the uploads directory to contain the blast radius of traversal writes.
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

