Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to Trudesk as low-priv user
-
DeliverySubmit avatar upload with crafted _id/username
-
ExploitBypass incomplete CVE-2022-1752 sanitization
-
ExecutionWrite image file outside uploads directory
-
ImpactOverwrite another user's avatar / arbitrary path
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires an authenticated Trudesk account (PR:L) with access to the profile avatar upload endpoint (accountsController.uploadImage). The attacker must be able to submit the image-upload form and control the _id and username fields, supplying a path-traversal username (e.g., /../../../x) to defeat the incomplete CVE-2022-1752 sanitization. Exploitation is limited to writing files with png, jpg, jpeg, or gif extensions, and affects Trudesk versions through 1.2.11. Limiting factors: valid credentials are mandatory (no unauthenticated path), the write is constrained to image file extensions, and no user interaction by a victim is needed. |
| Impact | This is a moderate, authentication-gated integrity issue rather than a top-tier priority. The provided CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N) is internally consistent with the description: network-reachable, low complexity, but requires an authenticated low-privileged account (PR:L) and yields only limited integrity impact (VI:L) with no confidentiality or availability loss. The vendor-assigned 5.3 (Medium) aligns with these metrics - there is no high-CVSS-vs-low-real-risk contradiction here. No EPSS score, KEV listing, or explicitly flagged POC was supplied, so there is no signal of active or widespread exploitation; exploitation requires a valid Trudesk login, which bounds the threat to users who already have authenticated access (e.g., any registered agent/end-user in a self-service deployment). One nuance to verify: the description frames this as a bypass of the incomplete CVE-2022-1752 fix and permits writing files outside public/uploads/users, which is arbitrary-file-write behavior; the restriction to image extensions (png/jpg/jpeg/gif) is the main factor limiting escalation to code execution, so VI:L (rather than a higher integrity rating) appears appropriate but the real-world blast radius depends on where writable paths lead on the host. |
| Exploit ScenarioDerived | A logged-in Trudesk user (even a low-privilege account) submits a profile-image upload request while tampering with the form-supplied _id and username fields, setting username to a traversal string such as /../../../x. Because the CVE-2022-1752 sanitization is incomplete, the request writes the uploaded image outside public/uploads/users or overwrites another user's avatar, bypassing authorization. A linked HackMD write-up documents the vulnerability, but no confirmed public exploit code is flagged in the provided data. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 21, 2026
Path traversal in Trudesk through 1.2.11 allows any authenticated user to overwrite other accounts' avatar images by tampering with the _id and username fields of the profile image upload form. The flaw is an incomplete fix for CVE-2022-1752: a username such as /../../../x escapes the intended public/uploads/users directory, though writes are constrained to png, jpg, jpeg, and gif files and no confidentiality or availability impact is assessed (CVSS 5.3, PR:L, UI:N). No public exploit code or confirmed active exploitation was identified at time of analysis, and the issue is a moderate, authentication-gated integrity problem rather than a top-tier priority.
RemediationAI
No vendor-released patch was identified at time of analysis, and the referenced GitHub source and advisory links do not provide an exact fixed version. Until a patched release is available, the primary mitigation is to change accountsController.uploadImage so the destination path is derived from the authenticated session user's ID rather than from form-supplied _id and username values; if administrators must edit other users' avatars, add an explicit elevated-permission code path. As a second control, canonicalize the resolved path with path.resolve and reject any result that does not remain inside public/uploads/users, and reject usernames containing path separators or dot-segments; the trade-off is that legacy usernames with slashes or unusual characters may need migration or an allowlist exception. Enforce a server-side authorization check that the supplied _id matches the session user unless the caller holds an admin role, which closes the authorization-bypass half of the issue. Additionally, keep the image-extension allowlist and verify file content or re-encode uploads to strip embedded payloads, since the extension restriction already limits but does not eliminate abuse. Restrict filesystem permissions on the upload directory to prevent execution and monitor for writes outside expected avatar paths; these controls reduce exposure but do not replace a vendor fix, so track the upstream repository and the VulnCheck advisory (https://www.vulncheck.com/advisories/trudesk-through-1.2.11-path-traversal-and-authorization-bypass-via-profile-image-upload) for a patched release.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Trudesk is a Node.js help-desk application; the vulnerable logic sits in accountsController.uploadImage in src/controllers/accounts.js (lines 454-553), which builds the destination path for uploaded avatar images from user-controlled form fields rather than from the authenticated session identity. CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) applies because the sanitization introduced for CVE-2022-1752 does not fully neutralize dot-segment and separator sequences, so a username like /../../../x redirects the write outside public/uploads/users. The CVSS 4.0 vector AV:N/AC:L/AT:N/PR:L/UI:N with VC:N/VI:L/VA:N confirms a network-reachable, low-privilege, no-interaction attack whose only assessed impact is limited integrity loss; the extension allowlist (png, jpg, jpeg, gif) narrows what can be written. The CPE cpe:2.3:a:polonel:trudesk:*:*:*:*:*:*:*:* identifies the Polonel Trudesk product but does not encode a version boundary, so the description's 'through 1.2.11' range is the authoritative affected-version statement.
Know when Trudesk gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
Network-reachable endpoint with low complexity but requires an authenticated account (PR:L); impact is limited integrity (I:L) from overwriting/writing image files, with no confidentiality or availability loss.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
Trudesk through 1.2.11 contains a path traversal and authorization bypass vulnerability in accountsController.uploadImage that allows authenticated users to overwrite other users' avatars via form-supplied _id and username fields. Attackers can supply a username like /../../../x to bypass the incomplete CVE-2022-1752 sanitization and write png, jpg, jpeg, or gif files outside public/uploads/users.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Unrestricted Upload of File with Dangerous Type in GitHub repository polonel/trudesk prior to 1.2.4. Rated critical seve
Incorrect Use of Privileged APIs in GitHub repository polonel/trudesk prior to 1.2.4. Rated critical severity (CVSS 9.8)
Weak Password Requirements in GitHub repository polonel/trudesk prior to 1.2.2. Rated critical severity (CVSS 9.8), this
Execution with Unnecessary Privileges in GitHub repository polonel/trudesk prior to 1.2.3. Rated high severity (CVSS 8.8
Improper Privilege Management in GitHub repository polonel/trudesk prior to 1.2.2. Rated high severity (CVSS 8.8), this
Incorrect Synchronization in GitHub repository polonel/trudesk prior to 1.2.3. Rated high severity (CVSS 8.1), this vuln
Unrestricted Upload of File with Dangerous Type in GitHub repository polonel/trudesk prior to 1.2.2. Rated high severity
The trudesk application allows large characters to insert in the input field "Full Name" on the signup field which can a
Improper Restriction of Rendered UI Layers or Frames in GitHub repository polonel/trudesk prior to 1.2.2. Rated medium s
Use of Incorrect Operator in GitHub repository polonel/trudesk prior to 1.2.3. Rated medium severity (CVSS 6.5), this vu
Integer Overflow or Wraparound in GitHub repository polonel/trudesk prior to 1.2.2. Rated medium severity (CVSS 6.5), th
Allowing long password leads to denial of service in polonel/trudesk in GitHub repository polonel/trudesk prior to 1.2.2
EUVD-2026-107249
GHSA-2xw4-xqvw-cxg5
NVD
CVE.org
EPSS
Exploit-DB