A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-45691

CVE-2026-45691: Nextcloud Server 2FA Bypass Vulnerability

CVE-2026-45691 is an authentication bypass vulnerability in Nextcloud Server that allows attackers to reuse pre-2FA session cookies to bypass two-factor authentication. This article covers technical details, affected versions, and mitigation.

Published: June 4, 2026

CVE-2026-45691 Overview

CVE-2026-45691 is an authentication bypass vulnerability in Nextcloud Server affecting versions 32.0.0 through 32.0.8 and 33.0.0 through 33.0.2. The flaw allows an attacker who possesses valid primary credentials to reuse a pre-2FA session cookie as a Bearer token against WebDAV (DAV) endpoints. This grants read and write access to user data while bypassing mandatory two-factor authentication (TOTP). The issue is tracked under CWE-287: Improper Authentication.

Critical Impact

An attacker with stolen or phished credentials can bypass mandatory 2FA enforcement and access user files through DAV endpoints, defeating a primary control intended to mitigate credential compromise.

Affected Products

  • Nextcloud Server 32.0.0 through versions before 32.0.9
  • Nextcloud Server 33.0.0 through versions before 33.0.3
  • Nextcloud Enterprise Server branches 29.x, 30.x, 31.x, 32.x, and 33.x prior to fixed releases

Discovery Timeline

  • 2026-06-01 - CVE-2026-45691 published to NVD
  • 2026-06-02 - Last updated in NVD database

Technical Details for CVE-2026-45691

Vulnerability Analysis

Nextcloud issues a session cookie after a user submits valid primary credentials but before the TOTP step completes. This intermediate session is intended only to track the authentication state between the password and second-factor stages. The DAV endpoint handler accepts this cookie value when supplied as an HTTP Authorization: Bearer token. The Bearer authentication path does not re-check whether the session has completed the second-factor challenge.

An attacker with a valid username and password can drive the login flow to the 2FA prompt, capture the partially authenticated session identifier, and replay it against /remote.php/dav/ endpoints. The DAV stack then treats the request as fully authenticated, enabling file reads, uploads, and modifications without ever satisfying the TOTP requirement.

Root Cause

The root cause is inconsistent authentication state enforcement between the web session middleware and the DAV Bearer token authenticator. The Bearer authentication backend resolves the supplied token to a user account but does not validate the two-factor completion flag stored on the session. This is a classic broken access control pattern where one authentication path enforces a security control and a parallel path does not.

Attack Vector

Exploitation requires network access to the Nextcloud instance and prior knowledge of valid primary credentials, typically obtained through phishing, credential stuffing, or password reuse. The attacker logs in via the standard web flow, intercepts the nc_session_id (or equivalent) cookie value at the 2FA prompt, then issues HTTP requests directly to DAV endpoints with Authorization: Bearer <cookie_value>. No user interaction is required at the victim side once credentials are obtained. Full technical details are available in the Nextcloud GitHub Security Advisory GHSA-mp6x-g55j-w9jw and the corresponding HackerOne report #3573399.

Detection Methods for CVE-2026-45691

Indicators of Compromise

  • Requests to /remote.php/dav/ or /public.php/dav/ carrying an Authorization: Bearer header from clients that did not complete the interactive 2FA flow.
  • DAV access logs showing successful authentication for accounts where the corresponding web session never recorded a TOTP success event.
  • Anomalous user-agent strings or scripted clients accessing DAV endpoints shortly after a partial login from the same IP.

Detection Strategies

  • Correlate authentication audit events with DAV access logs to identify sessions that produced DAV traffic without a completed second-factor step.
  • Alert on Bearer token authentication against DAV endpoints when the same token value matches an active pre-2FA web session cookie.
  • Baseline normal DAV client behavior (sync clients, mobile apps) and flag deviations such as bulk file enumeration from non-sync user agents.

Monitoring Recommendations

  • Forward Nextcloud nextcloud.log and webserver access logs to a central SIEM with retention sufficient to reconstruct login sequences.
  • Track per-user 2FA completion rates and alert when a user account has DAV activity disproportionate to its successful 2FA events.
  • Monitor for credential-stuffing patterns against the Nextcloud login endpoint, as successful primary authentication is the prerequisite for this bypass.

How to Mitigate CVE-2026-45691

Immediate Actions Required

  • Upgrade Nextcloud Server to version 33.0.3 or 32.0.9 as soon as possible.
  • For Nextcloud Enterprise Server, upgrade to 33.0.3, 32.0.9, 31.0.14.5, 30.0.17.9, or 29.0.16.16 depending on the deployed branch.
  • Invalidate all active sessions and app passwords after patching to revoke any tokens an attacker may already hold.
  • Rotate user passwords for accounts where credential compromise is suspected and review DAV access logs for the exposure window.

Patch Information

The fix is implemented in Nextcloud server pull request #59758, which enforces two-factor completion validation on the Bearer token authentication path used by DAV. Administrators should apply the appropriate fixed release for their branch and verify the running version after upgrade. Refer to the GitHub Security Advisory for the authoritative remediation matrix.

Workarounds

  • If immediate patching is not possible, restrict access to DAV endpoints at the reverse proxy or WAF layer to known sync client IP ranges.
  • Temporarily disable the affected Bearer authentication path at the webserver level for /remote.php/dav/ until the upgrade is completed.
  • Enforce strong password policies and credential-stuffing protections to reduce the likelihood that an attacker obtains the primary credentials required to reach the vulnerable code path.
bash
# Verify the running Nextcloud version after upgrade
sudo -u www-data php /var/www/nextcloud/occ status

# Invalidate existing sessions and app tokens for a user
sudo -u www-data php /var/www/nextcloud/occ user:disable <username>
sudo -u www-data php /var/www/nextcloud/occ user:enable <username>

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechNextcloud

  • SeverityMEDIUM

  • CVSS Score5.9

  • EPSS Probability0.06%

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

  • GitHub Pull Request

  • HackerOne Security Report
  • Related CVEs
  • CVE-2026-45285: Nextcloud Server Auth Bypass Vulnerability

  • CVE-2026-45284: Nextcloud User OIDC Auth Bypass Flaw

  • CVE-2026-45281: Nextcloud Server Auth Bypass Vulnerability

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

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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