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-2025-5409

CVE-2025-5409: Mist Auth Bypass Vulnerability

CVE-2025-5409 is an authentication bypass flaw in Mist Community Edition that allows remote attackers to exploit improper access controls in the API Token Handler. This article covers technical details, affected versions, and mitigation.

Published: March 18, 2026

CVE-2025-5409 Overview

A critical improper access controls vulnerability has been discovered in Mist Community Edition versions up to 4.7.1. The vulnerability affects the create_token function within the src/mist/api/auth/views.py file of the API Token Handler component. This flaw enables remote attackers to manipulate the authentication flow, potentially leading to unauthorized access and account takeover scenarios.

Critical Impact

Remote attackers can exploit improper access controls in the API Token Handler to potentially take over user accounts without proper authentication validation.

Affected Products

  • Mist Community Edition versions up to 4.7.1
  • Mist API component (src/mist/api/auth/views.py)
  • Mist middleware component (src/mist/api/auth/middleware.py)

Discovery Timeline

  • 2025-06-01 - CVE-2025-5409 published to NVD
  • 2025-11-25 - Last updated in NVD database

Technical Details for CVE-2025-5409

Vulnerability Analysis

This vulnerability stems from improper access controls (CWE-266) in the Mist Community Edition's API Token Handler. The create_token function in the authentication views module fails to properly validate user credentials before issuing API tokens. Specifically, the function accepts user email parameters without requiring corresponding password validation, creating a pathway for attackers to generate valid session tokens for arbitrary user accounts.

The vulnerability is network-accessible, meaning attackers can exploit it remotely without requiring any prior authentication or user interaction. The impact includes potential compromise of confidentiality, integrity, and availability of the affected system, as unauthorized API tokens grant full access to the associated user accounts.

Root Cause

The root cause lies in the create_token function's failure to enforce proper credential validation. The original implementation would accept an email parameter and generate tokens without adequately verifying that the requesting party had authorization to act on behalf of that user. This missing authentication check allows attackers to request tokens for any user account by simply providing their email address.

Additionally, the session cookie handling lacked the SameSite=Strict security flag, making the application vulnerable to Cross-Site Request Forgery (CSRF) attacks during administrative "su" (switch user) operations.

Attack Vector

The attack can be initiated remotely over the network. An attacker targets the API Token Handler endpoint and submits requests with manipulated email parameters. Without proper password validation, the system generates valid session tokens that grant the attacker access to the victim's account. The exploit has been publicly disclosed through a GitHub PoC Repository, increasing the risk of widespread exploitation.

python
# Security patch in src/mist/api/auth/views.py
# Source: https://github.com/mistio/mist.api/commit/db10ecb62ac832c1ed4924556d167efb9bc07fad
    """
    params = params_from_request(request)
    email = params.get('email', '').lower()
+    # (Account Takeover) Security Fix 1/2
+    password = params.get('password', '')
    api_token_name = params.get('name', '')
    org_id = params.get('org_id', '')
    ttl = params.get('ttl', 60 * 60)

Detection Methods for CVE-2025-5409

Indicators of Compromise

  • Unusual API token creation requests targeting the /api/auth/ endpoints without corresponding successful password authentication events
  • Multiple token generation attempts for different user accounts originating from the same IP address
  • Session tokens being used from unexpected geographic locations or IP addresses
  • Administrative "su" operations performed without proper CSRF token validation

Detection Strategies

  • Monitor authentication logs for token creation requests that lack password validation attempts
  • Implement alerting for bulk API token generation requests, especially those targeting multiple user accounts
  • Analyze web application firewall (WAF) logs for suspicious patterns in requests to the API Token Handler
  • Deploy anomaly detection on user session behavior to identify account takeover indicators

Monitoring Recommendations

  • Enable detailed logging for all API authentication endpoints, particularly the create_token function
  • Configure SIEM rules to correlate token generation events with password authentication events
  • Monitor for cookie manipulation attempts and CSRF attack patterns against administrative endpoints
  • Review access logs for requests to src/mist/api/auth/views.py that exhibit unusual parameter patterns

How to Mitigate CVE-2025-5409

Immediate Actions Required

  • Upgrade Mist Community Edition to version 4.7.2 or later immediately
  • Audit all existing API tokens and revoke any suspicious or unauthorized tokens
  • Review authentication logs for evidence of exploitation prior to patching
  • Force password resets for any accounts that may have been compromised

Patch Information

The vulnerability has been addressed in Mist Community Edition version 4.7.2. The security fix is identified by commit hash db10ecb62ac832c1ed4924556d167efb9bc07fad. The patch implements two key security improvements:

  1. Account Takeover Fix: The create_token function now properly validates the password parameter before generating API tokens
  2. CSRF Protection: Session cookies now include the SameSite=Strict flag to prevent cross-site request forgery attacks

Download the patched version from the GitHub Release v4.7.2.

Workarounds

  • Restrict network access to the Mist API endpoints using firewall rules until patching is complete
  • Implement additional authentication layers such as IP allowlisting for API access
  • Enable rate limiting on token generation endpoints to slow potential exploitation attempts
  • Monitor and alert on all API token creation activities as an interim detection measure
python
# Security patch in src/mist/api/auth/middleware.py
# Source: https://github.com/mistio/mist.api/commit/db10ecb62ac832c1ed4924556d167efb9bc07fad
            if isinstance(session, SessionToken) and \
                    not getattr(session, 'internal', False) and \
                    not session.last_accessed_at:
-                cookie = 'session.id=%s; Path=/;' % session.token
+                # (CSRF) Security Fix: Added SameSite=Strict flag to prevent CSRF attack
+                # in admin's "su" operation. In case of having a cookie issue, consider 
+                # removing and addressing the CSRF issue in another way
+                cookie = 'session.id=%s; Path=/; SameSite=Strict;' % session.token
                headers.append(('Set-Cookie', cookie))

            # ApiTokens with 'dummy' in name are handed out by session from

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechMist

  • SeverityMEDIUM

  • CVSS Score6.9

  • EPSS Probability0.21%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-266
  • Technical References
  • GitHub PoC Repository

  • GitHub Release v4.7.2

  • VulDB #310749

  • VulDB #310749

  • VulDB Submission #583531
  • Vendor Resources
  • GitHub Commit Update
  • Latest CVEs
  • CVE-2025-49454: TinySalt Path Traversal Vulnerability

  • CVE-2025-48261: MultiVendorX Information Disclosure Flaw

  • CVE-2025-32119: CardGate WooCommerce SQL Injection Flaw

  • CVE-2025-26879: s2Member Plugin Reflected XSS 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