The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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
    • 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-0620

CVE-2025-0620: Samba Authentication Bypass Vulnerability

CVE-2025-0620 is an authentication bypass vulnerability in Samba where the smbd daemon fails to update group membership during session re-authentication. This article covers technical details, affected versions, and mitigation.

Updated: January 22, 2026

CVE-2025-0620 Overview

A flaw was discovered in Samba's smbd service daemon that fails to properly update group membership changes when re-authenticating an expired SMB session. This authorization bypass vulnerability allows users to retain access to file shares based on stale group membership information, potentially exposing sensitive files and directories until clients fully disconnect and reconnect.

Critical Impact

Users who have been removed from groups may continue accessing protected file shares through expired SMB sessions, potentially leading to unauthorized data exposure.

Affected Products

  • Samba (all affected versions)
  • Linux/Unix systems running Samba file sharing services
  • Enterprise environments using Samba for Windows-compatible file sharing

Discovery Timeline

  • 2025-06-06 - CVE-2025-0620 published to NVD
  • 2026-01-08 - Last updated in NVD database

Technical Details for CVE-2025-0620

Vulnerability Analysis

This vulnerability stems from improper handling of group membership updates during SMB session re-authentication. When an SMB session expires and the client re-authenticates, the smbd daemon fails to refresh the user's group membership information from the backend directory service. This creates a window where access control decisions are made based on outdated authorization data.

The flaw is classified under CWE-552 (Files or Directories Accessible to External Parties), as it allows continued access to file shares that should be restricted following group membership changes. The attack requires network access and high privileges, but can lead to unauthorized disclosure of confidential information.

Root Cause

The root cause lies in the smbd service's session management logic. When handling expired session re-authentication, the daemon reuses cached group membership data instead of querying the directory service for current membership status. This caching behavior was likely implemented for performance optimization but creates a security gap where authorization changes are not immediately enforced.

Attack Vector

The attack vector is network-based and requires an authenticated user whose group membership has been modified. The exploitation scenario unfolds as follows:

  1. A user authenticates to a Samba file share with valid credentials
  2. An administrator removes the user from a group that grants access to certain shares
  3. The user's SMB session expires due to inactivity or timeout
  4. When the session re-authenticates, smbd does not refresh group membership
  5. The user retains access to shares they should no longer access
  6. Access persists until the user fully disconnects and establishes a new session

This vulnerability does not require any exploit code to leverage. The condition occurs naturally during normal SMB session management when group membership changes coincide with session expiration events.

Detection Methods for CVE-2025-0620

Indicators of Compromise

  • Audit logs showing file access by users who have been removed from authorized groups
  • Discrepancies between directory service group membership and Samba-enforced access
  • Extended SMB session durations that exceed normal business patterns
  • Access to sensitive shares from users with recently modified group memberships

Detection Strategies

  • Monitor Samba audit logs for access events from users with recent group membership changes
  • Implement correlation between Active Directory or LDAP group modification events and Samba access logs
  • Deploy file integrity monitoring on sensitive shares to detect unauthorized access patterns
  • Enable verbose logging in smbd to track session re-authentication events

Monitoring Recommendations

  • Configure Samba's log level parameter to capture authentication and access events
  • Set up alerts for access attempts to protected shares following administrative group changes
  • Review session management logs for patterns of expired session re-authentication
  • Integrate Samba logs with SIEM solutions for correlation with directory service events

How to Mitigate CVE-2025-0620

Immediate Actions Required

  • Review the Samba CVE-2025-0620 Security Announcement for patch availability
  • Reduce SMB session timeout values to minimize the window of exposure
  • Force disconnect users whose group membership has been modified
  • Audit current access to sensitive shares against current group memberships

Patch Information

Samba has released a security advisory addressing this vulnerability. Administrators should consult the official Samba security page for specific patch versions and update instructions. Additional information is available from Red Hat's CVE advisory and the Red Hat Bugzilla entry.

Workarounds

  • Configure shorter session timeouts using deadtime parameter to force more frequent re-connections
  • Implement a process to manually disconnect users when critical group membership changes occur
  • Use Samba's force group directive cautiously and review share configurations
  • Consider implementing additional access control layers at the file system level
bash
# Configuration example - Reduce session timeout in smb.conf
[global]
    # Set deadtime to 5 minutes (default is often higher)
    deadtime = 5
    
    # Enable detailed logging for security auditing
    log level = 2 auth:3 access:3
    
    # Log file location
    log file = /var/log/samba/log.%m

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechSamba

  • SeverityMEDIUM

  • CVSS Score4.9

  • EPSS Probability0.07%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-552
  • Technical References
  • Red Hat CVE-2025-0620 Advisory

  • Red Hat Bug Report 2370453

  • OpenWall OSS-Security Mailing List Post
  • Vendor Resources
  • Samba CVE-2025-0620 Security Announcement
  • Related CVEs
  • CVE-2022-32743: Samba Auth Bypass Vulnerability

  • CVE-2023-4091: Samba Auth Bypass Vulnerability

  • CVE-2022-32744: Samba Auth Bypass Vulnerability

  • CVE-2024-12087: Samba Rsync Path Traversal Vulnerability
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