CVE-2026-23521 Traccar vulnerable to Path Traversal and External Control of File Name or Path

Medium 6.5 Published Updated

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.

Weakness: CWE-73, CWE-22

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.

Sources

Also known as GHSA-rc28-cvfc-chqr.

Is CVE-2026-23521 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free