high8.1
CVE-2026-57458
Vikunja: Scoped API token can mint unrestricted OAuth session credentials
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| go | code.vikunja.io/api | = 2.3.0 | 2.4.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-v3p6-34mc-hj7v
- https://github.com/go-vikunja/vikunja/security/advisories/GHSA-v3p6-34mc-hj7v
- https://github.com/go-vikunja/vikunja/commit/4ae2e093014881052ed8f8ecd8bcb9adf83dd276
- https://github.com/go-vikunja/vikunja/releases/tag/v2.4.0