code.vikunja.io/api · Vikunja: WebSocket authentication ignores server-side session state, so revoked sessions keep receiving live pushes
Affects code.vikunja.io/apiSource GCVE Database
CVSS 6.5 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:H/I:N/A:NWhat 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
The fix involves validating the session ID claim against the sessions table during WebSocket authentication and re-validating or dropping WebSocket connections when their sessions are revoked. If you cannot patch yet, users should be aware that session revocation does not affect active WebSocket connections.
Description
Vikunja versions 2.3.0 through 2.6.0 have a vulnerability where WebSocket authentication ignores server-side session revocation. Although sessions can be revoked via the REST API, the WebSocket endpoint does not validate the session ID claim against active sessions. This allows revoked tokens to continue receiving live push notifications indefinitely. The issue affects session revocation mechanisms including TOTP enrollment, undermining user expectations of session invalidation.
References
- github.com/go-vikunja/vikunja/security/advisories/GHSA-4hv6-xc92-j86g (opens in a new tab)
- github.com/go-vikunja/vikunja (opens in a new tab)
- github.com/go-vikunja/vikunja/commit/46ae98355462acbea451356326146675d3feeaab (opens in a new tab)
- github.com/go-vikunja/vikunja/releases/tag/v2.7.0 (opens in a new tab)