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-45133

CVE-2023-45133: Debian Linux Babel RCE Vulnerability

CVE-2023-45133 is a remote code execution vulnerability in Babel compiler affecting Debian Linux systems. Attackers can execute arbitrary code during compilation via crafted input. This article covers technical details, affected versions, and mitigation strategies.

Published: February 11, 2026

CVE-2023-45133 Overview

CVE-2023-45133 is an arbitrary code execution vulnerability in @babel/traverse, a core component of the Babel JavaScript compiler. When compiling specially crafted malicious code, attackers can achieve arbitrary code execution during the compilation process. This vulnerability affects the internal path.evaluate() and path.evaluateTruthy() methods used by several Babel plugins including @babel/plugin-transform-runtime, @babel/preset-env (when using the useBuiltIns option), and various polyfill provider plugins.

Critical Impact

Attackers can execute arbitrary code on developer machines or CI/CD build servers during the JavaScript compilation process by providing maliciously crafted source code to Babel.

Affected Products

  • babeljs babel (versions prior to 7.23.2 and 8.0.0-alpha.4)
  • babeljs babel-helper-define-polyfill-provider (versions prior to 0.4.3)
  • babeljs babel-plugin-polyfill-corejs2 (versions prior to 0.4.6)
  • babeljs babel-plugin-polyfill-corejs3 (versions prior to 0.8.5)
  • babeljs babel-plugin-polyfill-es-shims (versions prior to 0.10.0)
  • babeljs babel-plugin-polyfill-regenerator (versions prior to 0.5.3)
  • babeljs babel-plugin-transform-runtime (versions prior to 7.23.2)
  • babeljs babel-preset-env (versions prior to 7.23.2)
  • debian debian_linux (10.0, 11.0, 12.0)

Discovery Timeline

  • 2023-10-12 - CVE CVE-2023-45133 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2023-45133

Vulnerability Analysis

This vulnerability stems from incomplete input validation (CWE-184) and incorrect comparison logic (CWE-697) in Babel's code evaluation mechanism. The @babel/traverse package provides path traversal utilities used during AST (Abstract Syntax Tree) manipulation. The vulnerable path.evaluate() and path.evaluateTruthy() methods are designed to statically evaluate JavaScript expressions at compile time, but they improperly allowed access to prototype chain methods on global objects like String, Number, and Math.

When Babel plugins call these evaluation methods on attacker-controlled code, the incomplete allowlist logic permitted method access beyond the intended safe methods. This allows an attacker to craft JavaScript source code that, when compiled by Babel with certain plugins enabled, executes arbitrary code in the context of the Node.js process running the compiler.

Root Cause

The root cause lies in the property access validation within the evaluation logic. The original code directly accessed properties on global context objects without verifying that the property was an own property of the object. This allowed attackers to access methods inherited from the prototype chain, bypassing the intended restrictions. The fix implements proper ownership verification using Object.hasOwnProperty.call() to ensure only directly defined properties are accessible during evaluation.

Attack Vector

The attack requires local access where an attacker must provide malicious JavaScript source code to a build system using vulnerable Babel versions. The exploitation occurs during compilation when specific plugins invoke the vulnerable evaluation methods. Known affected plugins include @babel/plugin-transform-runtime, @babel/preset-env with its useBuiltIns option, and polyfill provider plugins that depend on @babel/helper-define-polyfill-provider.

Attack scenarios include:

  • Supply chain attacks where malicious npm packages contain crafted code
  • Pull request poisoning in open source projects
  • Compromised dependencies in CI/CD pipelines
typescript
         !isInvalidMethod(property.node.name)
       ) {
         context = global[object.node.name];
-        // @ts-expect-error property may not exist in context object
-        func = context[property.node.name];
+        const key = property.node.name;
+        // TODO(Babel 8): Use Object.hasOwn
+        if (Object.hasOwnProperty.call(context, key)) {
+          func = context[key as keyof typeof context];
+        }
       }
 
       // "abc".charCodeAt(4)

Source: GitHub Commit b13376b

Detection Methods for CVE-2023-45133

Indicators of Compromise

  • Unexpected process spawning or network connections during JavaScript build processes
  • Unusual file system access patterns from Node.js processes running Babel compilation
  • Modified or suspicious entries in package-lock.json or yarn.lock referencing vulnerable Babel package versions
  • Build log anomalies showing execution of code unrelated to the compilation process

Detection Strategies

  • Implement Software Composition Analysis (SCA) scanning to identify vulnerable @babel/traverse versions in project dependencies
  • Monitor CI/CD build environments for anomalous behavior during JavaScript compilation stages
  • Use dependency auditing tools such as npm audit or yarn audit to flag vulnerable Babel packages
  • Review pull requests and external contributions for suspicious JavaScript patterns that may trigger the vulnerable code paths

Monitoring Recommendations

  • Enable process monitoring on build servers to detect unexpected child process creation during npm/yarn build scripts
  • Implement file integrity monitoring on build infrastructure to detect unauthorized modifications
  • Configure alerts for network connections originating from build processes that should be offline or restricted

How to Mitigate CVE-2023-45133

Immediate Actions Required

  • Upgrade @babel/traverse to version 7.23.2 or 8.0.0-alpha.4 or later immediately
  • Audit all projects for vulnerable Babel package versions using npm ls @babel/traverse or yarn why @babel/traverse
  • Review build logs for any suspicious activity that may indicate prior exploitation
  • Ensure build environments are isolated and have minimal network access

Patch Information

The vulnerability has been fixed in @babel/traverse@7.23.2 and @babel/traverse@8.0.0-alpha.4. Security patches are available from the Babel GitHub releases. For those unable to upgrade @babel/traverse directly, upgrade the dependent packages to their patched versions: @babel/plugin-transform-runtime v7.23.2, @babel/preset-env v7.23.2, @babel/helper-define-polyfill-provider v0.4.3, babel-plugin-polyfill-corejs2 v0.4.6, babel-plugin-polyfill-corejs3 v0.8.5, babel-plugin-polyfill-es-shims v0.10.0, and babel-plugin-polyfill-regenerator v0.5.3. Debian users should apply the security updates per DSA-5528.

Workarounds

  • If immediate upgrade is not possible, upgrade only the affected plugins to their latest versions which avoid triggering the vulnerable code path
  • Restrict build processes to only compile trusted, internally-reviewed source code
  • Implement strict code review policies for any external or third-party code before compilation
  • Consider containerizing build environments with restricted permissions to limit potential impact
bash
# Upgrade @babel/traverse to patched version
npm install @babel/traverse@7.23.2

# Or upgrade all affected packages
npm install @babel/plugin-transform-runtime@7.23.2 @babel/preset-env@7.23.2

# Verify installed versions
npm ls @babel/traverse

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechBabel

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability0.09%

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

  • CWE-697
  • Technical References
  • GitHub Pull Request Discussion

  • GitHub Security Advisory GHSA-67hx-6x53-jw92

  • Debian LTS Announcement

  • Debian Security Advisory DSA-5528
  • Vendor Resources
  • GitHub Commit Update

  • GitHub Release v7.23.2

  • GitHub Release v8.0.0-alpha.4
  • Related CVEs
  • CVE-2025-27789: Babel Compiler DOS 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