Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-35597

CVE-2026-35597: Vikunja TOTP Auth Bypass Vulnerability

CVE-2026-35597 is an authentication bypass flaw in Vikunja's TOTP mechanism that enables unlimited brute-force attacks. This article covers the technical details, affected versions, security impact, and mitigation strategies.

Published: April 17, 2026

CVE-2026-35597 Overview

CVE-2026-35597 is an authentication bypass vulnerability affecting Vikunja, an open-source self-hosted task management platform. The vulnerability exists in the Time-based One-Time Password (TOTP) failed-attempt lockout mechanism, which is rendered non-functional due to a database transaction handling bug. This flaw allows attackers to conduct unlimited brute-force attempts against TOTP codes, effectively bypassing the multi-factor authentication protection intended to secure user accounts.

Critical Impact

The TOTP lockout bypass enables attackers to perform unlimited brute-force attacks against user accounts protected by two-factor authentication, potentially compromising any account on affected Vikunja instances.

Affected Products

  • Vikunja versions prior to 2.3.0
  • All Vikunja installations with TOTP-based two-factor authentication enabled
  • Self-hosted Vikunja deployments running vulnerable versions

Discovery Timeline

  • 2026-04-10 - CVE CVE-2026-35597 published to NVD
  • 2026-04-13 - Last updated in NVD database

Technical Details for CVE-2026-35597

Vulnerability Analysis

This vulnerability represents a classic Improper Restriction of Excessive Authentication Attempts (CWE-307) combined with a subtle database transaction management flaw. The vulnerability exists in the interaction between two code paths: the login handler in pkg/routes/api/v1/login.go and the TOTP authentication handler in pkg/user/totp.go.

When a user attempts to authenticate with TOTP, the system uses an in-memory counter (key-value store) to track failed attempts. Upon reaching 10 failed attempts, the HandleFailedTOTPAuth function correctly invokes user.SetStatus(s, StatusAccountLocked) to lock the account. However, the critical flaw lies in the transaction handling—the login handler unconditionally rolls back the database transaction after any TOTP failure.

This rollback behavior means that while the in-memory counter correctly tracks failed attempts and the lockout code executes on every attempt after the threshold is reached, the actual database write that would persist the locked account status is undone. The result is a security control that appears to function but provides no actual protection.

Root Cause

The root cause is improper database transaction handling in the authentication flow. The login handler in pkg/routes/api/v1/login.go unconditionally calls rollback after TOTP validation failures, regardless of whether the lockout status was written to the database. The HandleFailedTOTPAuth function in pkg/user/totp.go operates within the same database session, so when the parent transaction rolls back, all changes—including the account lockout status—are discarded. The disconnect between in-memory state (which persists) and database state (which gets rolled back) creates a false sense of security where the lockout logic executes but has no effect.

Attack Vector

An attacker can exploit this vulnerability by repeatedly submitting invalid TOTP codes against a target account. Since the network-accessible authentication endpoint accepts unlimited attempts without effective rate limiting or account lockout, the attacker can systematically attempt all 1,000,000 possible 6-digit TOTP codes. Given that TOTP codes typically have a 30-second validity window, a sufficiently fast attack could potentially guess the correct code within this timeframe.

The attack requires the attacker to know or have already compromised the target account's primary credentials (username and password), making this vulnerability particularly dangerous in credential stuffing scenarios or when primary credentials have been leaked.

Detection Methods for CVE-2026-35597

Indicators of Compromise

  • Unusually high volume of failed TOTP authentication attempts from a single IP address
  • Multiple failed login attempts targeting the same user account in rapid succession
  • Authentication logs showing continued TOTP failures after the 10-attempt threshold should have triggered lockout
  • Patterns of systematic code enumeration (sequential or structured TOTP code attempts)

Detection Strategies

  • Implement external monitoring for authentication endpoint request rates that exceed normal user behavior
  • Configure alerting on authentication failure patterns that indicate brute-force attempts
  • Review Vikunja application logs for repeated HandleFailedTOTPAuth executions without corresponding account lockouts
  • Deploy web application firewall (WAF) rules to detect and block rapid authentication attempts

Monitoring Recommendations

  • Enable verbose logging for authentication events and monitor for anomalous patterns
  • Implement network-level rate limiting on the login endpoint as an additional layer of defense
  • Set up alerts for any single IP making more than 10 authentication attempts within a 5-minute window
  • Consider deploying SIEM rules to correlate failed TOTP attempts with potential account compromise indicators

How to Mitigate CVE-2026-35597

Immediate Actions Required

  • Upgrade all Vikunja installations to version 2.3.0 or later immediately
  • Audit authentication logs for signs of previous exploitation attempts
  • Implement network-level rate limiting on authentication endpoints as a defense-in-depth measure
  • Consider temporarily disabling TOTP authentication and using alternative MFA methods if immediate upgrade is not possible

Patch Information

The vulnerability is fixed in Vikunja version 2.3.0. The fix addresses the database transaction handling to ensure that account lockout status is properly committed to the database. Organizations should update to this version through their standard deployment processes. The patch is available via the GitHub Release v2.3.0. Technical details of the fix can be reviewed in the GitHub Commit and GitHub Pull Request. For full security advisory details, refer to GHSA-fgfv-pv97-6cmj.

Workarounds

  • Deploy a reverse proxy or WAF with rate limiting configured to block excessive authentication attempts
  • Implement IP-based blocking for sources exceeding authentication attempt thresholds
  • Use VPN or IP allowlisting to restrict access to the Vikunja login endpoint to trusted networks
  • Consider temporarily disabling TOTP and using hardware security keys or other MFA methods until the patch can be applied
bash
# Example nginx rate limiting configuration for Vikunja login endpoint
# Add to nginx server block configuration
limit_req_zone $binary_remote_addr zone=login_limit:10m rate=5r/m;

location /api/v1/login {
    limit_req zone=login_limit burst=3 nodelay;
    limit_req_status 429;
    proxy_pass http://vikunja_backend;
}

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechVikunja

  • SeverityMEDIUM

  • CVSS Score5.9

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-307
  • Technical References
  • GitHub Commit Update

  • GitHub Pull Request

  • GitHub Release v2.3.0

  • GitHub Security Advisory GHSA-fgfv-pv97-6cmj
  • Related CVEs
  • CVE-2026-35598: Vikunja Auth Bypass Vulnerability

  • CVE-2026-35594: Vikunja Auth Bypass Vulnerability

  • CVE-2026-34727: Vikunja Auth Bypass Vulnerability

  • CVE-2026-40103: Vikunja Auth Bypass Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English