{"schemaVersion":3,"id":"CVE-2026-68581","aliases":["GHSA-vvcv-vpph-h844","GO-2026-6753"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2026-08-02T12:15:27.893Z","modified":"2026-08-03T15:02:40.435Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.6,"severity":"high","version":"4.0","versionLabel":"v4.0","source":"CVE.org","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":8.6,"severity":"high","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Go","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","exploitability":7.2,"impact":8.7,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":8.6,"severity":"high","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00464,"percentile":0.39143,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0.04200000000000002,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.00422},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00464,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00464,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00464,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00464,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00464,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00464,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00464,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00464,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00464,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00464,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00464,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00464,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00464,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00464,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00464,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00464,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00464,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00464,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00464,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00464,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00464,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00464,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00464,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00464,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00464,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00464,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00464,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00464,"percentile":0.39143}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00464,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00464,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00464,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00464,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00464,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00464,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00464,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00464,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00464,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00464,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00464,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00464,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00464,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00464,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00464,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00464,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00464,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00464,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00464,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00464,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00464,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00464,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00464,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00464,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00464,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00464,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00464,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00464,"percentile":0.39143}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-863","name":"Incorrect Authorization","description":"The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.","type":"weakness","status":"Incomplete","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/863.html"}],"affected":[{"vendor":"go-vikunja","product":"vikunja","name":"vikunja","label":"vikunja","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 0.22.0, < 2.4.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 0.22.0, < 2.4.0","eol":null,"hubHref":"/vendor/go-vikunja/vikunja"},{"vendor":"code.vikunja.io","product":"api","name":"code.vikunja.io/api","label":"api","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/code.vikunja.io/api","purlType":"golang","versions":[{"text":"≥ 0.22.0, < 2.4.0","noFixRecorded":false,"fixedIn":null},{"text":"≥ 0.22.0","noFixRecorded":true,"fixedIn":null}],"versionsText":"≥ 0.22.0, < 2.4.0 | ≥ 0.22.0 (No fix recorded)","eol":null,"hubHref":null}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/go-vikunja/vikunja/security/advisories/GHSA-vvcv-vpph-h844","label":"github.com/go-vikunja/vikunja/security/advisories/GHSA-vvcv-vpph-h844","hostname":"github.com","tags":["Vendor Advisory","WEB","Advisory"]},{"url":"https://github.com/go-vikunja/vikunja/commit/e6b25bd57b537ef9a72b5acdadf446ca5ef77bfa","label":"github.com/go-vikunja/vikunja/commit/e6b25bd57b537ef9a72b5acdadf446ca5ef77bfa","hostname":"github.com","tags":["Patch","WEB"]},{"url":"https://github.com/go-vikunja/vikunja/commit/95b7e673fb5ee407498fa4b13e8b4c57847a4a0b","label":"github.com/go-vikunja/vikunja/commit/95b7e673fb5ee407498fa4b13e8b4c57847a4a0b","hostname":"github.com","tags":["Patch","WEB"]},{"url":"https://www.vulncheck.com/advisories/vikunja-through-authentication-bypass-via-principal-id-collision","label":"www.vulncheck.com/advisories/vikunja-through-authentication-bypass-via-principal-id-collision","hostname":"www.vulncheck.com","tags":["Third Party Advisory","WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-68581","label":"nvd.nist.gov/vuln/detail/CVE-2026-68581","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/go-vikunja/vikunja","label":"github.com/go-vikunja/vikunja","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/go-vikunja/vikunja/releases/tag/v2.4.0","label":"github.com/go-vikunja/vikunja/releases/tag/v2.4.0","hostname":"github.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-08-02T12:15:27.893Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-08-03T15:02:40.435Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":34,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T06:29:19.581Z","stale":false,"partial":false}}