{"id":"GHSA-4hv6-xc92-j86g","revision":null,"records":[{"revision":"46f154d2bbf14dde9665a9e6c3405c2e","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-111917","aliases":[],"title":"Vikunja 2.3.0 before 2.7.0 WebSocket Authentication Ignores Session Revocation","description":"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.","state":0,"publishedAt":"2026-10-17T18:46:32.545+00:00","modifiedAt":"2026-10-19T14:59:06.808+00:00","affected":[{"ecosystem":"Vendor product","name":"vikunja","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"go-vikunja\",\n                    \"product\": \"vikunja\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"packageURL\": \"pkg:golang/code.vikunja.io/api\",\n                    \"versions\": [\n                        {\n                            \"version\": \"2.3.0\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\",\n                            \"lessThan\": \"2.7.0\"\n                        },\n                        {\n                            \"version\": \"2.7.0\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"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","score":7.1,"severity":"HIGH"},{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"severity":"MEDIUM"}],"references":["https://github.com/go-vikunja/vikunja/security/advisories/GHSA-4hv6-xc92-j86g","https://www.vulncheck.com/advisories/vikunja-2.3.0-before-2.7.0-websocket-authentication-ignores-session-revocation"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-111917","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-111917","identifiers":["CVE-2026-111917"]},"retained":false,"historicalAffected":[]},{"revision":"6ab0d9e70aaf415d8891897100c5068e","observedAt":"2026-10-30T01:56:38.403+00:00","statement":{"source":"euvd","id":"EUVD-2026-103304","aliases":["CVE-2026-111917","GHSA-355w-rx9g-pww7"],"title":"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…","description":"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.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 4.0","vector":"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","score":7.1,"severity":null}],"references":["https://github.com/go-vikunja/vikunja/security/advisories/GHSA-4hv6-xc92-j86g","https://www.vulncheck.com/advisories/vikunja-2.3.0-before-2.7.0-websocket-authentication-ignores-session-revocation"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-103304","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Oct 17, 2026, 6:46:32 PM","dateUpdated":"Oct 19, 2026, 2:59:06 PM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2026-103304","identifiers":["EUVD-2026-103304","CVE-2026-111917","GHSA-355w-rx9g-pww7"]},"retained":false,"historicalAffected":[]},{"revision":"b2c500a7d3d84a72ab48eae33c3e6d93","observedAt":"2026-10-25T05:17:13.11+00:00","statement":{"source":"nvd","id":"CVE-2026-111917","aliases":[],"title":"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…","description":"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.","state":0,"publishedAt":"2026-10-17T19:16:34.263+00:00","modifiedAt":"2026-10-19T21:14:14.15+00:00","affected":[],"metrics":[{"system":"CVSS 4.0 · disclosure@vulncheck.com · Secondary","vector":"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","score":7.1,"severity":"HIGH"},{"system":"CVSS 3.1 · disclosure@vulncheck.com · Secondary","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"severity":"MEDIUM"}],"references":["https://github.com/go-vikunja/vikunja/security/advisories/GHSA-4hv6-xc92-j86g","https://www.vulncheck.com/advisories/vikunja-2.3.0-before-2.7.0-websocket-authentication-ignores-session-revocation"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-111917","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Deferred","weaknesses":["CWE-613"],"productCriteria":[],"sourceDates":{"published":"2026-10-17T19:16:34.263","lastModified":"2026-10-19T21:14:14.150"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2026-111917","identifiers":["CVE-2026-111917"]},"retained":false,"historicalAffected":[]},{"revision":"a3a5a15f2394418a93c0e7ab252c4511","observedAt":"2026-10-27T15:46:08.811+00:00","statement":{"source":"osv","id":"GHSA-4hv6-xc92-j86g","aliases":["CVE-2026-111917","GO-2026-6715"],"title":"Vikunja: WebSocket authentication ignores server-side session state, so revoked sessions keep receiving live pushes","description":"### Summary\n\nVikunja 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.\n\n### Details\n\nUser 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).\n\nThe 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`):\n\n```go\nfunc GetUserIDFromToken(tokenString string) (int64, error) {\n\ttoken, err := jwt.Parse(tokenString, func(_ *jwt.Token) (any, error) {\n\t\treturn []byte(config.ServiceSecret.GetString()), nil\n\t})\n\t...\n\ttyp, ok := claims[\"type\"].(float64)\n\tif !ok || int(typ) != AuthTypeUser {\n\t\treturn 0, jwt.ErrTokenInvalidClaims\n\t}\n\t...\n}\n```\n\nThe 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:\n\n1. A connection authenticated before `DELETE /api/v2/user/sessions/{id}` (or before TOTP enable, which runs `models.DeleteAllUserSessions`, `pkg/routes/api/v2/user_totp.go:208`) remains registered in the hub and keeps receiving every subscribed event, such as `notification.created` with the full notification object including comment, task and project content.\n2. A new connection opened after the deletion, using the same pre-revocation token, authenticates successfully.\n3. 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.\n\nFor 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.\n\n### PoC\n\n> [vikunja-ws-auth-ignores-session-revocation-PoC.zip](https://github.com/user-attachments/files/32741065/vikunja-ws-auth-ignores-session-revocation-PoC.zip)\n\nThe attached archive contains `deployment/deploy.sh` (local Vikunja v2.6.0 on loopback with SQLite) and `poc/poc.sh` running `poc/poc.py`:\n\n1. Victim registers and logs in. Second user registers for later interaction.\n2. Control: the victim's WebSocket authenticates and subscribes to `notification.created`. Negative control: a garbage token is rejected with `invalid_token`.\n3. Every victim session is deleted via `DELETE /api/v2/user/sessions/{id}` (the list afterwards reports 0 remaining).\n4. Exploit A: a brand-new WebSocket connection authenticates successfully with the deleted-session token.\n5. Exploit B: the second user comments on a task mentioning the victim. The victim's pre-revocation WebSocket connection receives the `notification.created` push with the full notification payload.\n\nResult: 10 checks passed on two consecutive runs, each from a wiped database.\n\n### Impact\n\nSession revocation, the mechanism a user relies on when a device is lost or a token is suspected stolen, silently excludes the WebSocket channel. A stolen or leaked access token can be converted into a push channel that survives every revocation action available to the user, including TOTP enrollment whose documented purpose is invalidating all sessions, and keeps delivering the victim's notifications (comment mentions, task and project metadata) until the attacker chooses to disconnect. The fix is to resolve the `sid` claim against the sessions table during `handleAuth` and to re-validate or drop hub connections when their session is deleted.","state":0,"publishedAt":"2026-10-09T20:57:34+00:00","modifiedAt":"2026-10-27T15:30:05.4491499+00:00","affected":[{"ecosystem":"Go","name":"code.vikunja.io/api","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"2.3.0"},{"kind":"fixed","version":"2.7.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/go-vikunja/vikunja/security/advisories/GHSA-4hv6-xc92-j86g","https://github.com/go-vikunja/vikunja/commit/46ae98355462acbea451356326146675d3feeaab","https://github.com/go-vikunja/vikunja","https://github.com/go-vikunja/vikunja/releases/tag/v2.7.0"],"sourceUrl":"https://github.com/advisories/GHSA-4hv6-xc92-j86g","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-4hv6-xc92-j86g","identifiers":["GHSA-4hv6-xc92-j86g","CVE-2026-111917","GO-2026-6715"]},"retained":false,"historicalAffected":[]},{"revision":"6302d06c990b4dcc956f9b097ce68939","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GO-2026-6715","aliases":["CVE-2026-111917","GHSA-4hv6-xc92-j86g"],"title":"Vikunja: WebSocket authentication ignores server-side session state, so revoked sessions keep receiving live pushes in code.vikunja.io/api","description":"Vikunja: WebSocket authentication ignores server-side session state, so revoked sessions keep receiving live pushes in code.vikunja.io/api.\n\nNOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.\n\n(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)\n\nThe additional affected modules and versions are: .","state":0,"publishedAt":"2026-10-19T21:08:26+00:00","modifiedAt":"2026-10-19T21:40:55.5237001+00:00","affected":[{"ecosystem":"Go","name":"code.vikunja.io/api","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://github.com/go-vikunja/vikunja/security/advisories/GHSA-4hv6-xc92-j86g"],"sourceUrl":"https://osv.dev/vulnerability/GO-2026-6715","license":"OSV · upstream source license applies","key":"osv:GO-2026-6715","identifiers":["GO-2026-6715","CVE-2026-111917","GHSA-4hv6-xc92-j86g"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-10-30T14:45:26.6987549+00:00","complete":true,"records":1764,"lastAttemptAt":"2026-10-30T14:45:26.6987549+00:00","lastSuccessAt":"2026-10-30T14:45:26.9497648+00:00","error":null,"lastVerifiedAt":"2026-10-30T14:45:26.9497653+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-7e2c4e7288f2c464ad8c61f3bb6017374714faedcc781283ac06a706ee1a820b-9ae73af7991357f8171c14345365990a8a2ca2ac30d2f5c0345295ca47cd8b59","complete":true,"records":417062,"lastAttemptAt":"2026-10-30T14:45:26.2761545+00:00","lastSuccessAt":"2026-10-30T13:45:42.363036+00:00","error":null,"lastVerifiedAt":"2026-10-30T14:45:26.2761545+00:00","snapshotPublishedAt":"2026-10-30T13:19:40+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-2061c7564831481480eca7336a6a2d59","complete":false,"records":13525,"lastAttemptAt":"2026-10-30T14:57:22.1548673+00:00","lastSuccessAt":"2026-10-30T14:57:22.151+00:00","error":"74 identifier lookups failed; latest failures include HTTP 403. Other identifiers were checked independently.","lastVerifiedAt":"2026-10-30T14:57:22.151+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":12100,"expectedIdentifiers":13603,"failedIdentifiers":74},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-10-30T14:45:26.6987549+00:00","complete":true,"records":1094,"lastAttemptAt":"2026-10-30T14:45:26.6987549+00:00","lastSuccessAt":"2026-10-30T14:45:26.9516817+00:00","error":null,"lastVerifiedAt":"2026-10-30T14:45:26.951682+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-6a13c6f8f39a448a8b96c895e97b0fc8","complete":true,"records":13543,"lastAttemptAt":"2026-10-30T14:45:34.6994115+00:00","lastSuccessAt":"2026-10-30T14:45:34.696+00:00","error":null,"lastVerifiedAt":"2026-10-30T14:45:34.696+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13603,"expectedIdentifiers":13603,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-b597efeb8fc540d31a792e2148f8b153f027cb0902f6eec1f988f717bba80dd6","complete":true,"records":9806,"lastAttemptAt":"2026-10-30T14:45:26.6211704+00:00","lastSuccessAt":"2026-10-30T11:49:32.1566+00:00","error":null,"lastVerifiedAt":"2026-10-30T14:45:26.6211704+00:00","snapshotPublishedAt":"2026-10-30T11:03:04+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-2de9ccc5290f060c7aa63f89c25dd76f655a64ba1aba7c05c97fa3bee4f09899","complete":true,"records":1967,"lastAttemptAt":"2026-10-30T14:45:26.3367706+00:00","lastSuccessAt":"2026-10-28T20:55:34.2982937+00:00","error":null,"lastVerifiedAt":"2026-10-30T14:45:26.3367706+00:00","snapshotPublishedAt":"2026-10-28T20:03:08+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-f63fa91e750071ae88c9f82019ecd6c982fa4fcc1d3dc5ceb5d9c642fb6bf05c","complete":true,"records":3023,"lastAttemptAt":"2026-10-30T14:45:26.6363468+00:00","lastSuccessAt":"2026-10-30T11:49:36.4759887+00:00","error":null,"lastVerifiedAt":"2026-10-30T14:45:26.6363468+00:00","snapshotPublishedAt":"2026-10-30T11:18:14+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-38769c8a86ea1c9a6224e5523e119bd23337098bd8f535cc5952f8ec88cdd622","complete":true,"records":230950,"lastAttemptAt":"2026-10-30T14:45:26.5064351+00:00","lastSuccessAt":"2026-10-30T13:47:22.3495471+00:00","error":null,"lastVerifiedAt":"2026-10-30T14:45:26.5064351+00:00","snapshotPublishedAt":"2026-10-30T13:33:12+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}