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-2022-3592

CVE-2022-3592: Samba Path Traversal Vulnerability

CVE-2022-3592 is a path traversal vulnerability in Samba that allows attackers to escape share paths via symbolic links. This article covers the technical details, affected versions, security impact, and mitigation steps.

Published: February 11, 2026

CVE-2022-3592 Overview

A symlink following vulnerability was discovered in Samba that allows authenticated remote users to escape configured share paths and access restricted areas of the file system. This flaw exists in the smbd daemon and can be exploited by users with access to exported file systems via SMB1 unix extensions or NFS. By creating specially crafted symbolic links, attackers can traverse outside the intended share boundaries and potentially access sensitive files on the server.

Critical Impact

Authenticated attackers can bypass share path restrictions to read sensitive files outside configured share boundaries, potentially leading to information disclosure of confidential server data.

Affected Products

  • Samba (all affected versions)
  • Fedora 36
  • Fedora 37

Discovery Timeline

  • January 12, 2023 - CVE-2022-3592 published to NVD
  • April 8, 2025 - Last updated in NVD database

Technical Details for CVE-2022-3592

Vulnerability Analysis

This vulnerability is classified as a symlink following attack (CWE-61, CWE-59), which allows improper resolution of file paths containing symbolic links. The core issue lies in how Samba's smbd daemon handles symbolic link resolution when processing file access requests from authenticated clients.

When a user creates a symbolic link within an exported share that points to a location outside the configured share path, smbd follows this symlink without proper validation. This effectively allows the user to escape the share's directory jail and access files anywhere on the server's file system where the Samba process has read permissions.

The vulnerability specifically affects environments where SMB1 unix extensions are enabled or where shares are exported via NFS alongside Samba. The network-accessible nature of this vulnerability combined with the requirement for only low-privilege authentication makes it particularly concerning for organizations with shared file servers.

Root Cause

The root cause stems from improper path resolution in Samba's smbd component. When processing file access requests, the daemon fails to adequately validate that symlink targets remain within the configured share path boundaries. This is a classic symlink following vulnerability where the application trusts user-controlled symbolic links without verifying the resolved path stays within allowed directories.

The CWE classifications for this vulnerability are:

  • CWE-61: UNIX Symbolic Link (Symlink) Following
  • CWE-59: Improper Link Resolution Before File Access ('Link Following')

Attack Vector

The attack requires an authenticated user with access to a Samba share configured with SMB1 unix extensions or exported via NFS. The attacker can exploit this vulnerability by:

  1. Connecting to the vulnerable Samba share with valid credentials
  2. Creating a symbolic link within the share that points to a target directory outside the share path (e.g., /etc/, /var/log/, or other sensitive locations)
  3. Accessing the symlink through the SMB connection, which causes smbd to follow it
  4. Reading files from the target location that would otherwise be inaccessible

The vulnerability is accessible over the network and requires only low-privilege authentication, with no user interaction needed. The impact is limited to confidentiality as the vulnerability enables unauthorized read access but does not allow modification or deletion of files.

Detection Methods for CVE-2022-3592

Indicators of Compromise

  • Presence of symbolic links within Samba shares pointing to paths outside the configured share directory
  • Unusual file access patterns in smbd logs showing attempts to access system directories like /etc/, /root/, or /var/
  • Authentication events from users followed by access to sensitive configuration files
  • Symbolic links created by non-administrative users pointing to ../ relative paths

Detection Strategies

  • Monitor Samba audit logs for symlink creation events, particularly those with targets outside share boundaries
  • Implement file integrity monitoring on Samba shares to detect new symbolic links
  • Configure Samba's vfs objects = full_audit to log all file operations including symlink creation
  • Review smbd process access patterns using system call auditing to identify suspicious file reads

Monitoring Recommendations

  • Enable verbose logging in Samba configuration with log level = 3 or higher for detailed access tracking
  • Configure alerting on symlink operations within shared directories
  • Implement regular scans of share directories for symlinks pointing outside allowed paths
  • Monitor for SMB1 protocol usage which is required for this exploitation method

How to Mitigate CVE-2022-3592

Immediate Actions Required

  • Update Samba to the latest patched version immediately
  • Disable SMB1 protocol if not required by setting server min protocol = SMB2 in smb.conf
  • Review and remove any existing symlinks within shares that point outside share boundaries
  • Enable follow symlinks = no and wide links = no in Samba configuration as a temporary mitigation

Patch Information

Samba has released security patches addressing this vulnerability. Administrators should consult the Samba CVE-2022-3592 Advisory for specific version information and download patched releases.

Additional distribution-specific advisories are available:

  • Red Hat CVE Advisory
  • Gentoo GLSA 202309-06

Workarounds

  • Set follow symlinks = no in smb.conf to prevent Samba from following any symbolic links
  • Configure wide links = no to prevent symlinks from pointing outside the share tree
  • Disable SMB1 unix extensions by setting unix extensions = no if legacy protocol support is required
  • Implement strict share path permissions to limit where symlinks can be created
bash
# Samba configuration hardening example (smb.conf)
[global]
    # Disable SMB1 protocol
    server min protocol = SMB2
    
    # Disable unix extensions for SMB1 if SMB1 must remain enabled
    unix extensions = no

[share]
    path = /srv/samba/share
    # Prevent symlink following
    follow symlinks = no
    # Prevent wide links outside share
    wide links = no
    # Additional access controls
    allow symlinks = no

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

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechSamba

  • SeverityMEDIUM

  • CVSS Score6.5

  • EPSS Probability0.83%

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

  • CWE-59
  • Technical References
  • Red Hat CVE Advisory

  • Red Hat Bug Report #2137776

  • Gentoo GLSA 202309-06
  • Vendor Resources
  • Samba CVE-2022-3592 Advisory
  • Related CVEs
  • CVE-2024-12087: Samba Rsync Path Traversal Vulnerability

  • CVE-2024-12088: Samba Rsync Path Traversal Vulnerability

  • CVE-2023-3961: Samba Path Traversal Vulnerability

  • CVE-2025-0620: Samba Authentication Bypass 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