Skip to main content

Bitwarden CLI CVE-2026-42994

| EUVDEUVD-2026-26474 HIGH
OS Command Injection (CWE-78)
2026-05-01 mitre
8.8
CVSS 4.0 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Access npm registry
  2. Delivery
    Download malicious @bitwarden/cli 2026.4.0
  3. Exploit
    npm triggers install scripts
  4. Execution
    Execute embedded OS commands
  5. Persist
    Exfiltrate credentials/code
  6. Impact
    Establish persistence

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK

2 techniques across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires installation of Bitwarden CLI version 2026.4.0 via npm specifically between 2026-04-22T21:57Z and 2026-04-22T23:30Z. No special configuration, authentication, or user interaction needed beyond the standard 'npm install' command. The malicious code executes automatically during package installation through npm's script lifecycle hooks. Systems performing automated dependency updates, CI/CD builds, or scheduled npm installs during this 90-minute window are most at risk. Installations from non-npm distribution channels (GitHub releases, Snap, Homebrew, Chocolatey, direct binary downloads) are NOT affected regardless of timing. The narrow temporal window significantly limits exploitation scope compared to persistent vulnerabilities.

Impact

Extremely high real-world risk for the narrow exposure window. CVSS 8.8 with AV:N/AC:L/PR:N/UI:N indicates trivial remote exploitation requiring no authentication, but the 90-minute publication window (21:57Z-23:30Z on 2026-04-22) significantly limits victim population compared to typical vulnerabilities. Impact is severe: VC:L/VI:H grants attackers code execution with integrity compromise on developer workstations and CI/CD pipelines where Bitwarden CLI is installed. The supply chain vector makes this automatable (installation triggers compromise), meeting SSVC criteria for immediate action despite limited temporal scope. No EPSS score available due to recency, and no CISA KEV listing yet - likely because incident was contained quickly and affects only users who installed during the specific timeframe. Risk concentrated among automated systems (CI/CD, scheduled scripts) that may have pulled the malicious version without human review. Defenders must verify installation timestamps against the compromise window rather than just checking version numbers.

Exploit ScenarioDerived

Developer runs 'npm install @bitwarden/cli' or 'npm update' during the 21:57Z-23:30Z window on April 22, 2026, automatically pulling version 2026.4.0 from npm. The malicious package executes embedded commands during installation via npm lifecycle hooks (preinstall/postinstall scripts) with the privileges of the user running npm, typically a developer account or CI/CD service account. Attacker gains immediate command execution on the system without further interaction, enabling data exfiltration from the developer workstation (source code, credentials stored in environment variables or configuration files) or establishing persistence for long-term access.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 01, 2026

Malicious code injection in Bitwarden CLI 2026.4.0 distributed via npm for 90 minutes on April 22, 2026, enables remote command execution without authentication. The compromise was part of a broader Checkmarx supply chain attack targeting the npm registry. Users who installed this specific version during the 21:57Z-23:30Z window received a backdoored package capable of executing arbitrary OS commands. EPSS data not available for this recent CVE, but the supply chain vector and brief exposure window suggest targeted rather than mass exploitation.

RemediationAI

Immediately uninstall Bitwarden CLI 2026.4.0 if installed between 2026-04-22T21:57Z and 23:30Z via 'npm uninstall @bitwarden/cli' and reinstall from a verified clean version (check Bitwarden's official statement for confirmed safe versions post-incident). Audit npm install logs and package-lock.json files with timestamps in the compromise window - systems that pulled dependencies during this period require full compromise investigation including credential rotation, system imaging, and malware scanning. For CI/CD pipelines, review build logs from April 22, 2026 21:57Z-23:30Z and rebuild artifacts created during exposure. Rotate all secrets and API keys accessible to affected systems, as the command injection capability (CWE-78) could enable credential harvesting. Lock npm dependencies to specific hashes in package-lock.json rather than version ranges to prevent future supply chain attacks. Organizations should verify package integrity using npm audit signatures and consider using private npm registries with vulnerability scanning. No workaround exists for already-compromised installations - only complete removal and forensic analysis.

Affected VersionsENISA

Bitwarden CLI 2026.4.0

Affected Packages

euvd bitwarden_cli no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

This is a software supply chain compromise (CWE-78: OS Command Injection) affecting the npm distribution channel for Bitwarden's command-line password manager client. The malicious code was embedded in version 2026.4.0 published to the npm registry, leveraging developers' trust in the official Bitwarden package namespace. Unlike traditional vulnerabilities in software logic, this represents direct tampering with the distribution artifact itself. The attack vector exploits the npm package manager ecosystem where dependencies are automatically fetched and installed via 'npm install @bitwarden/cli', making detection difficult until post-installation analysis. The Checkmarx reference suggests this may be related to compromised build infrastructure or developer credentials, similar to previous supply chain incidents affecting ua-parser-js, event-stream, and other npm packages.

Know when Bitwarden Cli gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (mitre) PRIMARY 8.8 HIGH
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/AU:Y

Primary rating from Vendor (mitre) · only source for this CVE.

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
CVSS changed
May 01, 2026 - 05:22 NVD
8.8 (HIGH)
CVE Published
May 01, 2026 - 04:06 nvd
HIGH 8.8

DescriptionCVE.org

Bitwarden CLI 2026.4.0 from 2026-04-22T21:57Z to 2026-04-22T23:30Z, when obtained from npm, had embedded malicious code. This is related to a Checkmarx supply chain incident.

Executive ViewAI

Why It Matters

Bitwarden CLI version 2026.4.0 distributed via npm on April 22, 2026 contained malicious code enabling unauthenticated remote command execution as part of a Checkmarx supply chain attack. Any organization using this specific version during the 90-minute compromise window (21:57Z-23:30Z) faces critical risk of system compromise and credential theft, particularly given Bitwarden's role in secrets management. Immediate inventory and remediation of affected installations is required to prevent lateral movement and data exfiltration.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Immediately uninstall Bitwarden CLI 2026.4.0 from all systems; (2) Restrict npm registry access and enforce package version pinning to prevent future transitive compromises; (3) Implement mandatory code signing verification for all npm-installed packages; (4) Deploy host-based intrusion detection focused on CLI process spawning and OS command execution patterns; (5) Assume compromise of any secrets accessed via affected CLI version and execute emergency credential rotation; (6) Enable audit logging on all systems where CLI was executed to capture command execution history for forensic analysis.

Threat Intelligence Overview

EPSS Score
0.0%
Top 86% exploitable
Social Media
3
Sightings
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Partial

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy