Skip to main content
EPSS 0.4%top 64%

CVE-2026-68581: Incorrect Authorization in go-vikunja vikunja

0
High
Published: 08/02/2026 (08/02/2026, 12:15:27 UTC)
Source: CVE Database V5
Vendor/Project: go-vikunja
Product: 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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

go-vikunja

vikunja

Affected versions
>=0.22.0 <2.4.0
github.com/go-vikunja/vikunja
pkg:golang/github.com/go-vikunja/vikunja
Affected versions
=0.22.0<=2.3.0

Run 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

AILast updated: 08/09/2026, 14:23:17 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses