{"cve":"CVE-2026-68581","nvd":{"published":"2026-08-02T13:16:54.087","modified":"2026-10-23T22:10:00.160","status":"Deferred","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.","cvss_v4":{"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","score":8.6},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":8.1},"cwes":["CWE-863"],"references":["https://github.com/go-vikunja/vikunja/commit/95b7e673fb5ee407498fa4b13e8b4c57847a4a0b","https://github.com/go-vikunja/vikunja/commit/e6b25bd57b537ef9a72b5acdadf446ca5ef77bfa","https://github.com/go-vikunja/vikunja/security/advisories/GHSA-vvcv-vpph-h844","https://www.vulncheck.com/advisories/vikunja-through-authentication-bypass-via-principal-id-collision","https://github.com/go-vikunja/vikunja/security/advisories/GHSA-vvcv-vpph-h844"],"products":[],"source":"nvd","synced_at":"2026-10-24T16:53:34.184483516+00:00"},"epss":{"cve":"CVE-2026-68581","score":0.00464,"percentile":0.39917,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-vvcv-vpph-h844","url":"https://osv.dev/vulnerability/GHSA-vvcv-vpph-h844","summary":"Vikunja: Link-share principal ID collision allows cross-account API token issuance and management","modified":"2026-10-19T21:41:06.033854160Z","packages":[{"ecosystem":"Go","name":"code.vikunja.io/api","purl":"pkg:golang/code.vikunja.io/api","ranges":[">=0.22.0 <2.4.0"],"fixed":["2.4.0"]}]},{"id":"GO-2026-6753","url":"https://osv.dev/vulnerability/GO-2026-6753","summary":"Vikunja: Link-share principal ID collision allows cross-account API token issuance and management in code.vikunja.io/api","modified":"2026-10-19T21:31:52.825464681Z","packages":[{"ecosystem":"Go","name":"code.vikunja.io/api","purl":"pkg:golang/code.vikunja.io/api","ranges":[">=0.22.0"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}