CVE-2026-41857: BOSH CLI Command Injection on Operator Workstations
A malicious or compromised BOSH Director can trick operators into executing arbitrary shell commands on their local workstations. When an operator runs standard BOSH CLI commands like bosh ssh, bosh scp, or bosh logs -f, a hostile Director can inject and run commands with the operator's privileges. This affects BOSH CLI versions before 7.10.5 and requires user interaction—the operator must run the vulnerable command—but succeeds with default settings.
Source data · NVD / CISA · public domain
- CVSS
- 3.0 · 7.8 HIGH · CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Weaknesses (CWE)
- CWE-78
- Affected products
- 1 configuration(s)
- Published / Modified
- 2026-07-09 / 2026-07-13
NVD description (verbatim)
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.
1 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
CVE-2026-41857 is a command injection vulnerability in the BOSH CLI where an attacker controlling or compromising a BOSH Director can achieve arbitrary code execution on an operator's local machine. The vulnerability exists in the bosh ssh, bosh scp, and bosh logs -f commands when run with their default configuration flags. The attack vector is local (the operator's workstation), the attack complexity is low, no privileges are required on the target machine, and user interaction (running the command) is necessary. The flaw is classified as CWE-78 (OS Command Injection) and carries a CVSS 3.0 score of 7.8 (HIGH severity).
Business impact
Operators who interact with BOSH-managed infrastructure face direct compromise of their workstations when connecting to a malicious or breached BOSH Director. This can lead to theft of credentials, SSH keys, cloud API tokens, or other sensitive material stored on the operator's machine. In environments where operators have broad access to multiple systems or cloud accounts, a single compromised workstation can cascade into infrastructure-wide compromise. Teams relying on BOSH should assume that any unpatched CLI instances are vulnerable if they interact with untrusted or potentially compromised Directors.
Affected systems
Cloud Foundry BOSH CLI versions prior to 7.10.5 are vulnerable. Any operator using an affected version and running bosh ssh, bosh scp, or bosh logs -f commands against a BOSH Director is at risk. The vulnerability does not affect the BOSH Director itself, only the CLI tool used to interact with it.
Exploitability
Exploitation requires control or compromise of a BOSH Director and the target operator to run a vulnerable CLI command against that Director. The operator must consciously initiate the command, but no special user interaction beyond that is required—the exploit triggers automatically within the default command behavior. The low attack complexity and high impact make this a practical concern for teams using shared or internet-facing BOSH Directors, or for supply-chain scenarios where an operator's trust in a Director is misplaced. Public exploit code is not required; a malicious Director response is sufficient.
Remediation
Upgrade BOSH CLI to version 7.10.5 or later. This is a straightforward patch that closes the injection vector. Operators should verify their installed CLI version using bosh --version and update via their package manager or download the latest release. No configuration changes or mitigation without patching are documented as fully effective.
Patch guidance
Update BOSH CLI to version 7.10.5 or later. The patch is available through standard distribution channels. Verify the update by running bosh --version and confirming output shows 7.10.5 or higher. No breaking changes are anticipated; this is a security patch. For environments managing multiple operators, consider centralizing or automating CLI distribution to ensure uniform patching.
Detection guidance
Monitor for unexpected child processes spawned by bosh CLI commands, particularly shell invocations or network connections initiated from bosh ssh, bosh scp, or bosh logs sessions. Check operator workstation logs (process creation events, command execution history) for anomalous activity during or immediately after BOSH CLI use. Audit BOSH Director logs for unusual or malformed responses to CLI commands. Additionally, verify that all operators have upgraded to CLI version 7.10.5+ by scanning deployed CLI binaries or querying version output from operator machines.
Why prioritize this
This vulnerability merits immediate patching because it provides direct code execution on operator workstations with a low barrier to exploitation (no special privileges needed, default flags vulnerable). The impact is high—credential and key theft—and the blast radius extends to any system the operator can access. Although the KEV catalog does not currently list this vulnerability and public exploit code is not confirmed to exist, the technical severity (CVSS 7.8 HIGH) and the practical ease of weaponizing a compromised Director make this a top priority for any team running BOSH. Delay creates accumulating risk if Directors are exposed or compromised.
Risk score, explained
The CVSS 3.0 score of 7.8 (HIGH) reflects a local attack vector combined with high confidentiality, integrity, and availability impact. The score is driven by the operator's broad access to the compromised machine and the ability to steal credentials or alter system state. Attack complexity is low (default flags are vulnerable), and no privileges are pre-required on the target workstation, making the barrier to successful exploitation low. The score does not reach CRITICAL because user interaction (running the CLI command) is required; this is not an unauthenticated network attack or silent local privilege escalation.
Frequently asked questions
If our BOSH Director is on a private network, are we still at risk?
Yes. The vulnerability requires an operator to run a BOSH CLI command against a malicious or compromised Director. If your Director is private but an operator's workstation has network access to it, or if an insider compromises the Director, the risk remains. Network isolation reduces attack surface but does not eliminate the threat once a Director is breached.
Does upgrading the CLI to 7.10.5 require any changes to our BOSH Director?
No. The fix is entirely on the CLI side. Your BOSH Director does not need to be updated to benefit from the patch. However, operators must upgrade their local CLI installations.
Can we detect if someone has exploited this on our operators' machines?
Detection is difficult but possible. Look for unexpected processes or network connections spawned during bosh ssh/scp/logs sessions, and review shell command history on operator workstations. BOSH Director logs may show unusual responses or payloads. Proactive detection relies on behavioral monitoring and log aggregation.
What if some of our operators cannot update immediately?
Until they patch, restrict them from running bosh commands against external or untrusted BOSH Directors. If possible, isolate their workstations from network access to BOSH Directors, and require multi-factor authentication and logging for any CLI use. However, patching is the only complete mitigation.
This analysis is based on the official CVE record and vendor advisories current as of the published date. No exploit code is provided or endorsed. Patch version numbers and affected product versions must be verified against the latest vendor security advisory before deployment. Organizations should conduct internal testing before rolling out patches to production environments. SEC.co does not guarantee real-time updates to this analysis; review vendor advisories regularly for the most current guidance. Source: NVD (public-domain), retrieved 2026-08-17. Analysis generated by SEC.co (claude-haiku-4-5).
Related vulnerabilities
- CVE-2025-41265HIGHWaterfall WF-500 TX Host OS Command Injection (CVSS 7.2)
- CVE-2025-41266HIGHWaterfall WF-500 TX Host Command Injection Vulnerability Analysis
- CVE-2025-41267HIGHWaterfall WF-500 TX Host Command Injection Vulnerability
- CVE-2025-41279HIGHOS Command Injection in Waterfall WF-500 RX Host Administration WebUI
- CVE-2025-41281HIGHWaterfall WF-500 OS Command Injection
- CVE-2025-66273HIGHQNAP Command Injection in QTS and QuTS hero
- CVE-2025-66279HIGHQNAP NAS Command Injection – Admin Authentication Required, HIGH Severity
- CVE-2025-69755HIGHNeterbit NW-431F Router RCE and Data Exposure Vulnerability