CVE-2026-35597
Vikunja ≤ 2.3.0
Raw vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:NCVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.
Summary
CVE-2026-35597 is a medium-severity Improper Restriction of Excessive Authentication Attempts (CWE-307) vulnerability in Vikunja. Its CVSS base score is 5.9 (Medium).
Operationally, exploitation aligns with the MITRE ATT&CK technique Brute Force (T1110); ranked at the 35th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
The strongest mitigations our analysis identified map to AC-7 (Unsuccessful Logon Attempts) — see the control section below for these in your framework.
Deeper analysis AI-assisted summary
Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.
CVE-2026-35597 affects Vikunja, an open-source self-hosted task management platform, in versions prior to 2.3.0. The vulnerability stems from a database transaction handling bug that renders the TOTP failed-attempt lockout mechanism non-functional. Specifically, when TOTP validation fails, the login handler in pkg/routes/api/v1/login.go calls HandleFailedTOTPAuth in pkg/user/totp.go, which increments an in-memory counter and attempts to set the user status to locked after 10 failures using the same database session. However, the login handler unconditionally rolls back the transaction afterward, undoing the lockout write while the counter continues to increment, allowing unlimited brute-force attempts against TOTP codes. The issue is rated 5.9 on CVSS 3.1 (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N) and maps to CWE-307 (Improper Restriction of Excessive Authentication Attempts).
Unauthenticated remote attackers can exploit this vulnerability over the network with high attack complexity and no user interaction required. By repeatedly submitting invalid TOTP codes, attackers bypass the intended lockout, enabling brute-force attacks to guess valid TOTP codes and gain unauthorized access to user accounts, resulting in high confidentiality impact through potential exposure of sensitive task management data.
Vikunja addresses this vulnerability in version 2.3.0, as detailed in the GitHub security advisory GHSA-fgfv-pv97-6cmj, the associated pull request #2576, and the release notes. The fix is implemented via commit 6ca0151d02fa0e8c7e2181ab916a28e08caaaec8, which resolves the transaction rollback issue to properly enforce TOTP lockouts. Security practitioners should upgrade to 2.3.0 or later to mitigate the risk.
OWASP Top 10 for Web (2025)
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2026-21422
Vulnerability Data
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…
more
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.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise Techniques
MITRE ATT&CK v20.0
CVEs Like This One
Affected Assets
Mitigating Controls
Control response
—
—
- 2 hardening rules · 1 OS baseline
—
Mitigating Controls (NIST 800-53 r5)
Our mappings, made for this CVE.
AC-7 directly enforces limits on consecutive failed logons, structurally blocking brute-force exploitation of the weakness.
Mitigating Controls (NIST CSF 2.0)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.
Authentication enforcement directly includes lockout, throttling, and MFA policies that prevent brute-force attempts.
Behavioral monitoring of authentication activity can detect excessive failed attempts after they occur.
Generating auth logs enables later detection or forensics but does not itself restrict attempts.
Mitigating Controls (ISO/IEC 27001:2022 Annex A)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.
A.8.5 item (e) explicitly mandates protection against brute force log-on attempts (CAPTCHA, password reset after N failures, or blocking after a maximum number of errors), which is exactly the measure CWE-307 says is missing; a system designed and implemented under A.8.5 does not acquire this weakness, with no nameable remainder.
A.8.29's combined programme of code review, static analysis, and penetration testing reaches CWE-307 through both SOURCE (missing rate-limiting/lockout logic is visible in authentication code) and RUNTIME (pentesting directly exercises brute-force resistance); the remainder is bounded and nameable — subtle design flaws where rate limiting exists but is bypassable under specific conditions, which a single test cycle may not surface.
Training can make developers aware that authentication endpoints need rate limiting and account lockout, reducing some instances of this architectural omission, but it is a fallible human practice against a design/code defect — the same reasoning as A.6.3 -> CWE-598 and AT-2 -> CWE-79.
A.8.28's secure design/architecture and threat-modelling guidance would lead a developer to implement rate limiting or account lockout, but the clause mandates a practice rather than a specific authentication-throttling mechanism, so what it catches depends on the rigour of implementation — consistent with the partial rungs on CWE-502 and CWE-79.
A.8.30 carries its effect through the secure-development practices its contract requires of the supplier (8.25 to 8.29), so it reduces ordinary software weaknesses in delivered code the way those practices do; CWE-307 is an architectural/design weakness in authentication that secure design and threat modeling would address, but the clause's mechanism is contractual and depends on the supplier's implementation, leaving a nameable remainder.
A.8.8's reach is DISCLOSURE — it finds CWE-307 instances only where they carry a vendor-published advisory. CWE-307 commonly surfaces as CVEs (multiple examples in the entry), so the disclosed share is real, but the majority of latent instances are first-party authentication designs that lack rate limiting and are never published as advisories; A.8.8's scanning and inventory reach does not see those.
Hardening callouts derived
Configuration rules from DISA STIG baselines that bear on weaknesses of the type cited by this CVE. Each rule is shown with the relationship its mapping actually records, against the CWE it was authored against. Derived via CVE→CWE over our cross-walk; rows rated `none` are excluded, and each rule says how its mapping was checked.
Definition changed on 29 October 2026. Until then this section listed every rule rated above none, partial included. From that date it lists rules whose mapping is rated full or mostly and checked at llm_unverified or higher; partial mappings show when you ask.
RHEL 7 (2 rules)
- V-204427 The Red Hat Enterprise Linux operating system must be configured to lock accounts for a minimum of 15 minutes after three unsuccessful logon attempts within a 15-minute timeframe. blocks CWE-307
- V-204428 The Red Hat Enterprise Linux operating system must lock the associated account after three unsuccessful root logon attempts are made within a 15-minute period. blocks CWE-307