Traccar's unrestricted file upload vulnerability in device image upload could lead to remote code execution
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-434.
Summary
Traccar is an open source GPS tracking system. Traccar versions 5.1 through 5.12 allow arbitrary files to be uploaded through the device image upload API. Attackers have full control over the file contents, full control over the directory where the file is stored, full control over the file extension, and partial control over the file name. While it's not for an attacker to overwrite an existing file, an attacker can create new files with certain names and attacker-controlled extensions anywhere on the file system. This can potentially lead to remote code execution, XSS, DOS, etc. The default install of Traccar makes this vulnerability more severe. Self-registration is enabled by default, allowing anyone to create an account to exploit this vulnerability. Traccar also runs by default with root/system privileges, allowing files to be placed anywhere on the file system. Version 6.0 contains a fix for the issue. One may also turn off self-registration by default, as that would make most vulnerabilities in the application much harder to exploit by default and reduce the severity considerably.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA traccar (traccar) Fixed in 6.0
Timeline
- 2026-10-02 Threatist record created from CVE-2024-31214
References
More Traccar vulnerabilities
- TI-2026-20749 Traccar Vulnerable to Authorization Code Theft via Open Redirect in OIDC Provider Endpoints CVSS 3.1HIGH 8.7
- TI-2026-20748 Traccar Vulnerable to Stored Cross-Site Scripting (XSS) via Malicious SVG File Upload CVSS 3.1HIGH 8.7
- TI-2025-42386 Traccar Missing Origin Validation in WebSockets CVSS 3.1HIGH 7.1
- TI-2026-22026 traccar allows CSV formula injection via exported position data CVSS 3.1MEDIUM 6.5
- TI-2026-18945 Traccar vulnerable to Path Traversal and External Control of File Name or Path CVSS 3.1MEDIUM 6.5
- TI-2026-22071 traccar allows stored HTML injection in notification emails CVSS 3.1MEDIUM 5.4
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences