# CVE-2026-68581: Vikunja 0.22.0 through 2.3.0 Authentication Bypass via Principal ID Collision

- Severity: High 8.6 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.42%, higher than 38% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-02T12:15:27.893Z
- Modified: 2026-10-23T22:10:00.160Z
- Also known as: GHSA-vvcv-vpph-h844, GO-2026-6753
- Weaknesses: CWE-863
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- go-vikunja vikunja: from 0.22.0 before 2.4.0
- code.vikunja.io/api (Go): from 0.22.0 before 2.4.0; from 0.22.0

## Every score

- VulnCheck: CVSS:4.0 8.6 High `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`
- VulnCheck: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://github.com/go-vikunja/vikunja/security/advisories/GHSA-vvcv-vpph-h844> (exploit, advisory, vendor-advisory, web)
- <https://github.com/go-vikunja/vikunja/commit/e6b25bd57b537ef9a72b5acdadf446ca5ef77bfa> (patch, web)
- <https://github.com/go-vikunja/vikunja/commit/95b7e673fb5ee407498fa4b13e8b4c57847a4a0b> (patch, web)
- <https://www.vulncheck.com/advisories/vikunja-through-authentication-bypass-via-principal-id-collision> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-68581> (advisory)
- <https://github.com/go-vikunja/vikunja> (package)
- <https://github.com/go-vikunja/vikunja/releases/tag/v2.4.0> (web)

## Sources

- CVE List: [CVE-2026-68581](https://www.cve.org/CVERecord?id=CVE-2026-68581), CVE Terms of Use, modified 2026-08-03
- GitHub Advisory Database: [GHSA-vvcv-vpph-h844](https://github.com/advisories/GHSA-vvcv-vpph-h844), CC-BY-4.0, modified 2026-10-19
- Go Vulnerability Database: [GO-2026-6753](https://pkg.go.dev/vuln/GO-2026-6753), CC-BY-4.0, modified 2026-10-19
- NVD: [CVE-2026-68581](https://nvd.nist.gov/vuln/detail/CVE-2026-68581), Public domain, modified 2026-10-23

---

Page: https://cve.day/CVE-2026-68581 · Whole record: https://cve.day/CVE-2026-68581.json · Rebuilt by cve.day 2026-11-25T22:59:30.813Z
