CVE-2026-68581: Incorrect Authorization in go-vikunja vikunja
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.
AI Analysis
Technical Summary
In Vikunja versions 0.22.0 through 2.3.0, the API token management endpoints do not correctly validate the principal type. User IDs and link-share IDs are independent numeric sequences but both resolve through a generic interface. If a link-share JWT's numeric ID equals a target user's ID, the system treats the JWT as if it belongs to that user. An authenticated attacker can discover a target user's numeric ID via user search, then create link shares until the link-share sequence reaches that ID. Using the resulting link-share JWT, the attacker can list, create, delete, and issue API tokens under the target user's permissions. This flaw allows privilege escalation within the API token management context. The issue is resolved in version 2.4.0.
Potential Impact
An authenticated attacker can impersonate a target user in the API token management endpoints by exploiting the flawed principal type validation. This allows the attacker to manage the target user's API tokens, including issuing new tokens with arbitrary scopes, potentially leading to unauthorized access and actions under the target user's identity. The vulnerability has a high severity with a CVSS 4.0 score of 8.6.
Mitigation Recommendations
Upgrade to Vikunja version 2.4.0 or later, where this authorization flaw is fixed. No other official remediation or temporary workaround is indicated. Patch status is not explicitly stated but the fix version is known.
CVE-2026-68581: Incorrect Authorization in go-vikunja vikunja
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.0
Score 8.6high
Affected software
go-vikunja
vikunja
pkg:golang/github.com/go-vikunja/vikunjaRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
In Vikunja versions 0.22.0 through 2.3.0, the API token management endpoints do not correctly validate the principal type. User IDs and link-share IDs are independent numeric sequences but both resolve through a generic interface. If a link-share JWT's numeric ID equals a target user's ID, the system treats the JWT as if it belongs to that user. An authenticated attacker can discover a target user's numeric ID via user search, then create link shares until the link-share sequence reaches that ID. Using the resulting link-share JWT, the attacker can list, create, delete, and issue API tokens under the target user's permissions. This flaw allows privilege escalation within the API token management context. The issue is resolved in version 2.4.0.
Potential Impact
An authenticated attacker can impersonate a target user in the API token management endpoints by exploiting the flawed principal type validation. This allows the attacker to manage the target user's API tokens, including issuing new tokens with arbitrary scopes, potentially leading to unauthorized access and actions under the target user's identity. The vulnerability has a high severity with a CVSS 4.0 score of 8.6.
Mitigation Recommendations
Upgrade to Vikunja version 2.4.0 or later, where this authorization flaw is fixed. No other official remediation or temporary workaround is indicated. Patch status is not explicitly stated but the fix version is known.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-07-31T11:56:29.760Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a6f3c9fbf32cb7a348adf75
Added to database: 08/02/2026, 12:48:31 UTC
Last enriched: 08/09/2026, 14:23:17 UTC
Last updated: 09/16/2026, 10:01:34 UTC
Views: 50
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.