CVE-2026-68581: Incorrect Authorization in go-vikunja vikunja
Vikunja versions 0.22.0 through 2.3.0 contain an authorization flaw in API token management. The system fails to properly validate the principal type, allowing a link-share JWT with a numeric ID matching a user ID to be treated as that user. This enables an authenticated attacker to manipulate API tokens of the target user, including listing, creating, deleting, and issuing new tokens with attacker-chosen scopes. The vulnerability is fixed in version 2.4.0.
AI Analysis
Technical Summary
Vikunja versions 0.22.0 through 2.3.0 improperly validate principal types in API token management endpoints. Because user IDs and link-share IDs are independent numeric sequences but both resolve through a generic interface, a link-share JWT whose numeric ID matches a target user's ID is mistakenly treated as that user by the /api/v1/tokens endpoints. An authenticated attacker can discover a target user's numeric ID, generate link shares until the link-share ID matches that user ID, then use the resulting link-share JWT to manage the target user's API tokens, including issuing new tokens with attacker-controlled scopes. This allows unauthorized token management under the target user's permissions. The issue is resolved in version 2.4.0.
Potential Impact
An authenticated attacker can escalate privileges by managing API tokens of arbitrary users whose numeric IDs they can discover. This includes listing, creating, deleting, and issuing new API tokens with attacker-chosen scopes under the target user's permissions, potentially leading to unauthorized access and actions within the system. The vulnerability affects all versions from 0.22.0 up to and including 2.3.0.
Mitigation Recommendations
Upgrade to Vikunja version 2.4.0 or later, where this authorization flaw is fixed. Patch status is not explicitly stated, but the fix is included in version 2.4.0. Until upgrading, restrict authenticated user capabilities to prevent attackers from enumerating user IDs or creating link shares arbitrarily. Monitor for suspicious API token management activity. No vendor advisory is provided to indicate alternative mitigations or that no action is required.
CVE-2026-68581: Incorrect Authorization in go-vikunja vikunja
Description
Vikunja versions 0.22.0 through 2.3.0 contain an authorization flaw in API token management. The system fails to properly validate the principal type, allowing a link-share JWT with a numeric ID matching a user ID to be treated as that user. This enables an authenticated attacker to manipulate API tokens of the target user, including listing, creating, deleting, and issuing new tokens with attacker-chosen scopes. The vulnerability is fixed in version 2.4.0.
CVSS v4.0
Score 8.6high
Affected software
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
Vikunja versions 0.22.0 through 2.3.0 improperly validate principal types in API token management endpoints. Because user IDs and link-share IDs are independent numeric sequences but both resolve through a generic interface, a link-share JWT whose numeric ID matches a target user's ID is mistakenly treated as that user by the /api/v1/tokens endpoints. An authenticated attacker can discover a target user's numeric ID, generate link shares until the link-share ID matches that user ID, then use the resulting link-share JWT to manage the target user's API tokens, including issuing new tokens with attacker-controlled scopes. This allows unauthorized token management under the target user's permissions. The issue is resolved in version 2.4.0.
Potential Impact
An authenticated attacker can escalate privileges by managing API tokens of arbitrary users whose numeric IDs they can discover. This includes listing, creating, deleting, and issuing new API tokens with attacker-chosen scopes under the target user's permissions, potentially leading to unauthorized access and actions within the system. The vulnerability affects all versions from 0.22.0 up to and including 2.3.0.
Mitigation Recommendations
Upgrade to Vikunja version 2.4.0 or later, where this authorization flaw is fixed. Patch status is not explicitly stated, but the fix is included in version 2.4.0. Until upgrading, restrict authenticated user capabilities to prevent attackers from enumerating user IDs or creating link shares arbitrarily. Monitor for suspicious API token management activity. No vendor advisory is provided to indicate alternative mitigations or that no action is required.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-07-31T11:56:29.760Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a6f3c9fbf32cb7a348adf75
Added to database: 08/02/2026, 12:48:31 UTC
Last enriched: 08/02/2026, 13:03:03 UTC
Last updated: 08/02/2026, 13:12:01 UTC
Views: 4
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.