A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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
    • AI 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-2026-24910

CVE-2026-24910: Bun Trusted Dependencies Spoofing Flaw

CVE-2026-24910 is a trusted dependencies spoofing vulnerability in Bun before version 1.3.5, allowing attackers to bypass the trust allow list with non-npm packages. This article covers technical details, affected versions, impact, and mitigation strategies.

Updated: May 14, 2026

CVE-2026-24910 Overview

CVE-2026-24910 is a trust boundary vulnerability in Bun, the JavaScript runtime and package manager, affecting versions prior to 1.3.5. The flaw allows a non-npm package to spoof entries in the default trusted dependencies list, also known as the trust allow list. An attacker can exploit this when a package referenced via file, link, git, or github protocols shares a name with a trusted npm package. The vulnerability is classified under CWE-348: Use of Less Trusted Source.

Critical Impact

Spoofed trusted dependencies can execute lifecycle scripts during installation, enabling supply chain compromise on developer machines and build infrastructure.

Affected Products

  • Bun runtime and package manager versions before 1.3.5
  • Development environments using Bun for dependency resolution
  • CI/CD pipelines executing bun install against untrusted manifests

Discovery Timeline

  • 2026-01-27 - CVE-2026-24910 published to NVD
  • 2026-04-15 - Last updated in NVD database

Technical Details for CVE-2026-24910

Vulnerability Analysis

Bun maintains a default trusted dependencies list that automatically permits postinstall and other lifecycle scripts to execute for well-known packages. The trust check matches against the package name without sufficiently validating the package source. When a manifest declares a dependency using a non-registry specifier such as file:, link:, git:, or github:, and that dependency carries a name identical to a trusted npm package, Bun treats it as trusted. This allows arbitrary local or remote code referenced by these protocols to inherit the trust posture intended only for verified registry packages.

The issue is tracked alongside a broader disclosure of JavaScript package manager weaknesses. Further context is available in the Bun 1.3.5 release notes and the Koi.ai PackageGate disclosure.

Root Cause

The root cause is reliance on the package name alone as the trust identifier. The trust comparison does not bind the allow list entry to a specific registry origin or integrity hash. Any specifier that resolves to a matching name satisfies the check.

Attack Vector

An attacker authors a package.json that references a malicious source such as git+https://attacker.example/pkg and sets the dependency name to match an entry on Bun's trust allow list. When a developer runs bun install, the malicious package's lifecycle scripts execute without prompting. Exploitation requires local interaction with the manifest, consistent with the local attack vector classification.

No verified proof-of-concept code is publicly available. See the SC World coverage for additional reporting on the disclosure cluster.

Detection Methods for CVE-2026-24910

Indicators of Compromise

  • Unexpected child processes spawned by bun or bun install during dependency installation
  • package.json entries that reference file:, link:, git:, or github: sources using names of popular npm packages
  • Outbound network connections from build hosts to non-registry git endpoints during install operations

Detection Strategies

  • Audit lockfiles and manifests for dependency names that conflict with well-known registry packages but resolve to non-registry specifiers
  • Inspect Bun installation logs for lifecycle script execution tied to dependencies that should not be on the trust list
  • Compare resolved dependency origins against an internal allow list of approved registries

Monitoring Recommendations

  • Enable process telemetry on developer workstations and CI runners to capture script execution chains rooted in bun
  • Forward package manager logs to a centralized analytics platform for retroactive hunting
  • Alert on git or HTTPS fetches performed by package managers to domains outside approved infrastructure

How to Mitigate CVE-2026-24910

Immediate Actions Required

  • Upgrade Bun to version 1.3.5 or later on all developer workstations, build servers, and container images
  • Review recent installs for manifests that reference non-registry dependencies sharing names with trusted npm packages
  • Rotate credentials and tokens accessible from build environments if suspicious installs are identified

Patch Information

The vendor fix ships in Bun 1.3.5. The release tightens the trust allow list matching so that non-npm specifiers no longer inherit trust based on name alone. Release details are published in the Bun v1.3.5 announcement.

Workarounds

  • Set the trusted dependencies list explicitly in package.json using the trustedDependencies field and remove reliance on Bun defaults
  • Run bun install --ignore-scripts in untrusted contexts to suppress lifecycle script execution
  • Pin dependencies to registry sources and reject manifests containing file:, link:, git:, or github: specifiers in code review
bash
# Configuration example
bun install --ignore-scripts

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

  • Vulnerability Details
  • TypeOther

  • Vendor/TechBun

  • SeverityMEDIUM

  • CVSS Score5.9

  • EPSS Probability0.00%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-348
  • Technical References
  • Bun Blog Version Update

  • Koi.ai Blog on JS Vulnerabilities

  • SCWorld News on Zero-Day Bugs
  • Latest CVEs
  • CVE-2026-50263: X.org X Server Use-After-Free Flaw

  • CVE-2026-21033: Samsung Assistant RCE Vulnerability

  • CVE-2026-21032: Samsung Assistant RCE Vulnerability

  • CVE-2026-50260: X.org X Server Use-After-Free Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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