{"id":"CVE-2026-68581","published":"2026-08-02T12:15:27Z","modified":"2026-08-03T15:02:40Z","title":"Vikunja 0.22.0 through 2.3.0 Authentication Bypass via Principal ID Collision","vendor":"go-vikunja","product":"vikunja","tier":"tail","description":{"text":"Vikunja versions 0.22.0 through 2.3.0 fail to validate the principal type in API token management. Because user IDs and link-share IDs are independent numeric sequences and both resolve through a generic web.Auth.GetID() interface, a link-share JWT whose numeric ID equals a target user's ID is treated as that user by the /api/v1/tokens endpoints. An authenticated attacker can obtain a target's numeric user ID via authenticated user search, then create link shares on an attacker-writable project until the link-share sequence reaches that value, and use the resulting link-share JWT to list, create, and delete the target user's API tokens (including issuing a new token with attacker-chosen scopes under the target's permissions). Fixed in version 2.4.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00464,"percentile":0.41075,"provenance":"source"},"cwes":[{"id":"CWE-863","name":"Incorrect Authorization"}],"references":[{"url":"https://github.com/go-vikunja/vikunja/security/advisories/GHSA-vvcv-vpph-h844","tags":["vendor-advisory"]},{"url":"https://github.com/go-vikunja/vikunja/commit/e6b25bd57b537ef9a72b5acdadf446ca5ef77bfa","tags":["patch"]},{"url":"https://github.com/go-vikunja/vikunja/commit/95b7e673fb5ee407498fa4b13e8b4c57847a4a0b","tags":["patch"]},{"url":"https://www.vulncheck.com/advisories/vikunja-through-authentication-bypass-via-principal-id-collision","tags":["third-party-advisory"]}],"priority":{"score":13.9,"factors":[{"name":"EPSS percentile","points":8.21},{"name":"CVSS severity","points":5.67}]},"vendorSlug":"go-vikunja","affectedVersions":[{"vendor":"go-vikunja","product":"vikunja","versions":[">= 0.22.0, < 2.4.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-08-03T15:00:37.506412Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"code.vikunja.io/api","vulnerableRanges":[">=0.22.0, <2.4.0",">=0.22.0"],"patched":["2.4.0"],"from":["GHSA-vvcv-vpph-h844","GO-2026-6753"],"provenance":"source"}],"summary":{"text":"Vikunja versions 0.22.0 through 2.3.0 fail to validate the principal type in API token management, so a link-share JWT whose numeric ID matches a user's ID is accepted as that user by the /api/v1/tokens endpoints. An attacker with a valid authenticated account can exploit this by looking up a target's numeric user ID through user search, creating link shares on a project they can write to until the link-share ID sequence reaches that value, and then using the resulting JWT to list, create, or delete the target's API tokens, including issuing a token with attacker-chosen scopes.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:37:14Z"},"euvd":{"id":"EUVD-2026-51991","exploited":false,"provenance":"source"}}