Duplicate Advisory: Vikunja: Link-share principal ID collision allows cross-account API token issuance and management
Description
Vikunja versions 0.22.0 through 2.3.0 contain a vulnerability in API token management where the system fails to validate the principal type. This allows a link-share JWT with a numeric ID matching a user's ID to be treated as that user, enabling an authenticated attacker to manage the target user's API tokens. The issue is fixed in version 2.4.0.
CVSS v3.1
Score 8.1high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Vikunja versions 0.22.0 through 2.3.0 do not properly validate the principal type in API token management endpoints. 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 matches a target user's ID, the system treats the JWT as belonging to that user. An authenticated attacker can discover a target user's numeric ID, create link shares until the link-share ID matches that user ID, then use the resulting JWT to list, create, and delete the target user's API tokens, including issuing new tokens with attacker-chosen scopes under the target's permissions. This vulnerability is fixed in Vikunja version 2.4.0.
Potential Impact
An authenticated attacker can impersonate another user by exploiting the principal ID collision, allowing them to manage the victim's API tokens. This includes listing, creating, deleting tokens, and issuing new tokens with arbitrary scopes under the victim's permissions. This leads to a complete compromise of the victim's API access without needing the victim's credentials.
Mitigation Recommendations
Upgrade Vikunja to version 2.4.0 or later, where this vulnerability has been fixed. No other mitigations are specified. Patch status is confirmed fixed in 2.4.0.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-9jrx-vmh8-c6xw
- Osv Schema Version
- 1.4.0
- Ecosystems
- ["Go"]
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6ac96e522cdf04f65689a7aa
Added to database: 10/09/2026, 22:44:34 UTC
Last enriched: 10/09/2026, 22:49:45 UTC
Last updated: 10/09/2026, 22:49:45 UTC
Views: 6
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.