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-35541

CVE-2026-35541: Roundcube Webmail Auth Bypass Vulnerability

CVE-2026-35541 is an authentication bypass flaw in Roundcube Webmail that allows password changes without knowing the old password due to type confusion. This article covers technical details, affected versions, and mitigation.

Published: April 10, 2026

CVE-2026-35541 Overview

CVE-2026-35541 is a Type Confusion vulnerability discovered in Roundcube Webmail affecting versions before 1.5.14 and 1.6.14. The vulnerability exists in the password plugin where incorrect password comparison logic could allow an attacker to change a user's password without knowing the current password. This flaw stems from the use of loose comparison operators (== and !=) instead of strict comparison operators (=== and !==) in PHP, leading to potential type juggling attacks.

Critical Impact

Authenticated attackers could exploit this type confusion vulnerability to bypass password verification and change account passwords without providing the correct current password, potentially leading to account takeover.

Affected Products

  • Roundcube Webmail versions before 1.5.14
  • Roundcube Webmail versions before 1.6.14
  • Roundcube Webmail versions before 1.7-rc5

Discovery Timeline

  • April 3, 2026 - CVE-2026-35541 published to NVD
  • April 7, 2026 - Last updated in NVD database

Technical Details for CVE-2026-35541

Vulnerability Analysis

This vulnerability is classified as CWE-843 (Access of Resource Using Incompatible Type - Type Confusion). The flaw exists in the password comparison logic within the plugins/password/password.php file. When users attempt to change their password, the plugin compares the current password input against the stored password and also checks if the new password matches the old one to prevent reuse.

The vulnerable code used PHP's loose comparison operators (== and !=) which perform type coercion before comparison. In PHP, when comparing strings with certain special values or when one operand can be interpreted as a number, type juggling can occur, leading to unexpected true/false results. This allows an attacker to craft specific input values that pass the password validation checks even when the actual password doesn't match.

Root Cause

The root cause is the use of loose comparison operators in PHP for password validation. The vulnerable code used $curpwd != $newpwd and $curpwd == $newpwd for password comparisons. In PHP, loose comparisons can result in type confusion when comparing strings that look like numbers or when dealing with null/empty values. For example, "0" == false evaluates to true in PHP's loose comparison, and similar edge cases could be exploited to bypass the password verification logic.

Attack Vector

The attack is network-based and requires low-privileged access (an authenticated user account). An attacker with valid credentials to a Roundcube Webmail instance could exploit this vulnerability by:

  1. Accessing the password change functionality
  2. Crafting a specially formatted input that exploits PHP's type juggling behavior
  3. Bypassing the current password verification check
  4. Successfully changing the account password without knowing the original password

This could be used to maintain persistence after initial compromise or to take over accounts where the attacker has temporary session access.

php
// Vulnerable code (before patch)
switch ($type) {
    case PASSWORD_COMPARE_CURRENT:
        $result = $curpwd != $newpwd ? $this->gettext('passwordincorrect') : null;
        break;
    case PASSWORD_COMPARE_NEW:
        $result = $curpwd == $newpwd ? $this->gettext('samepasswd') : null;
        break;
}

// Fixed code (after patch)
switch ($type) {
    case PASSWORD_COMPARE_CURRENT:
        $result = $curpwd !== $newpwd ? $this->gettext('passwordincorrect') : null;
        break;
    case PASSWORD_COMPARE_NEW:
        $result = $curpwd === $newpwd ? $this->gettext('samepasswd') : null;
        break;
}

Source: GitHub Commit Update

Detection Methods for CVE-2026-35541

Indicators of Compromise

  • Unexpected password change events in Roundcube logs without corresponding legitimate user activity
  • Multiple password change attempts from the same session with unusual input patterns
  • Password change success events that don't align with user-reported activity
  • Anomalous HTTP POST requests to password change endpoints with non-standard parameter values

Detection Strategies

  • Monitor Roundcube application logs for password change events and correlate with user activity
  • Implement web application firewall (WAF) rules to detect unusual parameter patterns in password change requests
  • Review authentication logs for sessions where password changes occurred without proper verification
  • Deploy file integrity monitoring on plugins/password/password.php to detect unauthorized modifications

Monitoring Recommendations

  • Enable verbose logging for the Roundcube password plugin to capture all password change attempts
  • Set up alerts for multiple failed or successful password changes from single IP addresses or sessions
  • Monitor for any direct access attempts to password plugin files
  • Implement session monitoring to detect potential session hijacking attempts that could precede password change exploitation

How to Mitigate CVE-2026-35541

Immediate Actions Required

  • Upgrade Roundcube Webmail to version 1.5.14, 1.6.14, or 1.7-rc5 immediately
  • Review recent password change logs for any suspicious activity
  • Force password resets for accounts where unauthorized changes are suspected
  • Implement additional authentication factors if possible

Patch Information

Roundcube has released security updates that address this vulnerability by replacing loose comparison operators with strict comparison operators in the password plugin. The fix is available in the following versions:

  • Roundcube Webmail 1.5.14
  • Roundcube Webmail 1.6.14
  • Roundcube Webmail 1.7-rc5

For detailed information about the security updates, refer to the Roundcube Security Update announcement.

Workarounds

  • If immediate patching is not possible, consider temporarily disabling the password plugin until the update can be applied
  • Implement additional server-side password verification outside of Roundcube's built-in mechanism
  • Apply strict input validation at the web server or WAF level for password change endpoints
  • Monitor and audit all password change activities until patching is complete
bash
# Configuration example - Disable password plugin temporarily
# Edit config/config.inc.php and remove 'password' from plugins array

# Before (vulnerable):
$config['plugins'] = array('password', 'archive', 'zipdownload');

# After (temporary workaround):
$config['plugins'] = array('archive', 'zipdownload');

# Re-enable after updating to patched version

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechRoundcube Webmail

  • SeverityMEDIUM

  • CVSS Score4.2

  • EPSS Probability0.04%

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

  • GitHub Release 1.6.14

  • GitHub Release 1.7-rc5
  • Vendor Resources
  • GitHub Commit Update

  • GitHub Commit Fix

  • GitHub Commit Improvement

  • Roundcube Security Update
  • Related CVEs
  • CVE-2026-35544: Roundcube Webmail XSS Vulnerability

  • CVE-2026-35538: Roundcube Webmail CSRF Vulnerability

  • CVE-2026-35539: Roundcube Webmail XSS Vulnerability

  • CVE-2026-35540: Roundcube Webmail SSRF 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