Skip to main content

BOSH CLI EUVDEUVD-2026-42505

| CVE-2026-41857 HIGH
OS Command Injection (CWE-78)
2026-07-09 vmware GHSA-xf9x-r7gm-j3j6
7.1
CVSS 4.0 · Vendor: vmware
View

Attack ChainAIDerived

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

  1. Access
    Compromise or impersonate BOSH Director
  2. Delivery
    Plant malicious connection metadata
  3. Exploit
    Operator runs bosh ssh with default flags
  4. Execution
    CLI builds shell command from director data
  5. Persist
    Injected commands execute on workstation
  6. Impact
    Pivot using operator credentials

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 two concrete prerequisites drawn directly from the description: (1) the BOSH Director the CLI connects to must be compromised or malicious - a benign Director cannot trigger this, and (2) the operator must actively run one of the specific commands bosh ssh, bosh scp, or bosh logs -f with default flags, so the flaw fires under default configuration once those commands are used. Limiting factors that reduce real-world risk: the attack is gated on already owning or impersonating the Director (a significant precondition), requires human operator interaction (UI:A) rather than being remotely automatable, and only affects BOSH CLI versions before 7.10.5. It does not require any credentials on the victim workstation itself (PR:N).

Impact

The CVSS 4.0 score of 7.1 (AV:L/AC:L/AT:P/PR:N/UI:A) reflects a meaningful but conditional risk: exploitation is not automatable and hinges on a preexisting compromise of the Director (AT:P attack requirement) plus an active operator action (UI:A). The upside for defenders is that a benign, properly secured Director cannot trigger this - the threat model requires the Director itself to be malicious or already breached, making this primarily a lateral-movement / privilege-pivot concern rather than a mass-exploitation one. The downside is severity: the victim is a privileged operator workstation, and success yields high confidentiality, integrity, and availability impact (VC/VI/VA:H) on a host that typically holds credentials to the entire platform. No EPSS score, KEV entry, or POC was provided, so widespread automated exploitation is not indicated. Note a signal to verify: the vendor rated AV:L, but the malicious payload is delivered over the network connection from the Director to the CLI - an argument for AV:N with elevated complexity - so treat the local-vector framing as one defensible interpretation rather than settled fact.

Exploit ScenarioDerived

An attacker who has compromised a BOSH Director (or stands up a rogue one that an operator is lured into targeting) plants malicious connection metadata that the CLI will interpret. When the operator runs bosh ssh with default flags to reach a deployment VM, the CLI builds a local shell command from that director-supplied data and executes the attacker's injected commands on the operator's workstation. No separate exploit tooling is required beyond control of the Director; no public POC has been published at time of analysis.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jul 09, 2026

Arbitrary command execution on operator workstations in Cloud Foundry BOSH CLI before 7.10.5 allows a compromised or malicious BOSH Director to inject and run shell commands locally when an operator invokes bosh ssh, bosh scp, or bosh logs -f with default flags. Because the CLI trusts director-supplied data and passes it into a shell, a controlled director turns a routine operator action into local code execution on the trusted management host. No public exploit identified at time of analysis; not listed in CISA KEV, though the reference blog by Cloud Foundry (originally reported by VMware) confirms the flaw and a fixed release.

RemediationAI

Upgrade the BOSH CLI on every operator workstation and CI/automation host to version 7.10.5 or later (Vendor-released patch: 7.10.5), per the Cloud Foundry advisory at https://www.cloudfoundry.org/blog/cve-2026-41857-bosh-cli-shell-injection/. Until all clients are upgraded, reduce exposure by only pointing the CLI at Directors you fully trust and control, and by treating any Director whose integrity is in doubt as hostile - avoid running bosh ssh, bosh scp, or bosh logs -f against it, since those are the specific commands that trigger the injection with default flags. Additional compensating controls: run the CLI from a disposable, least-privilege jump host rather than a workstation holding platform-wide credentials (trade-off: added operational friction), tighten and monitor access to the Director to detect compromise early, and restrict who can register or man-in-the-middle the Director endpoint the CLI connects to.

Affected VersionsENISA

BOSH CLI 0 <7.10.5

Affected Packages

euvd bosh_cli fix: 7.10.5

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

BOSH is the deployment and lifecycle-management toolchain underpinning Cloud Foundry and related platforms; operators use the bosh CLI on their workstation to talk to a central BOSH Director that orchestrates VMs and services. The vulnerable data path is the director-to-CLI trust boundary: when the operator runs interactive commands like bosh ssh/scp/logs -f, the CLI takes connection or target details returned by the Director and constructs local shell invocations. Insufficient neutralization of that director-controlled input allows OS command injection - functionally CWE-78 (OS Command Injection), even though the record lists CWE as N/A. The affected CPE is cpe:2.3:a:cloudfoundry_bosh:bosh_cli, i.e., the CLI component only, not the Director or agent. The tags 'Information Disclosure' and 'Bosh Cli' understate the impact, which is full command execution rather than mere disclosure.

Know when Bosh 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 (vmware) PRIMARY 7.1 HIGH
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 7.5 HIGH

Payload is delivered over the network from the Director (AV:N) but needs a preexisting Director compromise plus operator action, so AC:H and UI:R; full workstation compromise gives C/I/A:H.

3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (vmware).

CVSS VectorVendor: vmware

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

Lifecycle Timeline

1
Patch available
Jul 09, 2026 - 07:01 EUVD

DescriptionCVE.org

A compromised or malicious BOSH Director can execute arbitrary shell commands on the operator's workstation when the operator runs bosh ssh (or bosh scp/bosh logs -f) with default flags. Affected versions: BOSH CLI versions prior to 7.10.5.

Executive ViewAI

Why It Matters

Cloud Foundry BOSH CLI before version 7.10.5 enables arbitrary command execution on operator workstations when connecting to a compromised BOSH Director. Although no public exploit has been identified, the vulnerability represents a significant supply-chain risk: a breached director can compromise all connected operators' workstations, enabling infrastructure sabotage, credential theft, and lateral movement.

Business Impact: High
Compensating Controls

Apply vendor patch: Cloud Foundry BOSH CLI 7.10.5 or later.

Threat Intelligence Overview

EPSS Score
0.1%
Top 96% exploitable
Prevalence
Low
niche Cloud Foundry/BOSH operator tooling, specific infra community
Social Media
1
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.1%
Patch available Yes
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
Scheduled
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
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