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-2026-27139

CVE-2026-27139: Unix File System Path Traversal Flaw

CVE-2026-27139 is a path traversal vulnerability affecting Unix platforms that allows FileInfo to reference files outside the root directory. This article covers the technical details, affected systems, and mitigation strategies.

Published: March 13, 2026

CVE-2026-27139 Overview

On Unix platforms, when listing the contents of a directory using File.ReadDir or File.Readdir, the returned FileInfo could reference a file outside of the Root in which the File was opened. This vulnerability affects the Go standard library's os.Root implementation, allowing directory escape through file metadata access.

Critical Impact

Attackers with local access can read file metadata (via lstat) from arbitrary filesystem locations outside the intended root directory, potentially exposing sensitive file information such as ownership, permissions, and modification times.

Affected Products

  • Go standard library os package on Unix platforms
  • Applications using os.Root with File.ReadDir or File.Readdir methods
  • Go applications implementing sandboxed file system operations

Discovery Timeline

  • 2026-03-06 - CVE CVE-2026-27139 published to NVD
  • 2026-03-09 - Last updated in NVD database

Technical Details for CVE-2026-27139

Vulnerability Analysis

This vulnerability exists in Go's os.Root implementation on Unix systems. The os.Root type is designed to provide a restricted view of the filesystem, limiting file operations to a specific directory tree. However, when using the File.ReadDir or File.Readdir methods to enumerate directory contents, the returned FileInfo structures can reference files that exist outside the intended root boundary.

The flaw manifests during directory listing operations where the FileInfo metadata retrieval does not properly validate that the target file remains within the root constraints. This allows an attacker to craft scenarios where metadata from files outside the root directory can be accessed through the lstat system call.

While the impact is limited to metadata exposure (file attributes like ownership, permissions, size, and timestamps) rather than actual file content access, this information disclosure can aid attackers in reconnaissance activities or in identifying high-value targets for further exploitation attempts.

Root Cause

The vulnerability stems from improper path validation in the os.Root implementation when resolving file references returned by directory enumeration operations. The FileInfo objects returned by ReadDir and Readdir do not maintain proper root containment validation, allowing references to files via symbolic links or other mechanisms that point outside the designated root boundary.

Attack Vector

An attacker requires local access to the system and the ability to influence the directory structure or contents within an application's root directory. The attack scenario involves:

  1. Placing symbolic links or specially crafted directory entries within a root-constrained directory
  2. Triggering a File.ReadDir or File.Readdir call by the target application
  3. The returned FileInfo references follow the symbolic link outside the root
  4. Calling methods on the FileInfo (which internally uses lstat) reveals metadata about files outside the root

The vulnerability requires local access with low privileges, and exploitation complexity is high due to the need to control directory contents and timing. The vulnerability is detailed in the Go.dev Issue Tracker and the Go.dev Vulnerability Report.

Detection Methods for CVE-2026-27139

Indicators of Compromise

  • Unusual symbolic link creation patterns within application-managed directories
  • Applications using os.Root exhibiting unexpected file system access patterns outside designated root directories
  • Log entries showing file metadata access to sensitive system files from sandboxed applications

Detection Strategies

  • Monitor for applications using vulnerable Go versions performing directory listing operations with os.Root
  • Implement file integrity monitoring on critical system directories to detect unauthorized metadata access patterns
  • Review application logs for FileInfo operations that reference paths outside expected root boundaries
  • Use static analysis tools to identify Go applications using File.ReadDir or File.Readdir with os.Root

Monitoring Recommendations

  • Enable audit logging for file system operations, particularly lstat calls, on sensitive directories
  • Monitor for symbolic link creation in directories managed by Go applications using os.Root
  • Implement runtime detection for Go applications making file metadata requests outside their designated root paths

How to Mitigate CVE-2026-27139

Immediate Actions Required

  • Update Go installations to the latest patched version as referenced in the Go.dev Change Log
  • Review applications using os.Root functionality and assess exposure to this vulnerability
  • Implement additional application-level path validation when processing FileInfo results from directory listings
  • Consider restricting symbolic link creation permissions in directories managed by affected applications

Patch Information

The Go development team has addressed this vulnerability in a security patch. Organizations should review the Golang Announcement for specific version information and upgrade guidance. The fix is tracked in CL 749480.

Workarounds

  • Implement additional validation in application code to verify that FileInfo paths remain within expected boundaries before accessing metadata
  • Remove or restrict symbolic links within directories used with os.Root operations
  • Use file system permissions to prevent creation of symbolic links in sensitive directories
  • Consider using alternative sandboxing mechanisms such as chroot, containers, or namespace isolation for stricter file system constraints
bash
# Configuration example - Restrict symbolic link creation in managed directories
# Set immutable attribute on critical directories to prevent symlink attacks
chattr +i /path/to/application/root

# Alternatively, mount with nosymfollow option (if supported)
mount -o remount,nosymfollow /path/to/application/root

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

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechN/A

  • SeverityLOW

  • CVSS Score2.5

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityNone
  • Technical References
  • Go.dev Change Log Entry

  • Go.dev Issue Tracker Detail

  • Golang Announcement Group Post

  • Go.dev Vulnerability Report
  • Latest CVEs
  • CVE-2025-70797: LimeSurvey XSS Vulnerability

  • CVE-2025-30650: Juniper Junos OS Auth Bypass Vulnerability

  • CVE-2026-35471: Goshs Path Traversal Vulnerability

  • CVE-2026-35393: Goshs Path Traversal 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