SCA: security update for code.vikunja.io/api (GHSA-vvcv-vpph-h844)

high Tenable Cloud Security Plugin ID 474093

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2026-68581)

Solution

Update the code.vikunja.io/api library and its related packages to version 2.4.0 or later.

See Also

https://github.com/advisories/GHSA-vvcv-vpph-h844

Plugin Details

Severity: High

ID: 474093

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 10/10/2026

Updated: 10/10/2026

Risk Information

VPR

Risk Factor: Medium

Score: 4.3

Percentile: 53.63

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 8.5

Temporal Score: 6.3

Vector: CVSS2#AV:N/AC:L/Au:S/C:C/I:C/A:N

CVSS Score Source: CVE-2026-68581

CVSS v3

Risk Factor: High

Base Score: 8.1

Temporal Score: 7.1

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

CVSS v4

Risk Factor: High

Base Score: 8.6

Threat Score: 6.2

Threat Vector: CVSS:4.0/E:U

Vector: 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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 10/9/2026

Vulnerability Publication Date: 8/2/2026

Reference Information

CVE: CVE-2026-68581

cwe: CWE-863