CVE-2024-31214
CVE-2024-31214 is a critical-severity vulnerability in Traccar with a CVSS 3.x base score of 9.6. Its EPSS exploit-prediction score of 18% places it in the 97th percentile, indicating an elevated likelihood of exploitation. The underlying weakness is classified as CWE-434.
Key facts
- Severity: Critical (CVSS 3.x base score 9.6)
- EPSS exploit prediction: 18% (97th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2024-29114
- Weakness: CWE-434
- Affected product: Traccar
- Published:
- Last 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.
Frequently asked questions
- What is CVE-2024-31214?
- 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.
- How severe is CVE-2024-31214?
- CVE-2024-31214 has a CVSS 3.x base score of 9.6, rated critical severity. It is exploitable over network with low attack complexity, requires no privileges and user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2024-31214 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 18% (97th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2024-31214?
- CVE-2024-31214 affects Traccar. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2024-31214?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
- Does CVE-2024-31214 have an EU (EUVD) identifier?
- Yes. CVE-2024-31214 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-29114.
- When was CVE-2024-31214 published?
- CVE-2024-31214 was published on 2024-04-10 and last updated on 2026-06-17.
References
- https://github.com/traccar/traccar/blob/master/src/main/java/org/traccar/model/Device.java#L56
- https://github.com/traccar/traccar/blob/v5.12/src/main/java/org/traccar/api/resource/DeviceResource.java#L191
- https://github.com/traccar/traccar/commit/3fbdcd81566bc72e319ec05c77cf8a4120b87b8f
- https://github.com/traccar/traccar/security/advisories/GHSA-3gxq-f2qj-c8v9
Affected products (1)
- cpe:2.3:a:traccar:traccar:*:*:*:*:*:*:*:*
More vulnerabilities in Traccar
- CVE-2024-7746 — Critical (CVSS 9.8): Use of Default Credentials vulnerability in Tananaev Solutions Traccar Server on Administrator Panel modules allows…
- CVE-2026-25648 — High (CVSS 8.7): Versions of the Traccar open-source GPS tracking system starting with 6.11.1 contain an issue in which authenticated…
- CVE-2023-50729 — High (CVSS 8.4): Traccar is an open source GPS tracking system. Prior to 5.11, Traccar is affected by an unrestricted file upload…
- CVE-2020-5246 — High (CVSS 7.7): Traccar GPS Tracking System before version 4.9 has a LDAP injection vulnerability. It occurs when user input is being…
- CVE-2026-25649 — High (CVSS 7.3): Versions of the Traccar open-source GPS tracking system up to and including 6.11.1 contain an issue in which…
- CVE-2025-68930 — High (CVSS 7.1): Versions of the Traccar open-source GPS tracking system up to and including 6.11.1 contain a Cross-Site WebSocket…
Other CWE-434 (Unrestricted Upload of File with Dangerous Type) vulnerabilities
- CVE-2026-48283 — Critical (CVSS 10.0): ColdFusion versions 2025.9, 2023.20 and earlier are affected by an Unrestricted Upload of File with Dangerous Type…
- CVE-2026-48276 — Critical (CVSS 10.0): ColdFusion versions 2025.9, 2023.20 and earlier are affected by an Unrestricted Upload of File with Dangerous Type…
- CVE-2026-57700 — Critical (CVSS 10.0): Unrestricted Upload of File with Dangerous Type vulnerability in Daan.Dev OMGF Pro allows Using Malicious Files. This…
- CVE-2025-69129 — Critical (CVSS 10.0): Unauthenticated Arbitrary File Upload in WordPress & WooCommerce Scraper Plugin, Import Data from Any Site <= 1.0.7…
- CVE-2026-40772 — Critical (CVSS 10.0): Unauthenticated Arbitrary File Upload in GeekyBot <= 1.2.2 versions.
- CVE-2026-40412 — Critical (CVSS 10.0): Unrestricted upload of file with dangerous type in Azure Orbital Spatio allows an unauthorized attacker to execute code…
Browse all CWE-434 (Unrestricted Upload of File with Dangerous Type) vulnerabilities →