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
    • 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-2023-45311

CVE-2023-45311: Fsevents RCE Vulnerability

CVE-2023-45311 is a remote code execution vulnerability in Fsevents before version 1.2.11, caused by dependency on a potentially compromised URL. This post covers technical details, affected versions, impact, and mitigation.

Published: February 4, 2026

CVE-2023-45311 Overview

CVE-2023-45311 is a supply chain vulnerability affecting the fsevents Node.js package before version 1.2.11. The vulnerability stems from the package's dependency on an external S3 URL (https://fsevents-binaries.s3-us-west-2.amazonaws.com) for downloading pre-built binaries. If an adversary gained control of this URL, they could potentially distribute malicious code to any JavaScript project that depends on vulnerable versions of fsevents.

This vulnerability represents a significant supply chain risk, as fsevents is a widely-used native filesystem events library for macOS, commonly included as a transitive dependency in many popular JavaScript development tools and frameworks.

Critical Impact

Supply chain attack vector that could allow arbitrary code execution on developer machines and build systems through compromised binary distribution.

Affected Products

  • fsevents versions prior to 1.2.11
  • JavaScript/Node.js projects with transitive dependencies on vulnerable fsevents versions
  • Development environments and CI/CD pipelines running affected package builds

Discovery Timeline

  • 2023-10-06 - CVE CVE-2023-45311 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2023-45311

Vulnerability Analysis

The vulnerability exists in the binary distribution mechanism of the fsevents package. Prior to version 1.2.11, the package downloaded pre-compiled native binaries from a hardcoded Amazon S3 URL. This external dependency created a supply chain attack surface where an adversary who gains control of the S3 bucket could serve malicious binaries that would be automatically downloaded and executed during the npm install process.

The fsevents package is a native Node.js addon that provides macOS file system events to Node.js applications. Because it requires native compilation, the package offered pre-built binaries to simplify installation. However, relying on an external, potentially mutable URL for these binaries introduced a critical trust boundary issue.

It's worth noting that the advisory includes a caveat: some sources believe that no version is currently affected because the URL is no longer controlled by an adversary. However, the risk exists for any project that may have downloaded and cached vulnerable binaries during a period when the URL could have been compromised.

Root Cause

The root cause of this vulnerability is CWE-94 (Code Injection), specifically arising from the use of an untrusted external URL for downloading executable binary content. The package architecture assumed that the S3 bucket would always be under legitimate control, failing to implement integrity verification mechanisms such as cryptographic signatures or checksums for the downloaded binaries.

Attack Vector

The attack vector is network-based and requires no user interaction or special privileges. An attacker who compromises the S3 bucket hosting the binaries could:

  1. Replace legitimate pre-built binaries with malicious versions
  2. Wait for developers to run npm install on affected projects
  3. Achieve code execution when the malicious binary is downloaded and loaded
  4. Potentially exfiltrate sensitive data, inject backdoors, or pivot to other systems

The vulnerability is particularly dangerous in CI/CD environments where packages are frequently installed during build processes. The attack could affect multiple organizations through a single point of compromise.

The fsevents Version Comparison shows the changes made between the vulnerable and patched versions.

Detection Methods for CVE-2023-45311

Indicators of Compromise

  • Unexpected network connections to fsevents-binaries.s3-us-west-2.amazonaws.com from Node.js processes
  • Unusual process spawning or file system activity following npm install operations
  • Modified or unusually sized fsevents native binaries in node_modules directories
  • Suspicious entries in npm cache directories related to fsevents binaries

Detection Strategies

  • Audit package-lock.json files for fsevents versions prior to 1.2.11 using automated dependency scanning tools
  • Implement Software Composition Analysis (SCA) in CI/CD pipelines to identify vulnerable transitive dependencies
  • Monitor network traffic for connections to the affected S3 URL during build processes
  • Use npm audit or similar tools to identify known vulnerabilities in project dependencies

Monitoring Recommendations

  • Enable logging for npm install operations to capture dependency resolution and download activity
  • Configure network security monitoring to alert on connections to known vulnerable binary hosting URLs
  • Implement file integrity monitoring on node_modules directories in production build environments
  • Review build logs for evidence of external binary downloads during package installation

How to Mitigate CVE-2023-45311

Immediate Actions Required

  • Upgrade fsevents to version 1.2.11 or later in all affected projects
  • Audit package-lock.json and yarn.lock files for vulnerable fsevents versions
  • Clear npm cache and reinstall dependencies after upgrading to ensure no cached vulnerable binaries remain
  • Review CI/CD pipelines and build systems for projects using affected fsevents versions

Patch Information

The vulnerability was addressed in fsevents version 1.2.11, which removed the dependency on the external S3 URL for binary distribution. Projects should update their dependencies by modifying package.json to require fsevents version >=1.2.11 where direct dependencies exist.

For transitive dependencies, updating parent packages that depend on fsevents may be necessary. Tools like npm ls fsevents can help identify the dependency chain.

For additional technical details, refer to the Snyk Vulnerability SNYK-JS-FSEVENTS-5487987.

Workarounds

  • If upgrading is not immediately possible, use npm's overrides (npm 8.3+) or yarn's resolutions to force a safe version of fsevents
  • Block network access to fsevents-binaries.s3-us-west-2.amazonaws.com at the firewall level in build environments
  • Consider using --ignore-scripts flag during npm install to prevent automatic binary execution (note: this may break functionality)
  • Implement strict dependency pinning and integrity verification using npm's package-lock.json with integrity hashes
bash
# Force fsevents upgrade using npm overrides in package.json
npm pkg set overrides.fsevents=">=1.2.11"

# Or audit and update dependencies
npm audit fix

# Clear npm cache to remove any cached vulnerable binaries
npm cache clean --force

# Reinstall dependencies with integrity checking
npm ci

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechFsevents

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.43%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-94
  • Technical References
  • Snyk Vulnerability SNYK-JS-FSEVENTS-5487987
  • Vendor Resources
  • Atlassian Moo Package Lock

  • Atlassian React Immutable PropTypes

  • Cloudflare Authr Package Lock

  • Cloudflare Hugo Docs Package Lock

  • Cloudflare Redux Grim Package Lock

  • Cloudflare Serverless Workers Package Lock

  • fsevents Version Comparison
  • Latest CVEs
  • CVE-2025-9185: Mozilla Firefox RCE Vulnerability

  • CVE-2025-9184: Mozilla Firefox RCE Vulnerability

  • CVE-2025-9180: Mozilla Firefox Auth Bypass Vulnerability

  • CVE-2025-8030: Mozilla Firefox RCE 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