# Vikunja TOTP secret readable after enrollment without reauthentication

Source: https://junglewise.ai/threats/duplicate-advisory-vikunja-totp-secret-is-readable-after-enrollment-no-e7b98756  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-09-15. Updated: 2026-10-09  
License: CC BY 4.0 with a link back

Severity: medium · CVSS 4.3 · Published 2026-09-15

Vikunja is a task and project management application. A flaw allows attackers with a valid user access token to read the TOTP (two-factor authentication) secret directly from the API, copy it into their own authenticator app, and generate valid codes indefinitely. This defeats the purpose of two-factor protection and enables account takeover even if the password is later changed.

Technologies: [code.vikunja.io/api (Go)](https://junglewise.ai/threats/technologies/code-vikunja-io-api), [Vikunja API](https://junglewise.ai/threats/technologies/vikunja-api). Vendors: [Go](https://junglewise.ai/threats/vendors/go), [Vikunja](https://junglewise.ai/threats/vendors/vikunja).

## Quick answers

**Is This vulnerability exploited in the wild?** No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.

**How severe is This vulnerability?** Medium severity, with a CVSS score of 4.3, published 15 September 2026.

**Which products and versions are affected?** code.vikunja.io/api (Go) <= 2.5.0; Vikunja API <= 2.5.0.

**Is there a fix for This vulnerability?** Yes: fixed in 2.6.0. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is This vulnerability attacked?** It is attacked over the network, in a web application.

**Am I affected?** Check whether you run code.vikunja.io/api (Go) or Vikunja API at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- Fixed in 2.6.0

## Technical details

The API endpoints GET /api/v1/user/settings/totp and GET /api/v1/user/settings/totp/qrcode return the raw TOTP shared secret without requiring reauthentication, only a valid access token. An attacker with any means of obtaining the token (XSS, token theft, unlocked session) can read the secret and import it into their own authenticator to defeat 2FA. The vulnerability is inconsistent with the account's own disable-TOTP endpoint, which does require password verification.

## Affected products

- Vikunja API <= 2.5.0

## Timeline

- 2026-08-31: disclosed
- 2026-09-15: advisory
- 2026-09-15: patched: patch version 2.6.0 released

## References

- [https://github.com/go-vikunja/vikunja/security/advisories/GHSA-88f6-4rjv-x774](https://github.com/go-vikunja/vikunja/security/advisories/GHSA-88f6-4rjv-x774)

## Related threats

- [Vikunja CalDAV relation creation bypasses authorization](https://junglewise.ai/threats/go-2026-6732-vikunja-caldav-relation-creation-bypasses-taskrelation-65a4724c)
- [Vikunja task relation deletion missing authorization check](https://junglewise.ai/threats/go-2026-6754-vikunja-task-relation-deletion-does-not-check-read-access-9f93429b)
- [Vikunja cross-project task disclosure through subtask expansion](https://junglewise.ai/threats/go-2026-6714-vikunja-cross-project-task-disclosure-through-subtask-cba3685c)
- [Vikunja information disclosure in task assignees endpoint](https://junglewise.ai/threats/go-2026-6723-vikunja-assignee-email-addresses-disclosed-to-read-only-e328c145)
- [Vikunja permissive CORS configuration account takeover](https://junglewise.ai/threats/cve-2026-111922-vikunja-from-2-2-0-before-2-7-0-contains-a-permissive-cors)
