Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2024-31214

CRITICAL 9.7EPSS 95%

Traccar's unrestricted file upload vulnerability in device image upload could lead to remote code execution

Mitigation

  • Upgrade traccar to 6.0 or later.

Who should check

  • Anyone running traccar >= 5.1, < 6.0

Vulnerability facts

Affected
traccar >= 5.1, < 6.0
Fixed in
traccar 6.0
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
9.7 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: None
  • User interaction: Required
  • Scope: Changed (impact reaches other components)
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
6.47% chance of exploitation in 30 days (percentile 95, 2026-11-26)
CWE
CWE-434
Published
Modified

Description

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.

Affected and fixed versions

Package / productAffectedFixedSource
traccar>= 5.1, < 6.0—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2024-31214. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-31214.md
Affected: traccar >= 5.1, < 6.0
Fixed in: traccar 6.0

Steps:
1. Search this machine and project for traccar: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2024-31214 being exploited?

There is no confirmed exploitation: CVE-2024-31214 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 6.47% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2024-31214?

Critical: CVSS 9.7 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

Which versions are affected by CVE-2024-31214?

traccar >= 5.1, < 6.0.

Is there a fix for CVE-2024-31214?

Yes. Fixed in traccar 6.0. Upgrade traccar to 6.0 or later.

How do I check if I'm affected by CVE-2024-31214?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors