code.vikunja.io/api · Api: Vikunja: CalDAV relation creation bypasses TaskRelation.CanCreate, allowing an unauthorized write into any task by known UID
Affects code.vikunja.io/apiSource GCVE Database
CVSS 6.3 Medium : upgrade to 2.6.0 when convenient.
Data as of 10 Oct 2026, 21:26 UTC
- Patch
- Available – fixed in 2.6.0
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:NWhat to do
Upgrade code.vikunja.io/api to 2.6.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Gocode.vikunja.io/api | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available that fixes this vulnerability by routing CalDAV relation creation through the TaskRelation.CanCreate permission check and scoping UID lookups to projects accessible by the caller. Users should upgrade to Vikunja version 2.6.0 or later to remediate this issue. Until patched, users should consider restricting CalDAV access to trusted users only, especially those who previously had project read access.
Description
A vulnerability in Vikunja's CalDAV API allows an attacker to create task relations without proper permission checks. This bypass enables unauthorized writes to any task by specifying its UID, even in projects the attacker cannot access. The issue arises because the CalDAV relation creation path does not enforce the TaskRelation.CanCreate permission check, unlike the REST API. Task UIDs are exposed via CalDAV to users who previously had read access, enabling removed collaborators to exploit this. The flaw also facilitates cross-project subtask relation creation, which can lead to further information disclosure. A fix is available that routes CalDAV relation creation through the proper permission checks and scopes UID lookups to accessible projects.
References
- github.com/go-vikunja/vikunja/security/advisories/GHSA-g38j-7v97-x298 (opens in a new tab)
- github.com/go-vikunja/vikunja/pull/3688 (opens in a new tab)
- github.com/go-vikunja/vikunja/commit/077dc4de79ce6f1ab59215a2c7bf9b30423685f2 (opens in a new tab)
- github.com/go-vikunja/vikunja (opens in a new tab)
- github.com/go-vikunja/vikunja/releases/tag/v2.6.0 (opens in a new tab)