5.3medium
Traccar: Missing edit authorization on device image upload allows read-only users to write files
- Severity
- 5.3medium CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.18% (higher than 8% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
Description
Traccar is an open source GPS tracking system. Prior to 6.13.0, DeviceResource.uploadImage authorizes the target device only through Condition.Permission(User.class, getUserId(), Device.class) and then immediately streams the uploaded body into mediaManager.createFileStream(...). Unlike the generic mutation path in BaseObjectResource.update and the explicit device mutation handler updateAccumulators, this route never invokes permissionsService.checkEdit(getUserId(), Device.class, false, false). The skipped guard is exactly where Traccar enforces readonly and deviceReadonly restrictions for non-admin users. An unauthorized user can replace a device’s stored image file under the server media directory. This allows modification of UI-visible device media and any downstream workflows that rely on the persisted image, despite other device update paths correctly rejecting the same identity. This vulnerability is fixed in 6.13.0.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| traccar traccar | < 6.13.0, before 6.13.0 | CVE List, NVD |
All scores
| GitHub_M | 5.3medium CVSS:4.0 | 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 |
| NVD | 4.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
What each source says
CVE List
Traccar is an open source GPS tracking system. Prior to 6.13.0, DeviceResource.uploadImage authorizes the target device only through Condition.Permission(User.class, getUserId(), Device.class) and then immediately streams the uploaded body into mediaManager.createFileStream(...). Unlike the generic mutation path in BaseObjectResource.update and the explicit device mutation handler updateAccumulators, this route never invokes permissionsService.checkEdit(getUserId(), Device.class, false, false). The skipped guard is exactly where Traccar enforces readonly and deviceReadonly restrictions for non-admin users. An unauthorized user can replace a device’s stored image file under the server media directory. This allows modification of UI-visible device media and any downstream workflows that rely on the persisted image, despite other device update paths correctly rejecting the same identity. This vulnerability is fixed in 6.13.0.
NVD (es)
Traccar es un sistema de seguimiento GPS de código abierto. Antes de la versión 6.13.0, DeviceResource.uploadImage autoriza el dispositivo objetivo solo a través de Condition.Permission(User.class, getUserId(), Device.class) y luego inmediatamente transmite el cuerpo subido a mediaManager.createFileStream(...). A diferencia de la ruta de mutación genérica en BaseObjectResource.update y el gestor de mutación de dispositivo explícito updateAccumulators, esta ruta nunca invoca permissionsService.checkEdit(getUserId(), Device.class, false, false). La protección omitida es exactamente donde Traccar aplica restricciones de solo lectura y deviceReadonly para usuarios no administradores. Un usuario no autorizado puede reemplazar el archivo de imagen almacenado de un dispositivo bajo el directorio de medios del servidor. Esto permite la modificación de medios de dispositivo visibles en la interfaz de usuario y cualquier flujo de trabajo posterior que dependa de la imagen persistida, a pesar de que otras rutas de actualización de dispositivos rechazan correctamente la misma identidad. Esta vulnerabilidad está corregida en la versión 6.13.0.
References
| https://github.com/traccar/traccar/security/advisories/GHSA-33v4-5x2g-7mjm | exploit, mitigation, vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-44314 changed 2026-05-26 | CVE Terms of Use |
| NVD | CVE-2026-44314 changed 2026-07-24 | Public domain |