Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCompromise or impersonate BOSH Director
-
DeliveryPlant malicious connection metadata
-
ExploitOperator runs bosh ssh with default flags
-
ExecutionCLI builds shell command from director data
-
PersistInjected commands execute on workstation
-
ImpactPivot 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (vmware).
CVSS VectorVendor: vmware
Lifecycle Timeline
1DescriptionCVE.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
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.
Apply vendor patch: Cloud Foundry BOSH CLI 7.10.5 or later.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
Man-in-the-middle credential theft and root code execution affects the BOSH CLI (bosh-cli) prior to v7.10.4, which fails
Cloud Foundry BOSH CLI, versions prior to v3.0.1, contains an improper access control vulnerability. Rated high severity
Command injection in Cloud Foundry's BOSH CLI on Windows enables an adjacent-network attacker to execute arbitrary shell
Argument injection in bosh-cli versions before v7.10.4 lets a compromised or malicious BOSH Director inject arbitrary Op
EUVD-2026-42505
GHSA-xf9x-r7gm-j3j6
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB