CVE-2026-91981: Vikunja before 2.6.0 User Enumeration via v2 API

Published Sep 15, 2026
·
Updated

Summary A link-share token, the credential you hand out to let someone view a shared project, can call the v2 user-search endpoints, which it was never meant to reach. The v1 versions of the same endpoints correctly reject link-share tokens; the v2 versions don't. As a result, anyone with a share link can list every member of the shared project (and its parent projects), and can test whether any username exists anywhere on the instance.

Details Two endpoints are affected:

GET /api/v2/projects/{id}/users/search only checks project.CanRead, which a link share satisfies on its own project. With no parameter it returns the full user list, walking up the parent-project chain. GET /api/v2/users?q=<name> is a global search. It needs a query term, but any term works as an existence oracle: a hit confirms the username exists somewhere on the instance and returns the display name.

Emails are correctly stripped from these responses, so the exposure is limited to identities (usernames and display names), but that's still an instance-wide directory that a share-link holder should never see.

The fix is to resolve the caller with GetFromAuth in both handlers, so link-share tokens are rejected the same way v1 already rejects them.

PoC 1. Get a link-share token. With any account that owns a project, create a read-only link share and note the hash, then exchange it: POST /api/v1/shares/<hash>/auth {"password":""} The response contains a token, a link-share JWT.

2. Confirm v1 blocks it (the fixed behavior). With that token: GET /api/v1/projects/<id>/projectusers Authorization: Bearer <linksharetoken> → rejected: the token isn't a user token.

3. Now the vulnerable v2 endpoints, same token: GET /api/v2/projects/<id>/users/search Authorization: Bearer <linksharetoken> → 200, full list of everyone with access to the project and its parents (id, username, name). GET /api/v2/users?q=admin Authorization: Bearer <linksharetoken> → 200, a non-empty result confirms the username exists on the instance. Iterate q over a wordlist to enumerate accounts.

Impact Information disclosure. A link share is a low-trust credential meant to expose one project's contents; here it also exposes the membership of that project's parents and lets the holder probe for any username across the whole instance. Since share links are often forwarded or semi-public, this hands an untrusted recipient a map of internal users and a username-validation oracle useful for phishing and credential stuffing. No account is required beyond possessing a share link. Emails are not exposed.

Other sources

Vikunja versions before 2.6.0 fail to properly validate link-share tokens in the v2 API user search endpoints. Attackers with a read-only share link can enumerate project users via the projects endpoint and confirm arbitrary usernames exist via the global search endpoint.

— NVD

Affected Software

2 affected componentsFixes available
Vikunja Vikunja<2.6.0
go/code.vikunja.io/api<=2.5.0
2.6.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade go/code.vikunja.io/api to a version that resolves this vulnerability.

    Fixed in 2.6.0
  2. Upgrade

    Upgrade Vikunja to a version that resolves this vulnerability.

    Fixed in 2.6.0

Event History

Sep 15, 2026
CVE Published
via MITRE·03:18 PM
Data Sourced
via MITRE·03:18 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:17 PM
DescriptionSeverityWeakness
Oct 9, 2026
Advisory Published
via GitHub·08:52 PM
Data Sourced
via GitHub·08:52 PM
DescriptionWeaknessAffected Software

Frequently Asked Questions

1

Who can exploit this issue?

An attacker needs a read-only share link. No interactive user action is required, and the vulnerable endpoints are reachable over the network.

2

What information can an attacker obtain?

A holder of a read-only share link can enumerate users associated with a project through the projects endpoint. They can also use the global search endpoint to confirm whether arbitrary usernames exist.

3

Which deployments are affected?

Vikunja versions earlier than 2.6.0 are affected. The issue concerns v2 API user search endpoints when link-share tokens are not properly validated.

4

How can I determine whether my instance is vulnerable?

Check the deployed Vikunja version. Instances running a version before 2.6.0 should be treated as affected, particularly where read-only share links are issued.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203