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-2023-45283

CVE-2023-45283: Golang Go Path Traversal Vulnerability

CVE-2023-45283 is a path traversal vulnerability in Golang Go's filepath package affecting Windows systems. Attackers can access arbitrary locations using Root Local Device paths. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: February 11, 2026

CVE-2023-45283 Overview

CVE-2023-45283 is a Path Traversal vulnerability affecting the Go programming language's filepath package on Windows systems. The vulnerability stems from the package's failure to properly recognize paths with a \??\ prefix as special Windows Root Local Device paths. On Windows, a path beginning with \??\ is equivalent to a path beginning with \\?\, allowing attackers to potentially access arbitrary locations on the system.

The filepath.Clean() function could convert a rooted path such as \a\..\??\b into the root local device path \??\b, and filepath.Join(\, ??, b) could similarly convert seemingly innocent path elements into the root local device path \??\b. This behavior could be exploited to bypass path validation and access files outside intended directories.

Critical Impact

Attackers can leverage this path traversal vulnerability to bypass security controls and access arbitrary file system locations on Windows systems running vulnerable Go applications.

Affected Products

  • Golang Go (versions prior to 1.20.11 and 1.21.4)
  • Microsoft Windows (as the underlying operating system)
  • Applications built with vulnerable Go versions using filepath package

Discovery Timeline

  • 2023-11-09 - CVE-2023-45283 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2023-45283

Vulnerability Analysis

This vulnerability is classified as CWE-22 (Path Traversal) and affects Go applications running on Windows that use the filepath package for path manipulation. The core issue lies in how the filepath package handles Windows Root Local Device paths.

Windows supports multiple path formats, including standard paths (e.g., c:\x) and Root Local Device paths (e.g., \\?\c:\x or \??\c:\x). The \??\ prefix is a less common but equally valid way to specify a Root Local Device path, providing direct access to the Windows Object Manager namespace.

The vulnerability can be exploited remotely when applications accept user-controlled input that is processed by the filepath.Clean() or filepath.Join() functions without proper validation.

Root Cause

The root cause is the filepath package's incomplete recognition of Windows path prefixes. While the package correctly identified \\?\ as a special prefix, it failed to recognize \??\ as an equivalent Root Local Device path indicator. This oversight allowed path traversal sequences to be manipulated in ways that could escape intended directory boundaries.

Specifically, the IsAbs() function incorrectly reported paths beginning with \??\ as non-absolute, and VolumeName() failed to recognize the \??\ prefix as a volume name. These incorrect assessments led to improper path normalization in Clean() and Join() operations.

Attack Vector

The attack vector is network-based, requiring no privileges or user interaction. An attacker can exploit this vulnerability by:

  1. Providing a crafted path containing the \??\ prefix to a vulnerable Go application
  2. Using path traversal sequences combined with the \??\ prefix to bypass path sanitization
  3. Accessing files or directories outside the intended scope

For example, an attacker could provide input like \a\..\??\c:\sensitive\file.txt to an application that uses filepath.Clean() for path validation. The function would incorrectly normalize this to \??\c:\sensitive\file.txt, potentially granting access to sensitive system files.

The vulnerability mechanism involves the filepath.Clean() function improperly handling path normalization when encountering the \??\ prefix combined with parent directory traversal sequences (..). The function would resolve the traversal while preserving the root local device path, effectively bypassing directory restrictions. See the Go.dev Issue Tracker #63713 for detailed technical analysis.

Detection Methods for CVE-2023-45283

Indicators of Compromise

  • Presence of \??\ path prefixes in application logs or web server access logs
  • Unexpected file access patterns targeting system directories or sensitive files
  • Error messages indicating access attempts to paths outside application directories
  • Anomalous path strings containing both traversal sequences (..) and \??\ prefixes

Detection Strategies

  • Implement log monitoring for path manipulation attempts containing \??\ or \\?\ prefixes
  • Deploy application-level input validation to detect and block suspicious path patterns
  • Use SentinelOne's behavioral AI to detect unusual file system access patterns
  • Configure file integrity monitoring on sensitive directories to alert on unauthorized access

Monitoring Recommendations

  • Enable verbose logging for file operations in Go applications
  • Monitor Windows Security Event logs for suspicious file access (Event IDs 4663, 4656)
  • Deploy network-level inspection to detect path traversal attempts in HTTP requests
  • Implement real-time alerting for access attempts to critical system paths

How to Mitigate CVE-2023-45283

Immediate Actions Required

  • Upgrade Go to version 1.20.11, 1.21.4, or later immediately
  • Audit all Go applications using the filepath package for potential exposure
  • Implement additional input validation for user-supplied file paths
  • Review application logs for any historical exploitation attempts

Patch Information

The Go team has addressed this vulnerability in Go versions 1.20.11 and 1.21.4. The fix ensures that filepath.Clean() now converts paths like \a\..\??\b to .\??\b instead of \??\b, and filepath.Join(\, ??, b) converts to \.\??\b instead of \??\b. Additionally, IsAbs() now correctly reports paths beginning with \??\ as absolute, and VolumeName() properly recognizes the \??\ prefix as a volume name.

For detailed patch information, see the Go.dev Code Review #540277 and Go.dev Vulnerability Report GO-2023-2185.

Workarounds

  • Implement application-level path validation that explicitly rejects paths containing \??\ or \\?\ prefixes
  • Use allow-list validation for file paths rather than deny-list approaches
  • Restrict file operations to specific, known-safe directories using chroot-like containment
  • Deploy web application firewalls (WAF) with rules to block path traversal attempts
bash
# Check Go version and update
go version

# Update to patched version
go install golang.org/dl/go1.21.4@latest
go1.21.4 download

# Verify installed version
go1.21.4 version

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

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechGolang Go

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.08%

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

  • Go.dev Code Review #541175

  • Go.dev Issue Tracker #64028

  • Google Group Dev Discussion

  • NetApp Security Advisory NTAP-20231214-0008
  • Vendor Resources
  • Go.dev Code Review #540277

  • Go.dev Issue Tracker #63713

  • Google Group Announcement

  • Go.dev Vulnerability Report GO-2023-2185
  • Related CVEs
  • CVE-2022-32190: Golang Go Path Traversal Vulnerability

  • CVE-2025-0913: Golang Go Symlink Handling Vulnerability

  • CVE-2023-29402: Golang Go RCE Vulnerability

  • CVE-2023-29405: Golang Go RCE 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