CVE-2026-57458

Vikunja: Scoped API token can mint unrestricted OAuth session credentials

Published Oct 9, 2026 CVSS 3.1 · 8.1 High EPSS < 1% KEV · Not listed
Description
Vikunja is an open-source self-hosted task management platform. In version 2.3.0, a scoped API token limited to the `oauth.authorize` permission can call `POST /api/v1/oauth/authorize`, obtain an OAuth authorization code, and exchange the code at `POST /api/v1/oauth/token` for a normal bearer JSON Web Token (JWT) and refresh token. The resulting credentials are not restricted by the original API token's permissions, allowing access to routes outside its declared scope for the same user. Version 2.4.0 fixes the vulnerability.

Analysis

AI-generated

Technical impact

A scoped API token with only oauth.authorize permission in Vikunja can be used to obtain an OAuth authorization code. That code can then be exchanged for a bearer JSON Web Token and refresh token that are not limited by the original token’s scope. The resulting credentials allow unrestricted access to all routes available to the owning user, effectively turning a low‑privilege token into a full session. The flaw stems from improper privilege delegation (CWE‑269).

Affected Systems

The affected product is the Vikunja self‑hosted task management platform. Versions 2.3.0 and any earlier releases that have not applied the 2.4.0 patch contain the vulnerability. Running a patched version of 2.4.0 or later eliminates the risk.

Risk and Exploitability

The CVSS score of 8.1 signals a high severity vulnerability. The EPSS score is not available, but the flaw requires only the possession of a legitimate scoped API token, which can be acquired via normal API usage, social engineering, or compromised user credentials. The issue is not listed in the CISA KEV catalog. The most likely attack vector is through legitimate API calls by an attacker who obtains such a scoped token, then swapping the token for a full OAuth session to access sensitive data and administrative functionality.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to Vikunja v2.4.0 or later, which removes the privilege escalation flaw.
  • Revoke all existing scoped API tokens that are limited only to oauth.authorize and issue new tokens with the minimal scopes required for their intended use.
  • Implement monitoring and rate limiting on the OAuth token exchange endpoints to detect anomalous token usage that may indicate exploitation.

Generated by OpenCVE AI on October 9, 2026 at 22:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-v3p6-34mc-hj7v Vikunja: Scoped API token can mint unrestricted OAuth session credentials
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Go-vikunja
Go-vikunja vikunja
Vendors & Products Go-vikunja
Go-vikunja vikunja
Type Values Removed Values Added
Description Vikunja is an open-source self-hosted task management platform. In version 2.3.0, a scoped API token limited to the `oauth.authorize` permission can call `POST /api/v1/oauth/authorize`, obtain an OAuth authorization code, and exchange the code at `POST /api/v1/oauth/token` for a normal bearer JSON Web Token (JWT) and refresh token. The resulting credentials are not restricted by the original API token's permissions, allowing access to routes outside its declared scope for the same user. Version 2.4.0 fixes the vulnerability.
Title Vikunja: Scoped API token can mint unrestricted OAuth session credentials
Weaknesses CWE-269
References
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N'}

Weaknesses
  • CWE-269

    Improper Privilege Management

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 13, 2026, 6:32 PM
Reserved
Jun 24, 2026, 1:21 PM
Status
Deferred
Published
Oct 9, 2026, 9:17 PM
Modified
Oct 16, 2026, 8:04 PM