Traccar Broken Access Control Vulnerability in Image Upload Functionality

Vulnerability

A broken access control vulnerability has been identified in Traccar, an open-source GPS tracking system, prior to version 6.13.0. The issue arises in the 'DeviceResource.uploadImage' function, which authorizes device access based solely on user permissions. This function immediately streams the uploaded image into the media manager, bypassing a crucial permissions check that enforces read-only restrictions for non-admin users. As a result, an unauthorized user can replace a device's image file on the server, disrupting any workflows that depend on the original image.

Impact

Exploitation of this vulnerability allows unauthorized users to overwrite a device's image file on the server, altering media that is visible in the user interface and affecting any processes that rely on the saved image.

Reproduction

To reproduce this vulnerability, a shared-device bearer token must be obtained for a user with 'readonly' permissions. This token can be used to authenticate a request to the 'POST /devices/{id}/image' endpoint, where the 'deviceId' and image file are provided. The absence of a proper permissions check before the file is written to the server media directory enables the unauthorized image replacement.

Remediation

Users are advised to update to Traccar version 6.13.0 or later, where this vulnerability has been fixed.

Added: May 26, 2026, 11:14 PM
Updated: May 26, 2026, 11:14 PM

Vulnerability Rating

Custom Algorithm
spread
3.1
impact
0.6
exploitability
6.6
remediation
7.7
relevance
9.6
threat
6.4
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.