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
    • 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-2021-44141

CVE-2021-44141: Samba Information Disclosure Vulnerability

CVE-2021-44141 is an information disclosure flaw in Samba that allows malicious clients to detect files outside shared areas. This post covers the technical details, affected versions, impact, and mitigation.

Published: February 25, 2026

CVE-2021-44141 Overview

CVE-2021-44141 is an information disclosure vulnerability affecting all versions of Samba prior to 4.15.5. A malicious client can exploit server symlinks to determine if a file or directory exists in an area of the server file system that is not exported under the share definition. This symlink attack requires SMB1 with unix extensions to be enabled for successful exploitation.

Critical Impact

Authenticated attackers can enumerate files and directories outside the exported share, potentially revealing sensitive system structure and configuration information that could facilitate further attacks.

Affected Products

  • Samba versions prior to 4.15.5
  • Red Hat Storage 3.0
  • Fedora 34 and 35

Discovery Timeline

  • 2022-02-21 - CVE-2021-44141 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2021-44141

Vulnerability Analysis

This vulnerability falls under Information Disclosure (CWE-200) and Symlink Attack (CWE-59) categories. The flaw exists in how Samba handles symbolic links when SMB1 with unix extensions is enabled. An authenticated attacker with access to a Samba share can create or follow symlinks to probe areas of the server's file system that should be inaccessible.

The attack allows an adversary to determine the existence of files and directories outside the boundaries of the configured share export. While this does not directly allow reading the contents of those files, the ability to enumerate file system structure can provide valuable reconnaissance information for subsequent attacks.

Root Cause

The root cause stems from improper validation of symlink targets when unix extensions are enabled in SMB1 protocol mode. Samba fails to adequately restrict symlink traversal, allowing authenticated clients to create symlinks pointing to arbitrary locations on the server file system. The server's response when accessing these symlinks reveals whether the target path exists, enabling file and directory enumeration beyond the share boundaries.

Attack Vector

The attack requires network access and low-privilege authentication to a Samba share. The attacker must have the ability to create or manipulate symlinks on the share, and the server must have SMB1 with unix extensions enabled. By creating symlinks to various paths and observing the server's response, the attacker can systematically probe the file system to discover what files and directories exist in unexported areas.

The vulnerability mechanism works by exploiting the server's handling of symlink resolution. When a client requests information about a symlink, the server's response differs based on whether the symlink target exists, allowing the attacker to infer the presence of files without direct access to their contents.

Detection Methods for CVE-2021-44141

Indicators of Compromise

  • Unusual symlink creation activity on Samba shares by authenticated users
  • SMB access logs showing repeated attempts to access symlinks pointing outside share boundaries
  • Abnormal file system traversal patterns in Samba audit logs
  • Multiple failed or denied access attempts following symlink paths

Detection Strategies

  • Enable detailed Samba audit logging to capture symlink operations and share access patterns
  • Monitor for SMB1 protocol usage, particularly with unix extensions enabled
  • Implement file integrity monitoring on Samba shares to detect suspicious symlink creation
  • Review Samba logs for patterns indicating systematic file system probing

Monitoring Recommendations

  • Configure Samba's vfs_full_audit module to log symlink-related operations
  • Set up alerts for SMB1 connections, which should be rare in modern environments
  • Monitor authentication logs for accounts with unusual share access patterns
  • Deploy network-level monitoring for SMB traffic anomalies

How to Mitigate CVE-2021-44141

Immediate Actions Required

  • Upgrade Samba to version 4.15.5 or later immediately
  • Disable SMB1 protocol if not required for legacy compatibility
  • Disable unix extensions on shares where not explicitly needed
  • Review share configurations to ensure proper access controls are in place
  • Audit existing symlinks on Samba shares for suspicious targets

Patch Information

Samba has released version 4.15.5 which addresses this vulnerability. Organizations should apply this update as the primary remediation measure. For detailed patch information, refer to the Samba Security Report for CVE-2021-44141. Additional guidance is available in the Gentoo Security Advisory GLSA-202309-06.

Workarounds

  • Disable SMB1 protocol by setting server min protocol = SMB2 in smb.conf
  • Disable unix extensions by adding unix extensions = no to the global section of smb.conf
  • Use the wide links = no setting to prevent following symlinks outside the share
  • Implement strict share-level permissions to limit which users can create symlinks
bash
# Configuration example - Add to smb.conf [global] section
[global]
# Disable SMB1 protocol
server min protocol = SMB2

# Disable unix extensions
unix extensions = no

# Prevent following symlinks outside share path
wide links = no
follow symlinks = no

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechSamba

  • SeverityMEDIUM

  • CVSS Score4.3

  • EPSS Probability0.29%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-200

  • CWE-59
  • Technical References
  • Gentoo Security Advisory GLSA-202309-06
  • Vendor Resources
  • Samba Security Report CVE-2021-44141
  • Related CVEs
  • CVE-2024-12085: Samba Rsync Information Disclosure Flaw

  • CVE-2024-12086: Samba Rsync Information Disclosure Flaw

  • CVE-2023-0614: Samba Information Disclosure Vulnerability

  • CVE-2023-4154: Samba DirSync Information Disclosure Flaw
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