CVE-2026-35597
published medium CVSS 3.1 · 5.9Vikunja Affected by TOTP Brute-Force Due to Non-Functional Account Lockout
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| go-vikunja | — | vikunja< 2.3.0 | Affected | Not stated | GitHub_M |
Description
Vikunja is an open-source self-hosted task management platform. Prior to 2.3.0, the TOTP failed-attempt lockout mechanism is non-functional due to a database transaction handling bug. When a TOTP validation fails, the login handler in pkg/routes/api/v1/login.go calls HandleFailedTOTPAuth and then unconditionally rolls back. HandleFailedTOTPAuth in pkg/user/totp.go uses an in-memory counter (key-value store) to track failed attempts. When the counter reaches 10, it calls user.SetStatus(s, StatusAccountLocked) on the same database session s. Because the login handler always rolls back after a TOTP failure, the StatusAccountLocked write is undone. The in-memory counter correctly increments past 10, so the lockout code executes on every subsequent attempt, but the database write is rolled back every time. This allows unlimited brute-force attempts against TOTP codes. This vulnerability is fixed in 2.3.0.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.9 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| go-vikunja | vikunja | < 2.3.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-307 CWE-307: Improper Restriction of Excessive Authentication Attempts
References
4Provider assertions
2GitHub_M · cna
Vikunja Affected by TOTP Brute-Force Due to Non-Functional Account Lockout
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 764d115f1de5a6b80d37e1ac7cdea13c68856aab348d7a7f1fe0945b58f60e60
- Ingested
- 23 Sep 2026, 09:11:49 UTC
- Source record
- Official CVE record