CVE-2026-111917
Vikunja 2.3.0 before 2.7.0 WebSocket Authentication Ignores Session Revocation
Vikunja 2.3.0 before 2.7.0 contains an improper session validation vulnerability that allows attackers to keep WebSocket access after revocation because handleAuth never checks the JWT sid claim against the sessions table. Attackers holding a stolen access token can open or maintain connections to /api/v2/ws after session deletion or TOTP enrollment, continuing to receive the victim's notification.created pushes, including comment, task and project content.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
7.1
Vikunja 2.3.0 before 2.7.0 WebSocket Authentication Ignores Session Revocation
Vikunja 2.3.0 before 2.7.0 contains an improper session validation vulnerability that allows attackers to keep WebSocket access after revocation because handleAuth never checks the JWT sid claim against the sessions table. Attackers holding a stolen access token can open or maintain connections to /api/v2/ws after session deletion or TOTP enrollment, continuing to receive the victim's notification.created pushes, including comment, task and project content.
- Record
CVE-2026-111917- CVSS 4.0
- 7.1 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N - CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-613
- Updated
- 2026-11-02
EUVDEUVD-2026-103304
7.1
Vikunja 2.3.0 before 2.7.0 contains an improper session validation vulnerability that allows attackers to keep WebSocket access after revocation because handleAuth never checks the JWT sid claim against the sessions table. Attackers holding a stolen access token can open or maintain connections to /api/v2/ws after session deletion or TOTP enrollment, continuing to receive the victim's notification.created pushes, including comment, task and project content.
- Record
EUVD-2026-103304- CVSS 4.0
- 7.1 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-355w-rx9g-pww7
7.1
Vikunja 2.3.0 before 2.7.0 contains an improper session validation vulnerability that allows...
Vikunja 2.3.0 before 2.7.0 contains an improper session validation vulnerability that allows attackers to keep WebSocket access after revocation because handleAuth never checks the JWT sid claim against the sessions table. Attackers holding a stolen access token can open or maintain connections to /api/v2/ws after session deletion or TOTP enrollment, continuing to receive the victim's notification.created pushes, including comment, task and project content.
- Record
GHSA-355w-rx9g-pww7- CVSS 4.0
- 7.1 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-613
- Updated
- 2026-11-02
GitHub AdvisoriesGHSA-4hv6-xc92-j86g
6.5
Vikunja: WebSocket authentication ignores server-side session state, so revoked sessions keep receiving live pushes
Summary
Vikunja v2.6.0 introduced server-side sessions with revocation semantics: DELETE /api/v2/user/sessions/{id} documents "Revokes a specific session by its UUID", and enabling TOTP calls DeleteAllUserSessions to invalidate all sessions. The WebSocket endpoint accepts any cryptographically valid user JWT without ever resolving its sid (session id) claim against the sessions table. A connection authenticated before revocation stays authenticated and continues to receive live pushes indefinitely, and even brand-new WebSocket connections are accepted with a token whose session was deleted. The revocation feature therefore does not cover the WebSocket boundary at all.
Details
User access JWTs carry a session reference: NewUserJWTAuthtoken (pkg/modules/auth/auth.go:188) sets claims["sid"] = sessionID, and the API login-session documentation describes the claim as tying the JWT to a server-side session. On the HTTP side nothing consumes the claim per request either (REST access tokens simply expire after their short TTL, a design the maintainers documented when fixing GHSA-96q5, and refresh tokens are correctly invalidated when the session row is deleted).
The WebSocket endpoint GET /api/v2/ws authenticates through the first client message. Connection.handleAuth (pkg/websocket/connection.go:168) validates the token exclusively with auth.GetUserIDFromToken (pkg/modules/auth/auth.go:292):
func GetUserIDFromToken(tokenString string) (int64, error) {
token, err := jwt.Parse(tokenString, func(_ *jwt.Token) (any, error) {
return []byte(config.ServiceSecret.GetString()), nil
})
...
typ, ok := claims["type"].(float64)
if !ok || int(typ) != AuthTypeUser {
return 0, jwt.ErrTokenInvalidClaims
}
...
}
The function verifies signature and token type only. No session lookup occurs anywhere in the WebSocket path, and no re-validation happens after the initial auth. Consequently:
- A connection authenticated before
DELETE /api/v2/user/sessions/{id}(or before TOTP enable, which runsmodels.DeleteAllUserSessions,pkg/routes/api/v2/user_totp.go:208) remains registered in the hub and keeps receiving every subscribed event, such asnotification.createdwith the full notification object including comment, task and project content. - A new connection opened after the deletion, using the same pre-revocation token, authenticates successfully.
- Session deletion is observable only in the REST surface. The user's session list empties, the refresh token dies on next use, but the WebSocket channel never notices.
For REST the exposure is bounded by the 10-minute access-token TTL. For WebSocket it is not: a connection lives until the client closes it, so a session the user believes revoked retains a live, server-pushed data channel with no time bound.
PoC
The attached archive contains deployment/deploy.sh (local Vikunja v2.6.0 on loopback with SQLite) and poc/poc.sh running poc/poc.py:
- Victim registers and logs in. Second user registers for later interaction.
- Control: the victim's WebSocket authenticates and subscribes to
notification.created. Negative control: a garbage token is rejected withinvalid_token. - Every victim session is deleted via
DELETE /api/v2/user/sessions/{id}(the list afterwards reports 0 remaining). - Exploit A: a brand-new WebSocket connection authenticates successfully with the deleted-session token.
- Exploit B: the second user comments on a task mentioning the victim. The victim's pre-revocation WebSocket connection receives the
notification.createdpush with the full notification payload.
Result: 10 checks passed on two consecutive runs, each from a wiped database.
Impact
Session revocation, the mechanism a user relies on when a device is lost or a token is suspected…
- Record
GHSA-4hv6-xc92-j86g- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-613
- Updated
- 2026-11-02
NVD
7.1
Vikunja 2.3.0 before 2.7.0 contains an improper session validation vulnerability that allows attackers to keep WebSocket access after revocation because handleAuth never checks the JWT sid claim against the sessions table. Attackers holding a stolen access token can open or maintain connections to /api/v2/ws after session deletion or TOTP enrollment, continuing to receive the victim's notification.created pushes, including comment, task and project content.
- Record
CVE-2026-111917- CVSS 4.0
- 7.1 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-613
- Updated
- 2026-11-02
OSV
7.1
Vikunja 2.3.0 before 2.7.0 WebSocket Authentication Ignores Session Revocation
Vikunja 2.3.0 before 2.7.0 contains an improper session validation vulnerability that allows attackers to keep WebSocket access after revocation because handleAuth never checks the JWT sid claim against the sessions table. Attackers holding a stolen access token can open or maintain connections to /api/v2/ws after session deletion or TOTP enrollment, continuing to receive the victim's notification.created pushes, including comment, task and project content.
- Record
CVE-2026-111917- CVSS 4.0
- 7.1 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N - Weakness
- CWE-613
- Updated
- 2026-11-02
OSVGHSA-4hv6-xc92-j86g
6.5
Vikunja: WebSocket authentication ignores server-side session state, so revoked sessions keep receiving live pushes
Summary
Vikunja v2.6.0 introduced server-side sessions with revocation semantics: DELETE /api/v2/user/sessions/{id} documents "Revokes a specific session by its UUID", and enabling TOTP calls DeleteAllUserSessions to invalidate all sessions. The WebSocket endpoint accepts any cryptographically valid user JWT without ever resolving its sid (session id) claim against the sessions table. A connection authenticated before revocation stays authenticated and continues to receive live pushes indefinitely, and even brand-new WebSocket connections are accepted with a token whose session was deleted. The revocation feature therefore does not cover the WebSocket boundary at all.
Details
User access JWTs carry a session reference: NewUserJWTAuthtoken (pkg/modules/auth/auth.go:188) sets claims["sid"] = sessionID, and the API login-session documentation describes the claim as tying the JWT to a server-side session. On the HTTP side nothing consumes the claim per request either (REST access tokens simply expire after their short TTL, a design the maintainers documented when fixing GHSA-96q5, and refresh tokens are correctly invalidated when the session row is deleted).
The WebSocket endpoint GET /api/v2/ws authenticates through the first client message. Connection.handleAuth (pkg/websocket/connection.go:168) validates the token exclusively with auth.GetUserIDFromToken (pkg/modules/auth/auth.go:292):
func GetUserIDFromToken(tokenString string) (int64, error) {
token, err := jwt.Parse(tokenString, func(_ *jwt.Token) (any, error) {
return []byte(config.ServiceSecret.GetString()), nil
})
...
typ, ok := claims["type"].(float64)
if !ok || int(typ) != AuthTypeUser {
return 0, jwt.ErrTokenInvalidClaims
}
...
}
The function verifies signature and token type only. No session lookup occurs anywhere in the WebSocket path, and no re-validation happens after the initial auth. Consequently:
- A connection authenticated before
DELETE /api/v2/user/sessions/{id}(or before TOTP enable, which runsmodels.DeleteAllUserSessions,pkg/routes/api/v2/user_totp.go:208) remains registered in the hub and keeps receiving every subscribed event, such asnotification.createdwith the full notification object including comment, task and project content. - A new connection opened after the deletion, using the same pre-revocation token, authenticates successfully.
- Session deletion is observable only in the REST surface. The user's session list empties, the refresh token dies on next use, but the WebSocket channel never notices.
For REST the exposure is bounded by the 10-minute access-token TTL. For WebSocket it is not: a connection lives until the client closes it, so a session the user believes revoked retains a live, server-pushed data channel with no time bound.
PoC
The attached archive contains deployment/deploy.sh (local Vikunja v2.6.0 on loopback with SQLite) and poc/poc.sh running poc/poc.py:
- Victim registers and logs in. Second user registers for later interaction.
- Control: the victim's WebSocket authenticates and subscribes to
notification.created. Negative control: a garbage token is rejected withinvalid_token. - Every victim session is deleted via
DELETE /api/v2/user/sessions/{id}(the list afterwards reports 0 remaining). - Exploit A: a brand-new WebSocket connection authenticates successfully with the deleted-session token.
- Exploit B: the second user comments on a task mentioning the victim. The victim's pre-revocation WebSocket connection receives the
notification.createdpush with the full notification payload.
Result: 10 checks passed on two consecutive runs, each from a wiped database.
Impact
Session revocation, the mechanism a user relies on when a device is lost or a token is suspected…
- Record
GHSA-4hv6-xc92-j86g- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-613
- Updated
- 2026-11-02
OSVGO-2026-6715 No score
Vikunja: WebSocket authentication ignores server-side session state, so revoked sessions keep receiving live pushes in code.vikunja.io/api
Vikunja: WebSocket authentication ignores server-side session state, so revoked sessions keep receiving live pushes in code.vikunja.io/api.
NOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.
(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)
The additional affected modules and versions are: .
- Record
GO-2026-6715- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
code.vikunja.io/apiGo |
2.3.0 to 2.6.0 | 2.7.0 |
code.vikunja.io/apiGo |
2.3.0 up to 2.7.0 | 2.7.0 |
code.vikunja.io/apiGo |
All versions | None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2026-111917 is a high vulnerability (CVSS 7.1) in Go-vikunja Vikunja, published October 9, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.36%, the 29th percentile. Fixed in code.vikunja.io/api 2.7.0.
References
github.com/go-vikunja/vikunja/security/advisories/GHSA-4hv6-xc92-j86g
vulncheck.com/advisories/vikunja-2.3.0-before-2.7.0-websocket-authentication-ignores-session-revocation
nvd.nist.gov/vuln/detail/CVE-2026-111917
github.com/advisories/GHSA-355w-rx9g-pww7
github.com/go-vikunja/vikunja/commit/46ae98355462acbea451356326146675d3feeaab
github.com/go-vikunja/vikunja/releases/tag/v2.7.0
github.com/advisories/GHSA-4hv6-xc92-j86g
github.com/CVEProject/cvelistV5/tree/main/cves/2026/111xxx/CVE-2026-111917.json
github.com/go-vikunja/vikunja
Left out here: the rest of 2 source descriptions. The JSON record has them.