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
    • 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-42994

CVE-2026-42994: Bitwarden CLI RCE Vulnerability

CVE-2026-42994 is a remote code execution flaw in Bitwarden CLI caused by malicious code embedded in npm packages. This supply chain attack affected version 2026.4.0. Learn about the impact, affected versions, and mitigation.

Published: May 7, 2026

CVE-2026-42994 Overview

CVE-2026-42994 affects the Bitwarden command-line interface (CLI) version 2026.4.0 distributed through npm during a narrow window between 2026-04-22T21:57Z and 2026-04-22T23:30Z. The compromised package contained embedded malicious code introduced through the Checkmarx supply chain incident. Users who installed bitwarden:cli from npm during this window received a tampered build capable of executing attacker-controlled logic. The issue maps to CWE-78 (OS Command Injection) and CWE-94 (Code Injection).

Critical Impact

Developers and automation pipelines that pulled Bitwarden CLI 2026.4.0 from npm during the affected window executed malicious code with the privileges of the invoking user or CI/CD runner.

Affected Products

  • Bitwarden CLI 2026.4.0 (npm distribution only)
  • Bitwarden CLI installations performed between 2026-04-22T21:57Z and 2026-04-22T23:30Z
  • Downstream pipelines and container images that pinned the affected npm artifact

Discovery Timeline

  • 2026-05-01 - CVE-2026-42994 published to NVD
  • 2026-05-04 - Last updated in NVD database

Technical Details for CVE-2026-42994

Vulnerability Analysis

The Bitwarden CLI npm package distributed during the affected 93-minute window included unauthorized code unrelated to Bitwarden's official source. Because the CLI is invoked with elevated trust by developers, build systems, and secret-management workflows, the malicious payload executed in environments that frequently hold credentials, vault sessions, and access tokens. The incident is tied to the broader Checkmarx supply chain compromise documented in the Bitwarden Supply Chain Incident Statement.

Root Cause

The root cause is a third-party supply chain compromise, not a defect in Bitwarden's source code. An upstream tooling provider (Checkmarx) involved in the publishing pipeline was abused to inject code into the published artifact. The tampered package was signed and uploaded as a legitimate release, so standard npm integrity checks did not flag the package during the active window.

Attack Vector

The attack vector is network-based and requires no authentication or user interaction beyond a normal npm install of the affected version. Any CI runner, developer workstation, or container build that resolved @bitwarden/cli@2026.4.0 from the npm registry during the window pulled the malicious code. Execution occurred when the CLI was invoked, allowing the embedded payload to run shell commands and inject code paths in the calling process context.

No public exploit code or proof-of-concept has been released for this incident.

Detection Methods for CVE-2026-42994

Indicators of Compromise

  • Installation or lockfile entries referencing @bitwarden/cli version 2026.4.0 resolved from the npm registry between 2026-04-22T21:57Z and 2026-04-22T23:30Z.
  • Unexpected outbound network connections from hosts or build runners shortly after invoking bw commands.
  • package-lock.json, yarn.lock, or pnpm-lock.yaml integrity hashes for @bitwarden/cli@2026.4.0 that do not match the post-incident republished artifact.

Detection Strategies

  • Audit artifact repositories, CI caches, and container layers for the affected version and timestamp range.
  • Inspect process telemetry for node or bw processes spawning unexpected shells, network utilities, or credential-access commands.
  • Correlate npm install events from build logs against the compromise window to identify exposed pipelines.

Monitoring Recommendations

  • Continuously monitor developer endpoints and CI/CD systems for anomalous child processes of bw and node.
  • Alert on outbound DNS or HTTPS connections to domains not previously contacted by build infrastructure.
  • Track changes to environment variables and secret stores following any execution of the affected CLI version.

How to Mitigate CVE-2026-42994

Immediate Actions Required

  • Uninstall @bitwarden/cli@2026.4.0 and reinstall a clean version published outside the compromise window.
  • Rotate any Bitwarden vault credentials, API keys, and session tokens that may have been accessible during execution of the affected CLI.
  • Invalidate and reissue secrets exposed to CI/CD runners that executed the compromised build.
  • Review the Bitwarden Supply Chain Incident Statement and apply the vendor's recommended steps.

Patch Information

Bitwarden republished the CLI on npm after removing the malicious artifact. Install a version published after 2026-04-22T23:30Z and verify the package integrity hash against the official release. Refer to the Bitwarden Supply Chain Incident Statement for the exact replacement version and validation guidance.

Workarounds

  • Pin @bitwarden/cli to a known-good version released before 2026-04-22T21:57Z until upgrading to the republished artifact.
  • Restrict npm installs to vetted registries and enforce package integrity checks via npm ci with verified lockfile hashes.
  • Isolate Bitwarden CLI execution to ephemeral containers without long-lived credentials until remediation is confirmed.
bash
# Remove and reinstall a clean Bitwarden CLI version
npm uninstall -g @bitwarden/cli
npm cache clean --force
npm install -g @bitwarden/cli@latest

# Verify installed version is not the affected build
bw --version

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechBitwarden

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability0.06%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:Y/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-78

  • CWE-94
  • Vendor Resources
  • Bitwarden Supply Chain Incident Statement
  • Related CVEs
  • CVE-2026-43640: Bitwarden Server Auth Bypass Vulnerability

  • CVE-2026-43639: Bitwarden Server Auth Bypass Vulnerability

  • CVE-2026-43638: Bitwarden Server Auth Bypass Vulnerability

  • CVE-2025-5138: Bitwarden Cross-Site Scripting Vulnerability
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