Technical impact
Donetick before version 0.1.86 contains a path traversal flaw in the GET /api/v1/assets/*filepath endpoint. By prefixing paths with profiles/, an attacker can bypass URL signature verification and request files that should be restricted to authenticated users. This allows the retrieval of private attachments without a signature or login, exposing sensitive data and compromising confidentiality.
Affected Systems
The vulnerability affects all Donetick installations running version 0.1.85 and earlier. The affected component is the AssetHandler that serves static files through the public API.
Risk and Exploitability
The flaw has a CVSS score of 6.3, indicating a medium severity. Exploitation requires no authentication but does require knowledge of a private upload's storage key to construct the correct traversal path. Since the EPSS score is not available and the issue is not listed in CISA's KEV catalogue, the likelihood of widespread exploitation is unclear, yet the potential for data exposure remains significant if an attacker obtains a valid key. The vulnerability can be readily triggered via an unauthenticated HTTP request, making it relatively easy for an attacker to leverage if sufficient target knowledge exists.