CVE-2026-35597 json
Vikunja Affected by TOTP Brute-Force Due to Non-Functional Account Lockout
published 2026-04-10 6 mo ago modified 2026-10-26 13 d ago also EUVD-2026-21422 , GHSA-fgfv-pv97-6cmj , GO-2026-5362
- cvss
- 5.9
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 23%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go code.vikunja.io/api 2.3.0
- vikunja vikunja 2.3.0
- govulncheck-vulndb openSUSE Leap 16.0 0.0.20260723T184607-160000.1.1
opensuse advisories openSUSE-SU-2026:21483-1
- github.com/go-vikunja/vikunja@6ca0151 commit
- github.com/go-vikunja/vikunja#2576 pull request
- github.com/go-vikunja/vikunja/releases/tag/v2.3.0 release
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 6 mo ago
Exploit prediction
0.31% chance of exploitation in the next 30 days, higher than 23% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/go-vikunja/vikunja/security/advisories/GHSA-fgfv-pv97-6cmj referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 3.1 | 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | code.vikunja.io/api | <2.3.0 all versions |
2.3.0 |
Affected products
- go-vikunja vikunja
Classification
- Weakness
-
- CWE-307 Improper Restriction of Excessive Authentication Attempts
References
-
github.com
/go-vikunja/vikunja/pull/2576
web, issue-tracking
-
github.com
/go-vikunja/vikunja/commit/6ca0151d02fa0e8c7e2181ab916a28e08caaaec8
web, patch
-
github.com
/go-vikunja/vikunja/security/advisories/GHSA-fgfv-pv97-6cmj
exploit, web, vendor-advisory, advisory
-
github.com
/go-vikunja/vikunja/releases/tag/v2.3.0
web, release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2026-35597
advisory
-
github.com
/go-vikunja/vikunja
package
Sources
- CVE List CVE-2026-35597
- GitHub Advisory GHSA-fgfv-pv97-6cmj
- NVD CVE-2026-35597
- OSV GO-2026-5362
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.