CVE-2026-134796: Donetick before 0.1.86 Path Traversal via AssetHandler
Donetick before 0.1.86 contains a path traversal vulnerability in the GET /api/v1/assets/filepath route that allows unauthenticated attackers to bypass URL signature checks by prefixing paths with profiles/. Attackers who know a private upload's storage key can request profiles/../users/<id>/<uuid>.<ext> to retrieve private attachments without a signature or login.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 0.1.86
Event History
Frequently Asked Questions
Who is exposed to this issue?
Instances of Donetick before 0.1.86 are exposed if they store private uploads that can be requested through the affected asset route. The attacker does not need an account or login, but must know the private attachment's storage key, including the user ID, UUID, and extension.
What can an attacker access through the flaw?
An attacker can retrieve private attachments by requesting a path such as profiles/../users/<id>/<uuid>.<ext>. The available data indicates confidentiality impact only; it does not indicate modification or deletion of attachments.
Are signed URLs sufficient protection on affected versions?
No. On affected versions, prefixing the requested path with profiles/ bypasses the URL signature check, allowing retrieval without a valid signature.
Which versions should be remediated?
Donetick versions before 0.1.86 are affected. Updating to version 0.1.86 or later addresses the affected behavior described here.