---
id: "CVE-2026-91982"
kind: "vulnerability"
aliases: ["CVE-2026-91982", "GHSA-88f6-4rjv-x774", "GO-2026-6722"]
title: "Vikunja: TOTP secret is readable after enrollment, no step-up auth in code.vikunja.io/api"
severity: "medium"
cvss: 5.3
epss: 0.00346
exploited: false
status: "open"
category: "package"
products: [{"name": "code.vikunja.io/api", "fixed": [], "affected": "all versions", "ecosystem": "go"}]
ecosystems: ["go"]
tags: ["go", "package", "self-hosted", "vikunja"]
not_affected_if: ["default-config", "no-totp-enrollment"]
published_at: "2026-09-15T16:17:55+00:00"
first_seen_at: "2026-10-23T19:13:08+00:00"
updated_at: "2026-10-23T21:49:02+00:00"
sources: [{"source": "govuln", "url": "https://pkg.go.dev/vuln/GO-2026-6722", "first_seen_at": "2026-10-23T19:13:08+00:00"}, {"source": "epss", "url": "https://api.first.org/data/v1/epss?cve=CVE-2026-91982", "first_seen_at": "2026-10-23T19:13:43+00:00"}, {"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-91982", "first_seen_at": "2026-10-23T19:35:23+00:00"}]
---

# Vikunja: TOTP secret is readable after enrollment, no step-up auth in code.vikunja.io/api

Vikunja's Go API module (code.vikunja.io/api) keeps a user's TOTP two-factor secret readable after enrollment. The code does not require step-up authentication before the secret is returned, so an attacker with access to a logged-in session could read it and generate valid 2FA codes.

_Summary, check and fix written by a model from the sources; labelled as such._

## Affected

- go:code.vikunja.io/api affected all versions fixed ?

## How to check

Run: go list -m code.vikunja.io/api and check whether the version is below v2.6.0.

## Fix

Upgrade code.vikunja.io/api to v2.6.0 or later.

## Timeline

- 2026-10-23T19:13:08+00:00 govuln https://pkg.go.dev/vuln/GO-2026-6722
- 2026-10-23T19:13:43+00:00 epss https://api.first.org/data/v1/epss?cve=CVE-2026-91982
- 2026-10-23T19:35:23+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-91982

## From the sources

Vikunja: TOTP secret is readable after enrollment, no step-up auth in code.vikunja.io/api.

NOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.

(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)

The additional affected modules and versions are: code.vikunja.io/api before v2.6.0.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
