code.vikunja.io/api · Vikunja: Saved filter creation with an empty filter string recalculates task positions across all tenants
Affects code.vikunja.io/apiSource GCVE Database
CVSS 5.4 Medium : upgrade to 2.7.0 when convenient.
Data as of 27 Oct 2026, 16:27 UTC
- Patch
- Available – fixed in 2.7.0
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:LWhat to do
Upgrade code.vikunja.io/api to 2.7.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
If you cannot patch yet, users should avoid creating saved filters with empty filter strings when having no accessible projects. Additionally, administrators should monitor for unusual task_positions table growth or cross-tenant data anomalies. The vendor advisory or repository should be consulted for updates or official fixes.
Description
In Vikunja v2.6.0, creating a saved filter with an empty filter string while the user has no accessible projects causes a task position recalculation that loses project scope and writes task position data across all tenants. This allows an authenticated user to write task position entries referencing tasks from other tenants, violating tenant data integrity and causing write amplification proportional to the instance size. The issue arises because the recalculation query executes without a project scope filter when no accessible projects exist, and the server writes position rows unconditionally. This flaw contradicts intended access controls and was confirmed with a proof-of-concept.
References
- github.com/go-vikunja/vikunja/security/advisories/GHSA-fprf-r6rv-xg99 (opens in a new tab)
- github.com/go-vikunja/vikunja (opens in a new tab)
- github.com/go-vikunja/vikunja/commit/24e4563a547be182b338be2f614df339a64a6058 (opens in a new tab)
- github.com/go-vikunja/vikunja/releases/tag/v2.7.0 (opens in a new tab)