CVE-2026-23521 Traccar vulnerable to Path Traversal and External Control of File Name or Path
Authenticated users can write files outside the media directory by manipulating device uniqueId during image upload in Traccar.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-23521?
CVE-2026-23521 is a medium-severity path traversal vulnerability in traccar, published on 23 Feb 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Versions of the Traccar open-source GPS tracking system up to and including 6.11.1 contain an issue in which authenticated users who can create or edit devices can set a device `uniqueId` to an absolute path. When uploading a device image, Traccar uses that `uniqueId` to build the filesystem path without enforcing that the resolved path stays under the media root. This allows writing files outside the media directory. As of time of publication, it is unclear whether a fix is available.
Which versions are affected by CVE-2026-23521?
It affects 1 product.
Products include Traccar Traccar.
How do I fix CVE-2026-23521?
No fix has been published for CVE-2026-23521 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2026-23521 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-23521 exists.
Other vulnerabilities in traccar
- CVE-2024-31214 Traccar's unrestricted file upload vulnerability in device image upload could lead to remote code execution
- CVE-2024-7746 Use of default credentials at Traccar fleet management solution
- CVE-2026-25648 Traccar Vulnerable to Stored Cross-Site Scripting (XSS) via Malicious SVG File Upload
- CVE-2023-50729 An unrestricted file upload vulnerability in traccar leads to RCE
- CVE-2020-5246 LDAP injection vulnerability in Traccar GPS Tracking System
Sources
Also known as GHSA-rc28-cvfc-chqr.